VMD-L Mailing List
From: JC Gumbart (gumbart_at_ks.uiuc.edu)
Date: Sun Sep 04 2005 - 02:08:01 CDT
- Next message: Sabuj Pattanayek: "Re: crash on ubuntu linux"
- Previous message: bybaker_at_itsa.ucsf.edu: "Re: vmdtext & Window"
- In reply to: bybaker_at_itsa.ucsf.edu: "Re: vmdtext & Window"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Windows is different in many ways from unix/linux. However, Windows does
also have a path variable. If you right click my computer, go to
Properties, then the advanced tab, you will see a button labeled
'Environment Variables'. Under System variables, there is a 'Path' variable
you can edit. Add to the end of this 'C:/Program Files/University of
Illinois/VMD/', then 'okay' your way out. Now if you open a new command
prompt (from Start -> run 'cmd'), you can type 'vmd' and it should open.
The vmdtext is just an alias for vmd -dispdev text so you could at this
point just type it out like this from now on (Ex: 'vmd -dispdev text -e
ubq.pgn').
Your other option is to create a shortcut. In any Windows folder (including
on the desktop) you can right-click and then select New -> shortcut. Browse
to the location of VMD and then click on vmd.exe. But before clicking Next,
add after the quote -dispdev text (the whole line will read "C:\Program
Files\University of Illinois\VMD\vmd.exe" -dispdev text). Then click next
and name it vmdtext. Now whenever you click on this, it will open vmd in
text mode. To run a script from the 'vmd >' prompt, just type 'source
ubq.pgn'.
Either of these solutions (and probably more likely the second one) should
be useful in a Windows environment.
-----Original Message-----
From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of
bybaker_at_itsa.ucsf.edu
Sent: Saturday, September 03, 2005 10:06 PM
To: galathil_at_gmail.com
Cc: vmd-l_at_ks.uiuc.edu
Subject: vmd-l: Re: vmdtext & Window
Hello,
Thank you very much for your suggestions.
> This likely occurs because vmd is not in your path. Try 'which vmd' >
in the Terminal. If it says 'vmd: Command not found.' you'll need to >
add the directory where vmd is located to your PATH environment
> variable. For example, if vmd is in /usr/local/bin do:
>
> % setenv PATH "${PATH}:/usr/local/bin"
>
> ('%' is your shell's prompt)
>
I open TkCo from VMD (VMD 1.8.3 in Window XP). And type as the aboves.
Here are what I get:
-----
loading history file ... 35 events added
Main console display active (Tcl8.4.1 / Tk8.4.1)
(Desktop) 36 % which vmd
{C:/Program Files/University of Illinois/VMD/vmd.EXE}
(Desktop) 37 % setenv PATH "${PATH}:/Program Files/University of
Illinois/VMD/vmd.EXE"
can't read "PATH": no such variable
(Desktop) 38 % setenv vmdtext "${vmdtext}:/Program Files/University of
Illinois/VMD/vmd.EXE"
can't read "vmdtext": no such variable
(Desktop) 39 % setenv vmdtext "${vmdtext}:/Program Files/University of
Illinois/VMD"
can't read "vmdtext": no such variable
(Desktop) 40 % which .cshrc
.cshrc: command not found
(Desktop) 41 % which cshrc
cshrc: command not found
(Desktop) 42 %
-----
First question: why VMD is loading all the history files? This only
happens with the Window system. In Mac, I didn't get this. It starts from
'1%'. Is it a bug? Is there a way that I can fix it?
Second question: the commands didn't work. Do they only work for unix
system? Since I use window system. Or there are some typing problems with
my commands?
Third question: I look at the fils under VMD. There are a lot of folders
and files. If I need to create a file of '.cshrc', where should I put it?
Is it fine to put it under the main VMD? How should I name it: '.cshrc'
or 'cshrc'? Will it be a empty fold? How does it work?
Thanks for being patient to me.
Regards
Bo
- Next message: Sabuj Pattanayek: "Re: crash on ubuntu linux"
- Previous message: bybaker_at_itsa.ucsf.edu: "Re: vmdtext & Window"
- In reply to: bybaker_at_itsa.ucsf.edu: "Re: vmdtext & Window"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]