info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unrecognized response warnings (solved!)


From: Larry Jones
Subject: Re: unrecognized response warnings (solved!)
Date: Mon, 17 Sep 2001 14:08:50 -0400 (EDT)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]