[comp.unix.misc] ALIAS STRANGE BEHAVIOR

jik@athena.mit.edu (Jonathan I. Kamens) (01/17/91)

  It seems likely to me that your aliases are not taking effect when you run
commands from inside "less" or via rsh because your .cshrc file is set up only
to define the aliases in an interactive shell, and the shells that are spawned
by less and by rsh are not interactive.  That would be my first guess.

  My second guess is that less is using /bin/sh to execute commands instead of
your SHELL, but that would not account for the problems you are having with
rsh.

  My third guess is that less is using "/bin/csh -f" to prevent the
execution of your .cshrc file.  Once again, however, that would not explain
the problems you are having with rsh.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710