X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <p.fedin@samsung.com>
To: cygwin@cygwin.com
References: <51F1A863.8060403@etr-usa.com> <51F1AF90.3080409@cygwin.com> <51F1F7B4.4060202@etr-usa.com> <CAHWeT-bBvWyv0dzFkwbgyKJKuNyaVY85ZBkksCC-Qs_dZ6H+GA@mail.gmail.com> <003601ce89f8$c3845f10$4a8d1d30$%fedin@samsung.com> <20130726152944.GD4495@ednor.casa.cgf.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

