www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4DC86A3C.6060605@towo.net> |
Date: | Tue, 10 May 2011 00:27:08 +0200 |
From: | Thomas Wolff <towo AT towo DOT net> |
Reply-To: | Thomas Wolff <towo AT towo DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Who's using "CYGWIN=tty" and why? |
References: | <20110509161028 DOT GJ27739 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20110509161028.GJ27739@calimero.vinschen.de> |
X-TagToolbar-Keys: | D20110510002707913 |
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 |
Am 09.05.2011 18:10, schrieb Corinna Vinschen: > Hi, > > > Chris and I are wondering how many people are using the Windows console > as local console window in CYGWIN=tty mode and why. > > Here's why we ask: > > We are both not sure why anybody would use it voluntarily, given that > it's I/O is extremly slow, compared to using a Windows console window in > the default CYGWIN=notty mode or, even better, mintty. Actually, we > only keep the console tty mode up because it was "always there", 14 > years or so. > > So, if you're using a console in tty mode, why are doing that? Did you > ever notice that it's much slower? Did you ever consider to switch to > mintty or any other terminal emulator instead? If not, why? Would > anybody really *miss* the CYGWIN=tty mode? If so, why? What does this > mode have which isn't covered by notty mode or another terminal > emulator? I don't use it but there is one difference that I actually reported years ago: http://sourceware.org/bugzilla/show_bug.cgi?id=513 and I mentioned it again in http://cygwin.com/ml/cygwin-patches/2009-q4/msg00144.html and http://cygwin.com/ml/cygwin-patches/2009-q4/msg00155.html - later I tried to debug again and saw that with CYGWIN=tty, one fhandler_console object drives console I/O whereas with CYGWIN=notty 3 objects are created (for stdin, stdout, stderr). This is the reason for the cursor position response code getting lost because it is pushed into the wrong fhandler_console object. I tried to patch it but it got all messed up so I didn't post anything then. ______ Thomas -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |