> 
> Do the user's shell scripts output something to stdout? This
> would mess with the filexfer-protocol.
> 
> (for example,"echo foobar" in .cshrc would do something like this.)
> 

There is an easy way telling a .cshrc if it's called as an interactice shell or not.

$prompt not set       -- non-interactive shell, test $?prompt.
$prompt set but == "" -- .cshrc called by the which(1) command.
$prompt set and != "" -- normal interactive shell.

Simply tell your users to include the line

"if ($?prompt == 0) exit"

or something like this in their .cshrc-files if they have any problems because of 
output to stdout

/Stefan

Reply via email to