From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16267 invoked by alias); 20 Nov 2001 07:21:04 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 16230 invoked from network); 20 Nov 2001 07:21:02 -0000 Received: from unknown (HELO femail48.sdc1.sfba.home.com) (24.254.60.42) by sourceware.cygnus.com with SMTP; 20 Nov 2001 07:21:02 -0000 Received: from jle ([24.23.230.42]) by femail48.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20011120072100.HNIP620.femail48.sdc1.sfba.home.com@jle> for ; Mon, 19 Nov 2001 23:21:00 -0800 Message-ID: <000f01c17193$e7b4c6c0$2ae61718@bdfrd1.tx.home.com> From: "Joshua" To: Subject: Re: Unix/DOS text mode? Date: Mon, 12 Nov 2001 10:38:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-SW-Source: 2001-11/txt/msg00638.txt.bz2 Hmm, I've noticed this difference between the PC version of vim/gvim versus the vim that comes with cygwin. Using the PC version, vim/gvim seems to be able to tell whether you're opening a unix file or a PC file and display/edit appropriately. I tried copying my _vimrc from my PC installation to .vimrc in my home directory, but that doesn't do the trick. I figured it was either a switch in vimrc or something to do with the mounts themselves. BCNU//jle From: "Larry Hall (RFK Partners, Inc)" To: AGalick at attotech dot com, cygwin at cygwin dot com Date: Mon, 19 Nov 2001 16:34:25 -0500 Subject: Re: Unix/DOS text mode? ---------------------------------------------------------------------------- ---- At 04:00 PM 11/19/2001, AGalick@attotech.com wrote: >After an upgrade, I seem to have lost all sanity in vi(m). >I used to see .txt files the same with notepad or vi, but >now in vi every line ends with a blue ^M. I've played >with mount -[t|b] and tried [un and re]installing vim but I'm >stumped. The thing is, it seems to have also disabled all >the nice search string history/recall (I guess because .viminfo >also shows those damned ^M's). What have I done >or what has cygwin done? I guess other stuff got upgraded, >too, but I don't know what. Try setting "fileformat=dos" in your .vimrc file if you always want your files to be treated as a DOS text file. See the help in vim for more info. Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/