Setting CYGWIN=tty in an already running shell leads to hidden output
Volker Quetschke
quetschke@scytek.de
Mon Dec 11 04:15:00 GMT 2006
Dave Korn wrote:
> On 11 December 2006 00:49, Volker Quetschke wrote:
>
>> Dave Korn wrote:
>>> On 09 December 2006 02:45, Volker Quetschke wrote:
>>>
>>>> Subject: Setting CYGWIN=tty in an already running shell leads to hidden
>>>> output
>>> WDDTT! It is documented as not working; now you know why.
>> Aha, so it is? Where? Here
>> <http://cygwin.com/cygwin-ug-net/setup-env.html>
>> it's said to set it before starting bash. That's what I did.
>>
>> I guess it meant to mean to set it before starting the first bash.
>> Or even before the first cygwin process is started. But nothing
>> in there documents this as not working.
>
> It is implied subtly on that page:
>
> Initially you can leave CYGWIN unset or set it to tty (e.g. to support job
> control with ^Z etc...) using a syntax like this in the DOS shell, before
> launching bash.
Agreed.
> But it is mentioned clearly on this page:
>
> http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
>
> (no)tty - if set, Cygwin enables extra support (i.e., termios) for UNIX-like
> ttys in the Windows console. It is not compatible with some Windows programs.
> Defaults to not set, in which case the tty is opened in text mode. Note that
> this has been changed such that ^D works as expected instead of ^Z, and is
> settable via stty. This option must be specified before starting a Cygwin
> shell and it cannot be changed in the shell. It should not be set when using
> other terminals (i.e., rxvt or xterm).
And I certainly missed the last sentence.
Thanks
Volker
--
PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 248 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061211/21423bf6/attachment.sig>
More information about the Cygwin
mailing list