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: <001601c350e9$3e7605b0$200aa8c0@thorin> From: "Carlo Florendo" To: References: Subject: Re: problem with history Date: Wed, 23 Jul 2003 15:08:39 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sanjay, > >> my cygwin bash does not write anything in .bash_history . I think > >> it was working fine before and some changes done by me has caused it > >> to stop updating this file. > >> rxvt does not have this problem. > >> any pointers where could be the problem. > > Close bash by typing exit rather than clicking the Close button. > > > > Chris > > I always do that. > Sanjay To enable history logging in bash, you should set your HISTFILE environment variable to the filename where the history is to be saved. HISTFILE=/.bash_history But bash should do this automatically. For more details, check the bash man page and look for the string bash_history. Best Regards, Carlo ------ Carlo Florendo Astra Philippines Inc. URL: www.hq.astra.ph/resources -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/