This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Using vi in UNIX mode instead of DOS mode
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Reid Thompson <Reid dot Thompson at ateb dot com>
- Cc: "Auteria Wally Winzer Jr." <wwinzer at yahoo dot com>, cygwin at cygwin dot com
- Date: Mon, 21 Mar 2005 13:39:42 -0500 (EST)
- Subject: RE: Using vi in UNIX mode instead of DOS mode
- References: <F71C0DC6B4FD3648815AAA7F969E35290D978C@sr002-2kexc.ateb.com>
- Reply-to: cygwin at cygwin dot com
On Mon, 21 Mar 2005, Reid Thompson wrote:
> Auteria Wally Winzer Jr. wrote:
> > Is there anyway of telling vi to use UNIX-mode editing
> > as supposed to DOS-mode? I want to avoid all the
> > "^M"'s when transferring files from Windows to UNIX,
> > even though I use dos2unix to remove them, I want to just simply
> > avoid that step.
> >
> > Any and all assistence is grately appreciated.
> >
> > Regards,
> > Auteria W. Winzer Jr.
>
> :help fileformat
>
> reid
...or use binary mounts.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/