From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25305 invoked by alias); 11 Jul 2002 16:02:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25298 invoked from network); 11 Jul 2002 16:02:10 -0000 Received: from unknown (HELO ns.helixdigital.com) (68.15.28.22) by sources.redhat.com with SMTP; 11 Jul 2002 16:02:10 -0000 Received: from ns.helixdigital.com (alcocer@localhost [127.0.0.1]) by ns.helixdigital.com (8.12.2/8.12.2) with ESMTP id g6BG2Afs019736 for ; Thu, 11 Jul 2002 09:02:10 -0700 (PDT) Received: (from alcocer@localhost) by ns.helixdigital.com (8.12.2/8.12.2/Submit) id g6BG0sNp031288 for cygwin@cygwin.com; Thu, 11 Jul 2002 09:00:54 -0700 (PDT) Date: Thu, 11 Jul 2002 09:29:00 -0000 From: Dario Alcocer To: cygwin@cygwin.com Subject: Re: close cygwin window - bash doesnt save history Message-ID: <20020711090054.B9120@ns.helixdigital.com> References: <20020711062601.15635.qmail@email.com> <5.1.0.14.2.20020711082822.02b8e770@pop3.cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.1.0.14.2.20020711082822.02b8e770@pop3.cris.com>; from rrschulz@cris.com on Thu, Jul 11, 2002 at 08:48:54AM -0700 X-SW-Source: 2002-07/txt/msg00948.txt.bz2 On Thu, Jul 11, 2002 at 08:48:54AM -0700, Randall R Schulz wrote: > Dario, in investigating why Shane might not be having success with your > technique, I tried it both with and without the presence of the "tty" > option in the CYGWIN environment variable. (Without is my preferred > operating mode.) I discovered that the SIGHUP handler is _not invoked_ when > the "tty" option _is_ used. (My hypothesis had been the opposite, > actually.) I assume this means that the SIGHUP itself is not delivered when > the close box is clicked and "tty" mode is in effect. I'd say try putting the logout command in your SIGHUP handler and see if it behaves any differently. -- Dario Alcocer -- Sr. Software Developer, Helix Digital Inc. alcocer@helixdigital.com -- http://www.helixdigital.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/