delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/08/01:50:45

From: Don DOT Sharp AT dddandr DOT octacon DOT co DOT uk (Don Sharp)
Subject: Re: Beginner's Question: history command
8 Aug 1997 01:50:45 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33EAD1B7.2F01.cygnus.gnu-win32@dddandr.octacon.co.uk>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19970808000956 DOT 00918840 AT popd DOT ix DOT netcom DOT com>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01 (WinNT; I)
Original-To: Narayan Natarajan <venkman1 AT ix DOT netcom DOT com>
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

As I recall this is because bash attempts to read the file and compares
the result with the stat size. The CR/LFs distort this picture and so
bash decides that something went wrong and it better ignore it.

You probably need to make your mounts binary.

Can't we have default binary mounts please.

Cheers

Don Sharp

Narayan Natarajan wrote:
> 
> Hi,
> 
> My installation of bash does not seem to read the ~/.bash_history although
> it writes to it each time I quit bash. I tried therefore to initiate the
> history by:
> history -r ~/.bash_history
> to see if it loads the existing history and this failed.
> 
> I did read the faq's and man pages etc. nothing seems to have any more info
> on this.
> 
> Any help appreciated.
> 
> Also, I realize that my question may not be of a sufficiently "techie"
> nature to be answered or even read, and so I would like to know if there is
> another mailing group which may be less techie where such unfortunates as
> me may recieve some help.
> 
> Narayan
> | Narayan       _/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
<snip>> -
> 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".

-
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