This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Ctrl-Z
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Subject: RE: Ctrl-Z
- From: John Cook <john dot cook at kla-tencor dot com>
- Date: Fri, 8 Aug 1997 14:03:53 -0700
Unfortunately, even if most applications have ceased to use
this CTRL-Z as an EOF marker, DOS itself and even NT's CMD.EXE
continue to do so in some circumstances. 'copy /a filea fileb'
treats the source file as 'ASCII' and appends that CTRL-Z
to the end of the file (unless a CTRL-Z is already there).
I'm not arguing in favor of this by any means; I started one
of the thousand discussions about this last year upon noticing
that gnuwin32's cat stopped upon finding CTRL-Z in a binary
file. I'd prefer that cygwin32 treat all files as binary by
default and never use (or interpret) CR or CTRL-Z for text
files. NT's CMD.EXE even appears quite happy with text files
which use only LF instead of CR-LF as line separators (I don't
know if win95 is as tolerant).
--John
>----------
>From: root@jacob.remcomp.fr[SMTP:root@jacob.remcomp.fr]
>Sent: Friday, August 08, 1997 11:12 AM
>To: mchase@ix.netcom.com
>Cc: gnu-win32@cygnus.com
>Subject: Re: Ctrl-Z
>
>> Your filesystems are mounted in text mode by default by the initial
>> gnuwin32 installation. That causes all files written by cat to have LF
>> changed to CRLF and stop short at the MSDOS EOF mark (Ctrl-Z).
>
>This is CRAZY. We have discussed this a thousand times in this list,
>in a span of several years:
>
>Ctrl-Z IS NOT USED FOR MARKING THE END OF FILE SINCE MS-DOS 2.0!!!!!!!!!!!!
>
>Does gnu-win32 want to be compatible with DOS 1.0?
>
>The real problem behind this, and that is why it makes me mad, is that nobody
>at Cygnus is reading this bug reports, so the same unfixed bugs remain
>forever
>and people fall into them over and over again.
>
>NOBODY uses Ctrl-Z to end a text file since AGES, at least 10 years or so.
>WAKE-UP GUYS!!!
>
>--
>Jacob Navia Logiciels/Informatique
>41 rue Maurice Ravel Tel 01 48.23.51.44
>93430 Villetaneuse Fax 01 48.23.95.39
>France
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".