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=qM2eiZq0mBVcoxFh NM0AXPxeSjKQwNCAVlhRP12qi3rIpy3t+I1a84GU5/ccOnpobp/PHMFviQk3mWSQ j3rDrsHdZeCb+PI5+mm1spG6in9YB+ZPjDbybufvyzdKWDWpgpFuBi9kdIJ6Stk4 XS2QN4ZFUtfTg0eLkX2c6Fs1me0= 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=kAkuCOtK2flbn/jtIPTrhC GrzQg=; b=uRayaPF4hMY2noxgH0x8r8EMO0RnxswYlkrut+sotDg21rfC4sTesu zrnk9tGTIHUzEfZV20c8t1VykvJ/lxKga+fqzYN6sSHUSPzfC14Gv1y7tOWx5V0H ZHzTAn4ixFotopSiitONU/VwwNIUmOsP0GMH5lA7Xd6hlS/CoqyhE= 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 04:42:25 +0400 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <8410711390.20140224044225@yandex.ru> To: Christopher Faylor Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. In-Reply-To: <20140223234152.GA5072@ednor.casa.cgf.cx> References: <20140105234943 DOT GA2524 AT ednor DOT casa DOT cgf DOT cx> <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> 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? -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 24.02.2014, <04:41> 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