Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Patrick Hubers" To: Subject: RE: return to the line Date: Wed, 5 Sep 2001 13:43:35 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <200109051006.MAA25778@cabs40.col.bsf.alcatel.fr> 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 Solve IT Postbus 5063 3502 JB Utrecht Nederland -- 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/