delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/03/05:56:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Sun, 03 Oct 1999 11:45:33 +0200
From: Rabbe Fogelholm <Rabbe DOT Fogelholm AT ellemtel DOT se>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Making Cygwin write DOS style text files
Message-ID: <2648262902.938951133@isdn194.ellemtel.net>
In-Reply-To: <19991003040404.4751.rocketmail@web127.yahoomail.com>
Originator-Info: login-id=eubrafo; server=mail.pcs.ellemtel.net
X-Mailer: Mulberry (Win32) [1.4.4, s/n U-300918]
MIME-Version: 1.0

--On Saturday, October 02, 1999, 9:04 PM -0700 Earnie Boyd
<earnie_boyd AT yahoo DOT com> wrote:

> --- Glenn Spell <glenn AT gs DOT fay DOT nc DOT us> wrote:
>> On 29 Sep 1999 around 8:08PM (+0200) Rabbe Fogelholm wrote:
>> 
>> > [...] but other users out there will think that my Cygwin-based
>> > script does a poor job if it produces files that "look weird" in
>> > the Microsoft environment.
>> > 
>> > So, while I consider the CR LF convention to be among the stupidest
>> > of this century, I still have to stick to it :-(.
>> 
>> You have been assimilated. :-)
>> 
>> Although not as elegant as awk, you may find Rahul Dhesi's
>> 'flip' useful. There's a Cygwin port with man pages at
>> <http://www.fay.nc.us/~glenn/cygwin/flip-1.00.tgz>.
>> 
>> > It turns out that I was on a text!=binary mount, and that creating
>> > a text=binary mount did not solve my problem (either way I get
>> > files with a single LF as the end-of-line sequence).
>> 
>> I don't understand why you're getting those type files with text
>> mounts (text!=binary). I use text mounts and only text mounts on
>> Win95 to achieve what I think you are after. Most files created with
>> Cygwin tools on my setup have CR/LF pairs for line endings. I thought
>> that was the purpose of text mounts!
> 
> There is a bug in the stock b20.1 cygwin that could cause this.  See
> my pages, the cygwin documentation pages at
> http://sourceware.cygnus.com/cygwin and the mail archives for more
> information on this.
> 
> =====
> Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Thanks Glenn and Earnie for taking your time with this. I am now in a
bit of a hurry so I will drop my investigations for the time being. I
am beginning to suspect that what I saw was some kind of flaky
behaviour in Cygwin, because yesterday I could not reproduce the
"missing CR" syndrome any more. I tried uninstalling Cygwin and
deleteing the installation directory, but still no "missing CR". BTW,
uninstall does not clear all traces of the installation, my "mount"
info was still present after reinstalling.

Also, it may well be that the more recent cygwin1-19990115.dll would
have cured this problem in the first place. Once again, thanks everyone.

--Rabbe Fogelholm, Ellemtel, Stockholm, Sweden



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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