rsh eats # character

kar at ritcv.UUCP kar at ritcv.UUCP
Thu Apr 12 09:38:12 AEST 1984


This occurs when your shell on the remote machine is csh.  The reason it occurs
is that csh is invoked with the -c option to process a single command.  In
this mode, it does not think it is "interactive" (e.g. it does not read .login,
it thinks # begins a comment) and so behaves differently than when you really
log in to the remote machine and type the command in by hand.  The fix to this
is not in rsh but in csh, so that the -c option looks at the command in the
same way an interactive shell would.

	Ken Reek, Rochester Institute of Technology
	{allegra,seismo}!rochester!ritcv!kar



More information about the Comp.bugs.4bsd.ucb-fixes mailing list