This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash history not restored


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.

Victor
-- 
DISCLAIMER: The views expressed in this message are my own and do not
            necessarily represent the official views of my employer.
--
Victor Ott                                      FRANK DATENTECHNIK GmbH
Tel/Fax +49 911 6236-111/-211                   Aalener Str. 48
MailTo:vott@frank.de                            90441 Nürnberg, Germany

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]