return to the line

Tim Prince tprince@computer.org
Wed Sep 5 05:55:00 GMT 2001


----- Original Message -----
From: "Patrick Hubers" <phubers@solve-i-t.com>
To: <cygwin@sources.redhat.com>
Sent: Wednesday, September 05, 2001 4:43 AM
Subject: RE: return to the line


> Jorge Goncalvez wrote:
>
> > Hi , I made a port of a program from linux to Windows with
cygwin .
> > This program writes some logs informations in the
> > cygwin_syslog.txt But instead
> > of having a return to the line it haves a strange character.
> >
> > Why? I opened it with notepad but if I open it with vi these
character
> > disappear.
>
> Notepad (as do many Windows programs) expects a CR-LF (carriage
return -
> line feed) combination to indicate end-of-line, whereas
Linux/Unix etc. only
> use CR. Vi is, and any decent editor on Windows should be,
capable of
> interpreting both types of end-of-line. This is not Cygwin
specific, btw, so
> you might wanna follow up on a more appropriate list.
>
> _____________________
> Patrick Hubers
> phubers@solve-i-t.com
>
vi sees these differently in cygwin, according to whether the
file is on a text or a binary mount, AFAIK.


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



More information about the Cygwin mailing list