From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19581 invoked by alias); 27 Jul 2013 02:18:31 -0000 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 Received: (qmail 19569 invoked by uid 89); 27 Jul 2013 02:18:30 -0000 X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 27 Jul 2013 02:18:29 +0000 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5A50A20CD7 for ; Fri, 26 Jul 2013 22:18:20 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 26 Jul 2013 22:18:20 -0400 Received: from [192.168.0.10] (unknown [50.88.187.117]) by mail.messagingengine.com (Postfix) with ESMTPA id 07B86C00E82; Fri, 26 Jul 2013 22:18:19 -0400 (EDT) Message-ID: <51F32DE4.3090108@cwilson.fastmail.fm> Date: Sat, 27 Jul 2013 03:18:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: BLODA extension: console interoperability References: <51F1A863.8060403@etr-usa.com> <51F1AF90.3080409@cygwin.com> <51F1F7B4.4060202@etr-usa.com> <003601ce89f8$c3845f10$4a8d1d30$%fedin@samsung.com> <20130726152944.GD4495@ednor.casa.cgf.cx> In-Reply-To: <20130726152944.GD4495@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00606.txt.bz2 On 7/26/2013 11:29 AM, Christopher Faylor wrote: > On Fri, Jul 26, 2013 at 04:07:55PM +0400, Pavel Fedin wrote: >> Let me also drop my 5 cents into this... >> We should be very careful about this. At least there is one case where >> difference between Cygwin console and real Windows console plays a key >> role: ncurses. Normal Windows console is very basic and does not >> understand 90% of control sequences. As a result, ncurses has been >> extended with 'terminal drivers', which redirect certain control >> functions to OS (Windows in our case) API calls. Which, of course, >> work only with real Windows console. > > The "console" that a Cygwin program sees is not just the raw Windows > console. Hopefully the Cygwin version of ncurses understands that > Cygwin extends the functionality of the console so that a big subset of > standard control sequences will just work. cygwin-ncurses does not do any of the stuff that Pavel described. It treats the cygwin terminal just as described by $TERM (which, if TERM=cygwin, uses the terminfo definition we've painstakingly created over the years) -- and so takes advantage of the "gloss" that cygwin places over the plain console. OTOH, if TERM=xterm, for instance, then it just uses the xterm terminfo. -- Chuck -- 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