In article <BURGESS.95Dec4115455@storm.qcktrn.com> burgess@qcktrn.com (Lewis Burgess) writes:
[...snip...]
and my .cshrc contains:
stty erase '^h' intr '^?' werase '^w' kill '^u'
Anyone know why am I getting the following error?
% rsh vader ypwhich
stty: : Invalid argument
NOTE: The ypwhich does return a correct value. It appears that my
environment is just how I want it, but I get this error and want to fix
whatever is causing it. My machine is Solaris 2.4 and vader is Solaris
2.4.
Thanks to Trip Martin, the solution is:
The problem is that with rsh, there's no tty on stdin, which is what stty
is expecting. The fix is:
test -t 0 && stty ...
-Lewis
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:35 CDT