From: Justin Gullingsrud (justin_at_ks.uiuc.edu)
Date: Sat Jan 19 2002 - 01:46:17 CST

Another way is to use the TkCon shell, available from the VMD
script library. With TkCon you get command completion, syntax
highlighting, and hypertext links to a back trace when an error
occurs in a script.

Assuming you have tkcon.tcl installed in /path/to/tkcon.tcl, here's
a little script to put in your .vmdrc to start TkCon up for you:

proc tkcon { } {
  uplevel #0 source /home/justin/vmd/scripts/tcl/tkcon.tcl
}

Just type tkcon to fire it up.

Justin

On Fri, Jan 18, 2002 at 01:42:54PM -0600, Paul Grayson wrote:
> (Sorry about the double email, Esther - I am attaching the actual
> command to run VMD below and copying this to vmd-l)
>
> My solution to this problem: I modified my UNIX VMD script slightly so
> that it doesn't start up an extra terminal, and I run VMD within an
> emacs shell (type "emacs", then "meta-x shell", then start vmd). In
> the emacs shell, "meta-p" gives you your previous commands, you can
> scroll all the way back to the beginning of the session, etc. I'm
> sure that there are a number of ways to do what you want.
>
> Just replace the lines at the end of your vmd script (usually
> /usr/local/bin/vmd) beginning "if($?DISPLAY)..." with this:
>
> exec /usr/local/lib/vmd/vmd_LINUX $*
>
> By the way, this strategy works for almost all unix programs...
> -Paul
>
>
> John Stone <johns_at_ks.uiuc.edu> writes:
>
> > Dear Esther,
> > I've copied your email to the VMD-L list, as your original
> > email bounced since you are not currently a member of the mailing
> > list. We disallow non-members from posting in order to prevent
> > the spammers from flooding the mailing list. Now on to your question:
> >
> > At present,there's no way to utilize the up arrow for previous
> > commands in VMD. On the Windows platform, VMD has this ability
> > by coincidence, as it is provided by the terminal window we are
> > using to process the VMD commands. On other platforms however,
> > we use 'xterm' which does not provide this feature. We have been
> > discussing rewriting the way VMD uses its command console, and if
> > when we do this, you can be assured that having the arrows recall
> > previous commands will be one of the things we'd like to support.
> > (We want it too!!)
> >
> > Let us know if you have any other questions.
> >
> > Thanks,
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> > > From: Esther Bullitt <bullitt_at_bu.edu>
> > > Subject: up arrow for previous commands
> > >
> > > Hi.
> > >
> > > Is there a way to activate the up arrows, so that
> > > I can repeat a previous command without re-typing it?
> > > (I run mostly in unix, a little on a PC).
> > >
> > > Thanks,
> > > Esther.
> >
> > --
> > 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

-- 
Justin Gullingsrud      3111 Beckman Institute
H: (217) 384-4220       I got a million ideas that I ain't even rocked yet...
W: (217) 244-8946       -- Mike D