X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=eznoFyUG+nIKuf6FK+Xob7riZSX66p/bEkF11ybIqvu xrxhbcSiKHKwYLSgPo0G+SljWRsSJ7fo62aPgntkB8PURUgrr9KukiCYvmBtoHBx qcLs3HI69m0r43zfgIwlhqCJoqB3Hqpak/ufzt9m+BJnZXbZoCLgUNRL/qFXi4GI = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=ffK3cALnYuWEyLY1cyXC3ltbdvQ=; b=SKDRWkehmI3DTD6pP WAD/KiXe7PNbb8k+6WWPpm/n4K5awFShrmvB3ar0T80E9nZ7ckby6omKxTiHytbZ CQ7V0Kj1cwrkiwtH7Jwm965lGv3MjPB/aIigGxv7CfJ3R4DkSZxXWGBzUycQ2+MF 8aTjCtrkS9jqcgsNF+sjqiw2xU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 From: Pavel Fedin

To: cygwin AT cygwin DOT com References: <51F1A863 DOT 8060403 AT etr-usa DOT com> <51F1AF90 DOT 3080409 AT cygwin DOT com> <51F1F7B4 DOT 4060202 AT etr-usa DOT com> <003601ce89f8$c3845f10$4a8d1d30$%fedin AT samsung DOT com> <20130726152944 DOT GD4495 AT ednor DOT casa DOT cgf DOT cx> In-reply-to: <20130726152944.GD4495@ednor.casa.cgf.cx> Subject: RE: BLODA extension: console interoperability Date: Mon, 29 Jul 2013 09:19:38 +0400 Message-id: <003301ce8c1b$397afc50$ac70f4f0$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Hello! > 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. I know this. But i was talking about running MinGW (i. e. Windows native) software with MinGW nCurses under such a console. I believe, for case Cygwin software cygwin.dll fixes this up and interprets missing ESC sequences. But if we run MinGW program from within this console, it won't have this functionality and will talk to the console directly. In other case, we might run this program from within MinTTY. As far as i can understand, MinTTY is a complete terminal emulator which understands all ESC sequences by itself. In this case MinGW program will need to use ESC sequences too. But if MinGW program will think that it's running on a real Windows console, it will try to use Windows API, which obviously will not work. I agree that this is kind of corner case, but it's still there, if we talk about interoperability. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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