delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/21/07:50:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990521114940.10408.rocketmail@web129.yahoomail.com>
Date: Fri, 21 May 1999 04:49:40 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: bash history not restored
To: Victor Ott <vott AT frank DOT de>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Victor Ott <vott AT frank DOT de> wrote:
> Ian Zimmerman wrote:
> > No matter what I do, I can't seem to make bash restore the command
> > history from .bash_history when it starts.  During a session,
> > interactive history mode works; moreover, current history is saved to
> > the file when session ends.  But the next session will again start with
> > empty history :-[
> > 
> > Running Cygwin-b20.1, NT Workstation SP4, FAT fs, text mount.
> 
> I think it's the text mount. As far I've seen, bash imports history
> entries from past bash sessions only when 'binmode' is set in CYGWIN
> env. var., and that's what I am doing. Others might have other
> solutions.

Hmm.  It is noted in the FAQ or documentation however that specifying the
[no]binmode value causes other problems and the suggestion is to not set this
switch in the CYGWIN variable.  The problem is particular to specifying the
file processing mode in the open/fopen statements.  I believe this was fixed
and downloading the Jan 15th snapshot would solve the FAQ stated problem.
===
"Earnie Boyd" <mailto:earnie_boyd AT yahoo DOT com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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