This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
- To: cygwin-developers at cygwin dot com
- Subject: Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
- From: Jason Tishler <jason at tishler dot net>
- Date: Mon, 27 Aug 2001 17:02:38 -0400
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
auto.sh