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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=LHstRSqzyn/Uj3s5
	8CJBeX10327380c6W5KwKgg/s/0ynNLSh/e9TLF5g+NYQh4AHAdMOona3devLpIP
	hFsmNNd8Nt4KtukLmxNus+YB9Lu/6ICLsmoRPPWY/kxBmvZlsESqFFBP4yN0CSC7
	ss29kRo2lwpAY7z9cYHLsLp30Wk=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=YpgJ0Xl2YzgJ5ZftzR4QrT
	mCv1Y=; b=BmemY097L15qVKMH0L4OcJx1vNsOPGS0lGkBusujySLaAQyYWQFYpb
	namaVh3tSyj7ATpXJLsr6zcVDPIDMCWarXUrLUx25uFDPeSFKE+c9mjCSpZB1hAq
	qoMywPXWCLMeHIbTj1L1NtuViuJt4T/bm0q7LbykPOV7j2hQwPsu4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Mon, 24 Feb 2014 08:35:32 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1498278993.20140224083532@yandex.ru>
To: Christopher Faylor <cygwin@cygwin.com>
Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc.
In-Reply-To: <20140224014210.GA372@ednor.casa.cgf.cx>
References: <loom.20140129T182024-324@post.gmane.org> <20140129190918.GB2303@ednor.casa.cgf.cx> <loom.20140212T140130-348@post.gmane.org> <20140216172151.GB4830@ednor.casa.cgf.cx> <1199986631.20140217004637@yandex.ru> <20140217000801.GA4947@ednor.casa.cgf.cx> <20140223054137.GA4837@ednor.casa.cgf.cx> <1310410410.20140224032853@yandex.ru> <20140223234152.GA5072@ednor.casa.cgf.cx> <8410711390.20140224044225@yandex.ru> <20140224014210.GA372@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Christopher Faylor!

>>>>>So, I did go ahead and implement this in Cygwin by switching console
>>>>>buffers.  It works great in a cmd window but not at all in a TCMD
>>>>><http://jpsoft.com/> window.  I have used jpsoftware products for
>>>>>longer than I've been working on Cygwin so that's personally a bad bug
>>>>>for me.
>>>>
>>
>>>If I can find some way of detecting when I'm in a TCMD environment I
>>>might just fall back to the old code.
>>
>>Don't they have a direct API to answer this kind of questions?

> I sort of asked them that but they haven't replied yet.  Do you know of
> something?  I don't see anything pertinent in their documentation.

Nothing from the top of my head. I've worked with their GUI briefly in the
beginning, then reverted to pure console (4NT back in the days) due to a
number of incompatibilities with existing apps, and never looked back.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 24.02.2014, <08:33>

Sorry for my terrible english...


--
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

