delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/10/23:15:20

X-Spam-Check-By: sourceware.org
Message-ID: <457CDB42.2020705@scytek.de>
Date: Sun, 10 Dec 2006 23:14:58 -0500
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Setting CYGWIN=tty in an already running shell leads to hidden output
References: <002801c71cc2$20d7df80$a501a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <002801c71cc2$20d7df80$a501a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

--------------enig5DE9DB37BADF15709DC9DCD0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dave Korn wrote:
> On 11 December 2006 00:49, Volker Quetschke wrote:
>=20
>> Dave Korn wrote:
>>> On 09 December 2006 02:45, Volker Quetschke wrote:
>>>
>>>> Subject: Setting CYGWIN=3Dtty in an already running shell leads to hid=
den
>>>> output=20
>>>   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.
>=20
>   It is implied subtly on that page:
>=20
> 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:
>=20
> http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
>=20
> (no)tty - if set, Cygwin enables extra support (i.e., termios) for UNIX-l=
ike
> ttys in the Windows console. It is not compatible with some Windows progr=
ams.
> Defaults to not set, in which case the tty is opened in text mode. Note t=
hat
> 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 us=
ing
> other terminals (i.e., rxvt or xterm).

And I certainly missed the last sentence.

Thanks

   Volker

--=20
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


--------------enig5DE9DB37BADF15709DC9DCD0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MinGW)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfNtDPTXJup+KeF0RAjSXAJ9LhmEfAAO2QV03yq5aZUfjsiKsjACcDqhQ
/lsbT0c0B2rkG4wvfrW457w=
=V/Nj
-----END PGP SIGNATURE-----

--------------enig5DE9DB37BADF15709DC9DCD0--

- Raw text -


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