delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/30/08:38:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20020330143329.00b03cc0@imap.local.mscha.org>
X-Sender: ml AT imap DOT local DOT mscha DOT org (Unverified)
Date: Sat, 30 Mar 2002 14:37:43 +0100
To: <cygwin AT cygwin DOT com>
From: Michael Schaap <cygwin AT mscha DOT org>
Subject: Re: VI and DOS Mode
In-Reply-To: <4.3.1.2.20020329154253.024bcea8@pop.ma.ultranet.com>
References: <22864B2E2AF315419BD93C7CE9A264874ED16E AT sunny DOT interasset DOT co m>
Mime-Version: 1.0

At 21:45 29-3-2002, Larry Hall (RFK Partners, Inc) wrote:
>At 03:36 PM 3/29/2002, Gaurav Khanna wrote:
> >Hi,
> >
> >I installed the cygwin bash shell along with the VIM editor on windows.
> >Now the problem is that it opens up the files in UNIX mode and not in
> >DOS mode. And it saves that way too. I have tried reinstalling the whole
> >thing including the vim editor and specifying DOS as the default file
> >type but to no avail. What am I missing?
> >Initially I had specified UNIX as the default type but since then I have
> >done a lot of I installations trying to get DOS as the default.
> >Please help.
>
>
>Sorry, I don't have the problem here, even with binary mount points.
>Setting fileformat=dos allows me to read and write files in DOS mode
>whenever I want with vim.  Perhaps you need to do a little more debugging
>on your end.

Or just create an (empty) file .vimrc in your home directory.  (This forces 
vi-compatible mode to be turned off.)

When Corinna gets back from vacation (who told her she could get a vacation 
- didn't she have one last year?  ;-) ), I'm sure she'll soon upgrade the 
vim package to 6.1, which will solve this problem once and for all.  (It 
will detect UNIX and DOS files even in vi-compatible mode.)

  - Michael

-- 
     I always wondered about the meaning of life.   So I looked it
     up in the dictionary under "L" and there it was - the meaning
     of life.  It was not what I expected.                  - Dogbert 


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

- Raw text -


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