delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/21/13:42:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 21 Mar 2005 13:42:34 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Using vi in UNIX mode instead of DOS mode
Message-ID: <20050321184233.GA11987@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <F71C0DC6B4FD3648815AAA7F969E35290D978C AT sr002-2kexc DOT ateb DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0503211339150 DOT 8708 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0503211339150.8708@slinky.cs.nyu.edu>
User-Agent: Mutt/1.5.6i

On Mon, Mar 21, 2005 at 01:39:42PM -0500, Igor Pechtchanski wrote:
>On Mon, 21 Mar 2005, Reid Thompson wrote:
>
>> Auteria Wally Winzer Jr. wrote:
>> > Is there anyway of telling vi to use UNIX-mode editing
>> > as supposed to DOS-mode? I want to avoid all the
>> > "^M"'s when transferring files from Windows to UNIX,
>> > even though I use dos2unix to remove them, I want to just simply
>> > avoid that step.
>> >
>> > Any and all assistence is grately appreciated.
>> >
>> > Regards,
>> > Auteria W. Winzer Jr.
>>
>> :help fileformat
>>
>> reid
>
>...or use binary mounts.

I think vim will still "help" you even if you have binary mounts though,
won't it?  I just noticed that one of the files that I was editing on
UNIX had CRLF line endings and vim was nice enough to mask that fact for
me.  I would expect binary mounts to behave similarly.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019