Disappearing rxvt Windows -- can anyone else duplicate this problem?

Jason Tishler jason@tishler.net
Mon Aug 27 14:02:00 GMT 2001


On Mon, Aug 27, 2001 at 04:14:55PM -0400, Jason Tishler wrote:
> I will try to isolate further what in .bash_setterm is causing the
> problem.
>
> #
> # $Id: .bash_setterm,v 1.2 2000/04/25 18:05:23 jt Exp $
> #
> 
> #
> # get terminal type
> #
> 
> # Constants
> DEFAULTTERM=dumb
> TERMFILE=~/.bash_lastterm
> 
> # Set default term type
> if [ -f $TERMFILE ]
> then
> 	term=$(cat $TERMFILE)

The above is the offending line.  I'm still scratching my head as to why.

Nevertheless, if I temporarily hardcode this line to:

    term=rxvt

then the automatic logout feature is disabled.

A couple more tidbits:

1. If I add a line of the same form directly to my .bash_profile and
don't dot in .bash_setterm, then the problem still occurs.

2. If I create a small shell script such as the attached, then I cannot
reproduce the problem.

I will try to dig more...

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto.sh
Type: text/x-shellscript
Size: 72 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20010827/05dfc7c9/attachment.bin>


More information about the Cygwin-developers mailing list