www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/09/16:59:30

From: cgf AT bbc DOT com (Chris Faylor)
Subject: Re: Ctrl-Z
9 Aug 1997 16:59:30 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <EEo5C7.4B5.cygnus.gnu-win32@bbc.com>
References: <m0wwtWD-000AK5C AT jacob DOT remcomp DOT fr>
<199708090727 DOT AAA26697 AT rtl DOT cygnus DOT com>
Reply-To: cgf AT bbc DOT com
X-Newsreader: trn 4.0-test57 (27 Apr 97)
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: Perl5 Mail::Internet v1.28
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In article <199708090727 DOT AAA26697 AT rtl DOT cygnus DOT com>,
Geoffrey Noer  <noer AT cygnus DOT com> wrote:
>[...]
>>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
>[...]
>
>Nope, I read them.  :-)
>
>Believe it or not, we have customers who have huge source bases where
>all their files end in ^Zs.  Even if we didn't have ^Z as EOF, people
>would still run into the carriage return/line feed conversion part of
>the text mode != binary mode picture whenever binary files are read in
>text mode.
>
>Hopefully adding binary flags to some of the utilities will help...

I have submitted a patch to Sergey for cygwin.dll which incorporated a new
environment variable, CYGWIN32, to honor the following settable options:

	[no]title
	[no]tty
	[no]binmode

So, you could do the following:

	set CYGWIN32=notitle binmode
	bash

and bash would not update the title bars and would use binmode as the default
for opens.

I had intended to extend this to allow registry entries to be used which
would would be settable based on the path of the executing program.
That means that you could tell 'cat' to always operate in default
binmode and 'tar' to always operate in binmode.

Would this solve any problems?
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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