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=EpwbdXoqNmibBco/vjrZZx0X+cTW1m6eGrbmFr2gGV6P6wPWJupl9 foWRL1Zm6Yq+zbB/jS2oTk7QrCHNhhcIsw2nsKes7KihNiwXpBqIKvOT0un2XAIL XWzIOR3Mhbzx+vKfsQwm7EPvS7iFUTl566jUlu7y7Fe6DF+nfygAWA= 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=OZ+8Wyv2xBjEOkzEu/APkoV1y+4=; b=nGKQU1j46lGKOJA/yoe4iAyt8KoG vJS1OvmTVAAR5r7XEojWzFQ8kq0n/kBzjsKK8oC5a7ksnJre4vz/cHO8TJbU89HB HpHw2HOud77Yc5yy78nX9rPG13kXNajQZkakF4WW4dsO9BxoMhKQs7MR74RXhebZ NUAFpzPi98nJzo0= 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=-0.8 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mho-02-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: U2FsdGVkX18vJvbYvz2r77Gq5lD7bxZt Date: Sun, 16 Feb 2014 19:08:01 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. Message-ID: <20140217000801.GA4947@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140103065626 DOT GB2538 AT ednor DOT casa DOT cgf DOT cx> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1199986631.20140217004637@yandex.ru> User-Agent: Mutt/1.5.20 (2009-06-14) On Mon, Feb 17, 2014 at 12:46:37AM +0400, Andrey Repin wrote: >Greetings, Christopher Faylor! >> There is still one more difference between Cygwin and, e.g., xterm >> though. The scroll buffer is still there when you enter a full screen >> session like vim or less. So you can scroll up to it and really cause >> confusion. It's possible to fix that behavior but it would be really >> tricky. I'm not sure I want to complicate the console handling code >> for this one corner case. > >I don't have any expertise in trickyness of this task, but I know application, >that does exactly this. >Far manager shrink console output buffer to console window size by default, >when starting up. >The file you're looking for is >http://farmanager.googlecode.com/svn/trunk/unicode_far/console.cpp I wasn't implying that I don't know how to do it. It is tricky to get right for Cygwin. 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