delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/05/10:39:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 5 Sep 2001 16:39:36 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: return to the line
Message-ID: <20010905163936.J30380@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin AT cygwin DOT com>,
cygwin AT sources DOT redhat DOT com
References: <PLEELMPCNCACMFNMNKHFEEHMDCAA DOT phubers AT solve-i-t DOT com> <00c001c1360a$07105bd0$af66323f AT amr DOT corp DOT intel DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <00c001c1360a$07105bd0$af66323f@amr.corp.intel.com>; from tprince@computer.org on Wed, Sep 05, 2001 at 05:55:21AM -0700

On Wed, Sep 05, 2001 at 05:55:21AM -0700, Tim Prince wrote:
> 
> ----- Original Message -----
> From: "Patrick Hubers" <phubers AT solve-i-t DOT com>
> To: <cygwin AT sources DOT redhat DOT 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 AT solve-i-t DOT com
> >
> vi sees these differently in cygwin, according to whether the
> file is on a text or a binary mount, AFAIK.

No. vim always opens files in binmode and interprets it by itself.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019