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 <itz@lbin.com> wrote:
-8<-
> So, HOW do I make history work AND have text opens/fopens by default? 

The binmode option of the CYGWIN environment variable only controls pipes and
redirections.  If you reset the CYGWIN variable after you start bash then it
only will change the mode of pipes.  Your opens/fopens will still default to
text mode.

> Is this a lose/lose situation?  After all, text mount is still the
> default behavior, so this would make history not work out of the box. 

Don't know yet how to workaround this.  I'll try to tinker this weekend.  But
probably will be Monday before I get back to it.  What I'm thinking currently
is trying different options with the ~/.inputrc file.

> (I can't test that because my setup has gotten too far outside the box.
> :)
> 
> Text mount is absolutely necessary for me; without it, I can't use Emacs
> (or any other Cygwin program) to handle non-Cygwin originated files.

Yep.  Me too! *;^)
===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.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@sourceware.cygnus.com


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