From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Sep 06 2005 - 09:58:37 CDT

Hi,
  The TkCon .history file is normally located in your home directory
(unix) or in the "documents and settings" folder for your user (Windows).
The braces {} are a Tcl thing, they prevent the interpreter from trying
to evaluate the contents of the braces. See www.tcl.tk for more info on that.

  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Sep 06, 2005 at 10:55:50PM +0800, Jian Zou wrote:
> Hi John,
>
> Thanks for the information.
>
> I've added into my .vmdrc by a similar suggestion
> after idle {menu tkcon on}
>
> It works now!
>
> btw, I noticed that when tkconsole starts, it will load a history file
> (containing history commands??).
> I'm wondering where this history file is located.
>
> Another question is about the {} used above.
> During my own scripting in vmd, I also found that sometimes this {} is very
> useful, such as mol selection {name "C.*"}.
> I do not quite understand when and how to use it. I got the above usage of
> {} just from the state file.
> Is it needed by vmd or by the tcl/tk?
>
> Please forgive me if I made some obvious mistake.
>
> Thank you so much again for your kindly help!
>
>
> Regards,
>
> Jian Zou
>
>
> ----- Original Message -----
> From: "John Stone" <johns_at_ks.uiuc.edu>
> To: "Jian Zou" <zouj01_at_mails.tsinghua.edu.cn>
> Cc: "VMD Mailing List" <vmd-l_at_ks.uiuc.edu>
> Sent: Tuesday, September 06, 2005 22:36
> Subject: Re: vmd-l: how to start vmd with "menu tkcon on"?
>
>
>
> Hi,
> Try adding this to the end of your .vmdrc
> after idle menu tkcon on
>
> If you don't already have a .vmdrc file, copy it from
> /usr/local/lib/vmd/.vmdrc area on a Unix machine, or from
> "c:\program files\university of illinois\vmd\vmd.rc" on Windows.
>
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Tue, Sep 06, 2005 at 03:37:37PM +0800, Jian Zou wrote:
> > Hi all,
> >
> > I'd like to start vmd with tk console.
> >
> > I put "menu tkcon on" into my .vmdrc and then start vmd, but tk console
> > does
> > not appear with vmd.
> >
> > Does someone know how to deal with this?
> >
> > Thanks in advance!
> >
> > btw, I'm using vmd 1.8.3 on SUSE 9.3.
> >
> >
> > Regards,
> >
> > Jian Zou
>
> --
> 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

-- 
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