X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1199986631.20140217004637@yandex.ru>
To: Christopher Faylor <cygwin@cygwin.com>
Subject: Re: Clearing the buffer after quitting LESS, MAN, VIM etc.
In-Reply-To: <20140216172151.GB4830@ednor.casa.cgf.cx>
References: <20131231185859.GA4460@ednor.casa.cgf.cx> <20131231222904.GA5441@ednor.casa.cgf.cx> <loom.20140103T011837-791@post.gmane.org> <20140103065626.GB2538@ednor.casa.cgf.cx> <loom.20140104T042813-236@post.gmane.org> <CAM9pMnOF4JVzWjSoMKc2bhTd3ApS5BkHW10W+5MFq9LVxPrxrA@mail.gmail.com> <20140105234943.GA2524@ednor.casa.cgf.cx> <loom.20140129T182024-324@post.gmane.org> <20140129190918.GB2303@ednor.casa.cgf.cx> <loom.20140212T140130-348@post.gmane.org> <20140216172151.GB4830@ednor.casa.cgf.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@yandex.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

