delorie.com/archives/browse.cgi | search |
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: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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: | <20010827170238.L808@dothill.com> |
Mail-Followup-To: | cygwin-developers AT cygwin DOT com |
Mime-Version: | 1.0 |
In-Reply-To: | <20010827161455.K808@dothill.com> |
User-Agent: | Mutt/1.3.18i |
--R5Oc8gvpjpH8Nc6s 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 > 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 --R5Oc8gvpjpH8Nc6s Content-Type: application/x-sh Content-Disposition: attachment; filename="auto.sh" #!/bin/bash TERMFILE=~/.bash_lastterm term=$(cat $TERMFILE) echo $term --R5Oc8gvpjpH8Nc6s--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |