Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20011122234929.0978d590@imap.local.mscha.com> X-Sender: ml AT imap DOT local DOT mscha DOT com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 22 Nov 2001 23:52:25 +0100 To: Corinna Vinschen From: Michael Schaap Subject: Re: Unix/DOS text mode? In-Reply-To: <20011122234347.O27931@cygbert.vinschen.de> References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011122232538 DOT 03a2c208 AT imap DOT local DOT mscha DOT com> <20011122190704 DOT 96085 DOT qmail AT web13502 DOT mail DOT yahoo DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011122225059 DOT 036d77f0 AT imap DOT local DOT mscha DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011122232538 DOT 03a2c208 AT imap DOT local DOT mscha DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_47871425==_" --=====================_47871425==_ Content-Type: text/plain; charset="us-ascii"; format=flowed At 23:43 22-11-2001, you wrote: >I'm all with it but please drop the usage of __CYGWIN32__. It's >depricated. I will send a patch to vim-dev which drops all other >__CYGWIN32__ in favour of __CYGWIN later. Okay. I saw three different Cygwin checks in the header files, so I decided to go with the safest one. Here's a new patch. - Michael -------------------------8<------------------------- --- ORIG/option.h Thu Nov 22 23:10:21 2001 +++ option.h Thu Nov 22 23:49:07 2001 @@ -67,7 +67,11 @@ # else # define DFLT_FF "unix" # define DFLT_FFS_VIM "unix,dos" -# define DFLT_FFS_VI "" +# ifdef __CYGWIN__ +# define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */ +# else +# define DFLT_FFS_VI "" +# endif # define DFLT_TEXTAUTO FALSE # endif #endif ------------------------->8------------------------- --=====================_47871425==_ Content-Type: application/octet-stream; name="ff_patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ff_patch" LS0tIE9SSUcvb3B0aW9uLmgJVGh1IE5vdiAyMiAyMzoxMDoyMSAyMDAxCisrKyBvcHRpb24uaAlU aHUgTm92IDIyIDIzOjQ5OjA3IDIwMDEKQEAgLTY3LDcgKzY3LDExIEBACiAjIGVsc2UKICMgIGRl ZmluZSBERkxUX0ZGCSJ1bml4IgogIyAgZGVmaW5lIERGTFRfRkZTX1ZJTQkidW5peCxkb3MiCi0j ICBkZWZpbmUgREZMVF9GRlNfVkkJIiIKKyMgIGlmZGVmIF9fQ1lHV0lOX18KKyMgICBkZWZpbmUg REZMVF9GRlNfVkkJInVuaXgsZG9zIgkvKiBDeWd3aW4gYWx3YXlzIG5lZWRzIGZpbGUgZGV0ZWN0 aW9uICovCisjICBlbHNlCisjICAgZGVmaW5lIERGTFRfRkZTX1ZJCSIiCisjICBlbmRpZgogIyAg ZGVmaW5lIERGTFRfVEVYVEFVVE8JRkFMU0UKICMgZW5kaWYKICNlbmRpZgo= --=====================_47871425==_ Content-Type: text/plain; charset="us-ascii"; format=flowed -- 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 --=====================_47871425==_ Content-Type: text/plain; charset=us-ascii -- 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/ --=====================_47871425==_--