delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/08/20:41:05

From: tibor AT alteon DOT com (Tibor Polgar)
Subject: Re: Bash history?
8 Sep 1997 20:41:05 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9709082036.AA08016.cygnus.gnu-win32@mtlyell.acteon.com>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19970904163702 DOT 00995c80 AT mailhost>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <3.0.1.32.19970904163702.00995c80@mailhost>
X-Mailer: VM 6.31 under 20.2 XEmacs Lucid
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Andy Piper writes:
 > 2) History is not preserved between sessions. Although bash 
 > writes out a history file - .bash_history - correctly. It is not read when
 > I start a new bash. Nor can it be read manually. This means my history is 
 > always liimited to the current session which is annoying.

Looks like a bash bug.  Regardless of whether mounted as binary or text, bash
insists on writing the history file entries as cr/lf.  But on reading the
history file it hits the first cr and "beep" (no more history).

Tibor
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019