This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: close cygwin window - bash doesnt save history
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/