From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29289 invoked by alias); 10 May 2011 09:02:14 -0000 Received: (qmail 29204 invoked by uid 22791); 10 May 2011 09:01:49 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 10 May 2011 09:01:33 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 1FE302C0578; Tue, 10 May 2011 11:01:30 +0200 (CEST) Date: Tue, 10 May 2011 09:02:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Who's using "CYGWIN=tty" and why? Message-ID: <20110510090130.GM27739@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20110509161028.GJ27739@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00113.txt.bz2 On May 10 10:29, Csaba Raduly wrote: > On Mon, May 9, 2011 at 6:10 PM, Corinna Vinschen wrote: > > 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? > > Ever since I figured out how to configure rxvt to put the scrollbar on > the right, I haven't used the "run bash from cmd.exe" console. > Nowadays, for Cygwin I use mintty exclusively. > Sometimes I run C:\cygwin17\bin\grep from the Windows prompt, but > that's not affected by CYGWIN=tty, right? It is affected. If this setting is in your Windows environment, then the first Cygwin process in a Cygwin process tree will set up a pseudo terminal within the console, which in turn adds a layer of pipes between the application and the console window, rather than just using the console handles for stdio. > Anyway, I haven't had the CYGWIN env.var set for years, and never missed it. > > > > > Please enlighten us, otherwise we will just rip out this terminal mode > > for good. > > What would that gain ? Would it speed up the rest of the code? Would > the rest of the code become cleaner, easier to understand/maintain? The latter. After all, the more code and the more conditions you have to support various settings, the more complicated the code gets and the more complicated the maintainance gets. 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