delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/20/10:21:56

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
Message-ID: <3BFA74A7.7090209@cportcorp.com>
Date: Tue, 20 Nov 2001 10:20:07 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Joshua <jle AT post DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Unix/DOS text mode?
References: <000b01c171d5$8a3b4f40$2ae61718 AT bdfrd1 DOT tx DOT home DOT com>

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


Looks to me like "these files must be in binary mode" are "the vim 
script files, )such) as .vimrc."

HTH,
Peter

Joshua wrote:

>     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 <cygwin at cygwin dot com>
> 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 AT bdfrd1 DOT tx DOT home DOT 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 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/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


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