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: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 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 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 Reply-To: cygwin AT cygwin DOT com Message-ID: <1498278993.20140224083532@yandex.ru> To: Christopher Faylor Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. In-Reply-To: <20140224014210.GA372@ednor.casa.cgf.cx> References: <20140129190918 DOT GB2303 AT ednor DOT casa DOT cgf DOT cx> <20140216172151 DOT GB4830 AT ednor DOT casa DOT cgf DOT cx> <1199986631 DOT 20140217004637 AT yandex DOT ru> <20140217000801 DOT GA4947 AT ednor DOT casa DOT cgf DOT cx> <20140223054137 DOT GA4837 AT ednor DOT casa DOT cgf DOT cx> <1310410410 DOT 20140224032853 AT yandex DOT ru> <20140223234152 DOT GA5072 AT ednor DOT casa DOT cgf DOT cx> <8410711390 DOT 20140224044225 AT yandex DOT ru> <20140224014210 DOT GA372 AT ednor DOT casa DOT cgf DOT 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 >>>>> 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 AT yandex DOT 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