you need set fileformat=dos. you may try removing the ctrl-m's like this too for a session :%s/^M//g where ^ is produced by typing ctrl-v. vipin ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 2:30 AM Subject: Unix/DOS text mode?
> After an upgrade, I seem to have lost all sanity in vi(m). > I used to see .txt files the same with notepad or vi, but > now in vi every line ends with a blue ^M. I've played > with mount -[t|b] and tried [un and re]installing vim but I'm > stumped. The thing is, it seems to have also disabled all > the nice search string history/recall (I guess because .viminfo > also shows those damned ^M's). What have I done > or what has cygwin done? I guess other stuff got upgraded, > too, but I don't know what. > > Thanks, > Albert Galick > > > -- > 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/ >
------------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail from your records. ----------------------------------------------------------------------------------------------------------------------
-- 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/