Rob Helmer writes:
>
> I had this in my .login :
>
> /usr/local/bin/bash -c 'echo -n -e "\\033]0; Dev Server\a"'
>
> ( it sets the title on my xterm to "Dev Server" so I can
> tell where I am when windows are shaded ).
>
> I guess CVS doesn't like it.. ;) I think I can make it
> so CVS does not get this by looking at the env variables,
> possibly TERM or DISPLAY.
Consult your shell documentation for the suggested way of distinguishing
interactive/login shells. In sh-like shells, one can use:
case $- in *i*)
# interactive-only commands go here
;;
esac
-Larry Jones
What's the matter? Don't you trust your own kid?! -- Calvin
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs