delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Wed, 21 Nov 2001 10:28:22 +0100 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Unix/DOS text mode? |
Message-ID: | <20011121102822.E21630@cygbert.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <000701c1722f$803d1280$2ae61718 AT bdfrd1 DOT tx DOT home DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <000701c1722f$803d1280$2ae61718@bdfrd1.tx.home.com>; from jle@post.com on Tue, Nov 20, 2001 at 07:54:47PM -0600 |
On Tue, Nov 20, 2001 at 07:54:47PM -0600, Joshua wrote: > I think I'm being a bit dense on this issue for which I apologize. What > option needs to be set to have the Cygwin-packaged vim autodetect > binary/text files and edit/save accordingly? My .vimrc is a binary file, > BTW. Thanks and BCNU//jle Nothing. It should work automagically. Which it does on my system. I've just tested it explicitely since your postings made me nervous. However, the unix/dos file recognition works based on examining only the first line, AFAIK, so if the first line has only a LF instead of an CRLF for some reason, vim treats the file as unixy. Then you see the ^M beginning with line 2. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |