Mail Archives: cygwin-developers/2001/08/27/17:02:11

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 27 Aug 2001 17:02:38 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
Message-ID: <>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
Mime-Version: 1.0
In-Reply-To: <>
User-Agent: Mutt/1.3.18i

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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
> 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:


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...


Content-Type: application/x-sh
Content-Disposition: attachment; filename=""


term=$(cat $TERMFILE)
echo $term


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019