delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/04/18:41:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3D4DADA3.5060106@upb.de>
Date: Mon, 05 Aug 2002 00:41:39 +0200
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: mixed textfile-mode?
X-OriginalArrivalTime: 04 Aug 2002 22:42:05.0296 (UTC) FILETIME=[28474700:01C23C08]

hi,

i thought about introducing a "mixed" textmode - that means no 
converting when writing (this will result in normal UNIX lineendings) 
but CRLF to LF conversion when reading (which maked windows-files 
acceptable - UNIX lineendings would be accepted too, because an LF 
doesn't have to ber converted).

there is just one case i worry about:

writing CRLF with conversation will result in CRCRLF and will be read as 
CRLF.

in the mixed mode CRLF would be written as CRLF, but read as LF.
perhaps writing CRCRLF in this case would be a clever idea.


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