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

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Setting CYGWIN=tty in an already running shell leads to hidden output
Date: Mon, 11 Dec 2006 01:17:30 -0000
Message-ID: <002801c71cc2$20d7df80$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <457CAB0C.8050500@scytek.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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.


  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).


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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