www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/06/07:14:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 6 Dec 2011 13:13:44 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10
Message-ID: <20111206121344.GB3934@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20111206093746 DOT GA6222 AT calimero DOT vinschen DOT de> <4EDE0589 DOT 2080900 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <4EDE0589.2080900@cornell.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Dec  6 07:07, Ken Brown wrote:
> On 12/6/2011 4:37 AM, Corinna Vinschen wrote:
> >In 1.7.10 a few internals have changed, which influence the way some of
> >the Cygwin tools work.  For instance, the Cygwin ps tool from 1.7.9 will
> >show weird tty numbers for processes running in a console window, while
> >the new ps knows how to handle the new values.
> 
> [...]
> 
> >- Revamp console and pseudo tty handling.  Rename /dev/ttyX to /dev/consX,
> >   /dev/ttyX to /dev/ptyX.
> 
> The new ps shows `?' for the tty of mintty when the latter is
> started from the Cygwin Terminal shortcut, whereas it shows an
> ordinary pxyX for mintty started from a bash shell.  Is that to be
> expected?

Yes.  When you start mintty from the GUI, there's no tty.  Mintty will
open the master side of a pseudo tty, but it will by itself not have a
controlling tty.  Thus the ?.  When started from bash, bash has already
a controlling tty which is inherited by mintty.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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