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" To: "Ian T Zimmerman" , Subject: RE: .bashrc strange behavior Date: Mon, 19 Jul 1999 20:57:03 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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