VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Aug 30 2002 - 09:58:28 CDT
- Next message: Paul Grayson: "Re: from points to a surface ?"
- Previous message: Marc Baaden: "Re: Getting history and file completion to work in vmd console ?"
- In reply to: Marc Baaden: "Getting history and file completion to work in vmd console ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear Marc,
I wanted to add to Justin's suggestions regarding TkCon, that's
probably what you _really_ want to use, but I've added some suggestions
below for the items you asked about:
VMD doesn't make use of ".tcshrc" files, you would instead want
to add those lines to ".vmdrc", which is the file that VMD reads
on startup if it exists. You can get a template .vmdrc by copying
one from your vmd installation (usually in /usr/local/lib/vmd/.vmdrc ).
If you add that to .vmdrc it should work if you have the "tclreadline"
package installed somewhere where VMD can find it. Our default build of
VMD does not have this package, so you'll need to add it somewhere.
John
On Fri, Aug 30, 2002 at 10:02:47AM +0100, Marc Baaden wrote:
>
> Hi,
>
> I was wondering whether there is an easy way to get file
> completion and history functions (cursor up/down) to work
> in the tcl console.
>
> For a simple tclsh it works when I add
> if {$tcl_interactive} {
> package require tclreadline
> ::tclreadline::Loop
> }
>
> to my .tcshrc, but that has no effect on vmd. Maybe I just
> need to know the correct place where to put this in one of
> the vmd tcl scripts ?
>
> Marc Baaden
>
> --
> Dr. Marc Baaden - Laboratory of Molecular Biophysics, Oxford University
> mailto:baaden_at_smplinux.de - ICQ# 11466242 - http://www.marc-baaden.de
> FAX/Voice +49 697912 39550 - Tel: +44 1865 275380 or +33 609 843217
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Paul Grayson: "Re: from points to a surface ?"
- Previous message: Marc Baaden: "Re: Getting history and file completion to work in vmd console ?"
- In reply to: Marc Baaden: "Getting history and file completion to work in vmd console ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]