From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4179 invoked by alias); 9 May 2011 23:18:22 -0000 Received: (qmail 4171 invoked by uid 22791); 9 May 2011 23:18:21 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm22-vm0.bullet.mail.sp2.yahoo.com (HELO nm22-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.222) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 09 May 2011 23:18:04 +0000 Received: from [98.139.91.68] by nm22.bullet.mail.sp2.yahoo.com with NNFMP; 09 May 2011 23:18:03 -0000 Received: from [98.136.185.28] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 09 May 2011 23:18:03 -0000 Received: from [127.0.0.1] by smtp109.mail.gq1.yahoo.com with NNFMP; 09 May 2011 23:18:03 -0000 Received: from cgf.cx (cgf@98.110.183.157 with login) by smtp109.mail.gq1.yahoo.com with SMTP; 09 May 2011 16:18:03 -0700 PDT X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 120E64A801A for ; Mon, 9 May 2011 19:18:02 -0400 (EDT) Date: Mon, 09 May 2011 23:18:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Who's using "CYGWIN=tty" and why? Message-ID: <20110509231801.GA19097@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20110509161028.GJ27739@calimero.vinschen.de> <4DC86A3C.6060605@towo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DC86A3C.6060605@towo.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00106.txt.bz2 On Tue, May 10, 2011 at 12:27:08AM +0200, Thomas Wolff wrote: >Am 09.05.2011 18:10, schrieb Corinna Vinschen: >>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. We will certainly be willing to fix problems as they occur. I don't think that erroneous cursor reporting is a show stopper. cgf -- 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