.bashrc strange behavior

Ian T Zimmerman itz@lbin.com
Mon Jul 19 16:10:00 GMT 1999


>>>>> "Earnie" == Earnie Boyd <earnie_boyd@yahoo.com> writes:

    Earnie> This problem is related to the text vs binary issue.  The
    Earnie> user has the files mounted in binary mode.  The .bashrc
    Earnie> has \r\n (or text mode) line endings.  The \r is being
    Earnie> input into the buffer instead of removed causing the
    Earnie> problems you are seeing.

    Earnie> This is the reason I preach leaving the default text
    Earnie> mounts and properly porting the code specifying the
    Earnie> processing mode.

... but of course this wouldn't happen were .bashrc created by a
Cygwin program.  They probably created it with Notepad or something.
IMHO there should be a fat warning about this in the User Guide.  It
is mentioned there already, but too softly.

:-)

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324, San Francisco, California 94107


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



More information about the Cygwin mailing list