delorie.com/archives/browse.cgi | search |
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 |
From: | "Suhaib M. Siddiqi" <ssiddiqi AT ipass DOT net> |
To: | "Ian T Zimmerman" <itz AT lbin DOT com>, <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: .bashrc strange behavior |
Date: | Mon, 19 Jul 1999 20:57:03 -0400 |
Message-ID: | <LOBBLPGIHMIEGBEAFDMCAEFHCAAA.ssiddiqi@ipass.net> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
In-Reply-To: | <87gc1lmtwf.fsf@amazon.lbin.com> |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
Importance: | Normal |
> > >>>>> "Earnie" == Earnie Boyd <earnie_boyd AT yahoo DOT 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. > > :-) > better to leave the defaults, that will save you a lot of time on which editor to use Notepad or vi. Suhaib > -- > Ian Zimmerman > Lightbinders, Inc. > 2325 3rd Street #324, San Francisco, California 94107 > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |