delorie.com/archives/browse.cgi | search |
You know about the -tn switch to rxvt don't you? Earnie. P.S.: I occasionally see a race condition that will lock up the `rxvt->bash --login' process. I don't have time to debug currently, sorry. uname -a: CYGWIN_NT-4.0 DU216771 1.3.3(0.43/3/2) 2001-08-21 13:52 i686 unknown Jason Tishler wrote: > > 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.shName: auto.sh > Type: Bourne Shell Program (application/x-sh) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |