From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26852 invoked by alias); 9 May 2011 22:27:30 -0000 Received: (qmail 26823 invoked by uid 22791); 9 May 2011 22:27:27 -0000 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 Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.17.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 May 2011 22:27:11 +0000 Received: from [127.0.0.1] (dslb-088-073-015-156.pools.arcor-ip.net [88.73.15.156]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MPKo0-1QNylJ34Gu-004w0u; Tue, 10 May 2011 00:27:10 +0200 Message-ID: <4DC86A3C.6060605@towo.net> Date: Mon, 09 May 2011 22:27:00 -0000 From: Thomas Wolff Reply-To: Thomas Wolff 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@cygwin.com Subject: Re: Who's using "CYGWIN=tty" and why? References: <20110509161028.GJ27739@calimero.vinschen.de> In-Reply-To: <20110509161028.GJ27739@calimero.vinschen.de> X-TagToolbar-Keys: D20110510002707913 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00105.txt.bz2 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