From: Christian Fufezan (christian_at_fufezan.net)
Date: Sat Oct 28 2006 - 13:38:10 CDT

Dear Jeff,

does it work ?

anyway - here is what I did to get vmd is launchable from the command
line

1) remove the space in the in the VMD file name (i.e. VMD1.8.5)

2) add the following into your ~/.bash_profile
     vmdappdir='/Applications/VMD1.8.5.app/Contents' # (change it
to where vmd lies, obviously ;))
     alias vmd='"$vmdappdir/Resources/VMD.app/Contents/MacOS/VMD" $*'

ahoi

cf.

Christian Fufezan
Physics Department J419
City College of New York
160 Convent Ave
New York, NY 10031

Tel. ++1-212-650-6872
Fax. ++1-212-650-6940

www.fufezan.net

On 21.10.2006, at 14:07, Jeffrey A Tibbitt wrote:

>
> Dear VMD OSX Users,
>
> How do you use VMD's batch mode so that it can accept command line
> arguments such as:
>
> vmd -e vmd.inp
>
> I've added the "/Applications/VMD 1.8.5.app/Contents/MacOS" folder
> to my
> PATH environment variable and copied the file 'startup.command' in
> that
> directory to a file called 'vmd' in the same directory. Should I
> be doing
> this another way or is that ok?
>
> Jeff Tibbitt
> jtibbitt_at_odu.edu
>