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=e9pu3aKO0uaRoNyd 5TX/39ANDNOmgowki8AWTCxsckdJJ2YAItqquck3jv17Mb8hLC6hAItlzx3/ZuAg BAx65h787SXoYEe0gA+7cykG2ok//C8h4cZPSChO1atflz+a2s/HiMu4zqgnSBV7 PwXXKeK/N8CPnHlDH9jC2e346hA= 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=8wevB8aiJb7eA2IDnOVlT1 fviW8=; b=qbI1w5jdPEg9kc9mzwaAMJFBZiKsl8d7b4kxrwEjnmrkH78lZ/ioWV P5Sk6OWQfezZXrc1Ar2OrPV1lvqE++ze7NXQbaB9nAoFMCnVsnR3yKXXpx9hkTB+ 4FFpaP93OpTCpHXCA2JvlD6SqsiPM3a86tAq6/+L6ubCo4BllQ26c= 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.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KAM_THEBAT,RCVD_IN_BL_SPAMCOP_NET,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Mon, 17 Feb 2014 00:46:37 +0400 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1199986631.20140217004637@yandex.ru> To: Christopher Faylor Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc. In-Reply-To: <20140216172151.GB4830@ednor.casa.cgf.cx> References: <20131231185859 DOT GA4460 AT ednor DOT casa DOT cgf DOT cx> <20131231222904 DOT GA5441 AT ednor DOT casa DOT cgf DOT cx> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 16.02.2014, <23:50> 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