delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/18:12:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvEAAM63yU2cKEcU/2dsb2JhbACXW44xd6tzm1SGDwSUMoo5
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Tue, 10 May 2011 18:11:35 -0400
Subject: RE: Who's using "CYGWIN=tty" and why?
Message-ID: <0105D5C1E0353146B1B222348B0411A209E8030CCE@NIHMLBX02.nih.gov>
References: <20110509161028 DOT GJ27739 AT calimero DOT vinschen DOT de> <0105D5C1E0353146B1B222348B0411A209E8030CB9 AT NIHMLBX02 DOT nih DOT gov> <20110510171846 DOT GA27537 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20110510171846.GA27537@ednor.casa.cgf.cx>
MIME-Version: 1.0
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

Christopher Faylor sent the following at Tuesday, May 10, 2011 1:19 PM
>If we changed the /dev/console to /dev/consN (where N is a unique number
>for each console window) would that address your use case?

Yes, it works for me if there would be a reasonably small (preferably
single digit) number in the output of tty or ps.

>You would not be able to do something like echo foo >/dev/cons4 and have
>foo be echoed another console window though.

Since I haven't been on a real Unix/POSIX machine since the late '80s,
I'd forgotten about that.  Now you made me want to DO it!  :-)

>Eliminating the special case of tty handling
>would simplify the cygwin pty layer, shrink the size of the DLL, and
>generally make Cygwin a little easier to maintain.

Even if you don't accommodate me, that's OK, if your lives will be
easier.  As I wrote, if I find that I really miss tty identification,
I can learn to use mintty.  (Or maybe I should just switch - but not
today.)

Thank to you all for your work on cygwin.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

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