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: .bashrc strange behavior


>>>>> "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


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