Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020710132952.55896.qmail@web13104.mail.yahoo.com> Date: Wed, 10 Jul 2002 06:29:52 -0700 (PDT) From: Barry Buchbinder Subject: RE: close cygwin window - bash doesnt save history To: info AT litepc DOT com Cc: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Solution: Don't hit the 'X' button. Don't get out of bash by turn off the power, either. Use "logout" or "exit". Bash obviously does not save history after each command; it saves history when it shuts down. Hitting the 'X' button kills it without going through the normal shut down sequence. - Barry -----Original Message----- From: Shane Brooks [mailto:info AT litepc DOT com] Sent: Wednesday, July 10, 2002 7:51 am To: cygwin AT cygwin DOT com Subject: close cygwin window - bash doesnt save history I've been using cygwin for a while now on Windows 2000 and now Windows XP - I have updated to the latest version of Cygwin. If I type "logout", the BASH history is saved and the window closes. If I close the cygwin window by hitting the 'X' button in the windows titlebar the Bash History is not saved though I wish it was. - is there a solution to this minor annoyance? Shane __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.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/