From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7153 invoked by alias); 20 Nov 2001 15:10:54 -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 7118 invoked from network); 20 Nov 2001 15:10:50 -0000 Received: from unknown (HELO femail38.sdc1.sfba.home.com) (24.254.60.32) by sourceware.cygnus.com with SMTP; 20 Nov 2001 15:10:50 -0000 Received: from jle ([24.23.230.42]) by femail38.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20011120151050.IIOQ5474.femail38.sdc1.sfba.home.com@jle> for ; Tue, 20 Nov 2001 07:10:50 -0800 Message-ID: <000b01c171d5$8a3b4f40$2ae61718@bdfrd1.tx.home.com> From: "Joshua" To: Subject: Re: Unix/DOS text mode? Date: Tue, 13 Nov 2001 06:34: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/msg00692.txt.bz2 Corinna, Thanks for the enlightenment. Regarding your statement, 'These files must be in binary mode on Cygwin regardless of the bin/textmode of the underlying mount point.', what files are you referring to? I would understand if the Cygwin files, ie config files in /etc need to be binary, but are you saying that Cygwin needs to deal with all files (like /cygwin/c/autoexec.bat) in a binary mode? Or could the vim packaged with Cygwin be set to autodetect the binary/text type? My understanding of how vim/gvim worked was that it would detect the binary/text type and preserve the type when you edit save the file. BCNU//jle From: Corinna Vinschen To: cygwin at cygwin dot com Date: Tue, 20 Nov 2001 10:28:25 +0100 Subject: Re: Unix/DOS text mode? References: <000f01c17193$e7b4c6c0$2ae61718@bdfrd1.tx.home.com> ---------------------------------------------------------------------------- ---- On Tue, Nov 20, 2001 at 01:20:59AM -0600, Joshua wrote: > 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 The Cygwin vim has the same ability to recognize Unix/DOS files as the Windows native version. After a discussion with Bram Moolenaar he decided not to add that recognition to the vim script files as .vimrc. These files must be in binary mode on Cygwin regardless of the bin/textmode of the underlying mount point. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin@cygwin.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/