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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=GUAL/URn4rEQl0pQ3UGFA9kuIcpGiNVJ6v1j2KYsTEcJFxAzrqpyS vyTA0h7AaXGE/LuLfi+0nBXRF/PNWtHJcJyuqYA5R1Iy9eY6hD1FF1jFUjp4MXXl XD/aM5RdEgCtqm6LXxiQcM/S4uTHYdkJCMQKlDr6LtJSNFwdI19mWA= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=psJ9xH61+lSm9qd+58BbHp4qyGY=; b=OOSuFi67ZK5pFx6EWGr841LYOhIN gg4P4NSIC9zjQjBx3lDWtpCs3pc76z539TgjCDLt6DGzYrdPZTU6CbIyvqYgEwCc STAhj2Mqa3VNFFGsRbqeiZJnCCB2DYgj2c8nFfkOBsv0AhOO1bd02797nwyxSDwP p0Ifxj+qn/IQ6I4= 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=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mho-01-ewr.mailhop.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18uPRSKKW+YClyctBfVtBOL Date: Sun, 23 Feb 2014 20:42:10 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. Message-ID: <20140224014210.GA372@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8410711390.20140224044225@yandex.ru> User-Agent: Mutt/1.5.20 (2009-06-14) On Mon, Feb 24, 2014 at 04:42:25AM +0400, Andrey Repin wrote: >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. cgf -- 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