Michael Schwern wrote:

!> $ unzip :== mydisk:[mydir]unzip.alpha_exe
!> $ unzip whatever
!
!That worked.  Where can I put all these aliases so I don't have to type
them
!in every time I login?

I would recommend putting them into the file
login.com in the directory that you log in to
(what you would call your $HOME directory on Unix,
although $HOME is not necessarily defined on VMS).
Provided you have a useful text editor just edit
login.com.  Note the funny thing about all lines
starting with the '$' character that you'll need to
keep in there.  As a foreign command I'd think
you'd also need a dollar sign hence a line:

$ unzip :== $mydisk:[mydir]unzip.alpha_exe

should work.  If you modify it extensively
you might want to save a copy of your login.com
on another system should the user disk get
wiped out on the test drive machine once again.

In order to make use of a change to login.com
you can either execute it with:

   @login

or simply log out then log back in.  Since it is
possible to make sufficient mistakes in your
login.com to render it impossible to log back
in to the system testing via a run of @login is
recommended.  If you get stuck you could ask on
vmsperl or perhaps try to diagnose problems with
dcl check from:

http://www.openvms.compaq.com/freeware/freeware40/dcl_check/dcl_check.com

which can be used to check a login.com via:

   @dcl_check login.com

In case the analogy is not already obvious
the sys$login:login.com file is analogous to
a personal shell rc file such as $HOME/.tcshrc
or $HOME/.profile on Unix.

Peter Prymmer


Reply via email to