This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: vim 6.0 & funny ^M


Thanks for the reply, do you know if:

1) If setting fileformat="dos", will write files as dos files with <CR><NL>?
2) If I wanted to have the files written as unix files with the EOL as just
<NL>, 
   fileformat should be "unix".  
3) is there an easy way I can convert a file within vim from <CR><NL> to
<NL>
4) Is there a dos2unix for cygwin & 

Christopher Chan 
Icarian 
555 N. Mathilda Ave 
Sunnyvale, CA  94086 
tel/fax: 408-878-6023 
chris@icarian.com
http://www.icarian.com  
  



-----Original Message-----
From: Kevin Schnitzius [mailto:kevin.schnitzius@citrix.com]
Sent: Friday, September 28, 2001 10:05 AM
To: 'Chris@Icarian.com'; cygwin@cygwin.com
Subject: RE: vim 6.0 & funny ^M


export EXINIT="set ff=dos"

Kevin

 -----Original Message-----
From: 	Chris@Icarian.com [mailto:Chris@Icarian.com] 
Sent:	Friday, September 28, 2001 12:48
To:	cygwin@cygwin.com
Subject:	vim 6.0 & funny ^M

After updating to vim 6.0, all my files now show a ^M character at the end
of each line.  It was not the case with vim 5.  

How do I get rid of the ^M, or at least to turn off the display of that
character...
it does not show up in my other editors as well....

Christopher Chan 
Icarian 
555 N. Mathilda Ave 
Sunnyvale, CA  94086 
tel/fax: 408-878-6023 
chris@icarian.com
http://www.icarian.com  
  

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]