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:message-id:in-reply-to:references:date:subject
	:from:to:mime-version:content-type:content-transfer-encoding; q=
	dns; s=default; b=GlMWzsgQIBLKPP/tfW+6H14pzPIV+hNv05IJFNhushQpQl
	pkFwZ9YTq898I/Zqvp4LgULMlOKkqwZg97b2H3B7o7ccPTptWr9IZV+GyLaIzlcl
	CZIg6nSWS8qPyEioSj5y6pSSupQ3Ylssn90sxhsDSCK1uhRl8/kslzIx/PHRY=
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:message-id:in-reply-to:references:date:subject
	:from:to:mime-version:content-type:content-transfer-encoding; s=
	default; bh=YEUC6dJj2c7HRSW8i6wgHovz54g=; b=XZLr+/HlJpYbm6wYEFFo
	p40I9u6qnZkFuGYqtCyuubAnTd3/AXeKhXrvM/TXv5cFfLAcqDifEqJ8sHMm8o7U
	KJQdURxdQqM71+TEOgJQ7hnLvGPJvW6qHf4hXwDR/ysKlmjuJe7g1wDNPjctrUTK
	Xs+C3luL+LTSLG9yhjAh0QM=
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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtp-vbr9.xs4all.nl
Message-ID: <cffd4160a0607435e147969246455bcc.squirrel@webmail.xs4all.nl>
In-Reply-To: <195943e6406b2237c60c2d7df9ddcd11.squirrel@webmail.xs4all.nl>
References: <195943e6406b2237c60c2d7df9ddcd11.squirrel@webmail.xs4all.nl>
Date: Sun, 27 Apr 2014 11:10:46 +0200
Subject: Re: Screen crippled by applications using alternative screen
From: "Houder" <houder@xs4all.nl>
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.18
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi David Ferenczy,

>> I'm still having issues with applications which use alternative screen
>> for output (LESS, MAN). When I exit that application, its output stays
>> on screen, prompt is displayed over it.
>
> [snip]
>
>> Example steps to reproduce the issue:
>>
>> 1. execute "man grep"
>> 2. scroll down to the end (PAGE DOWN)
>> 3. exit (press Q), result: http://ferenczy.cz/tmp/cygwin/1.png
>> 4. execute "pwd", result: http://ferenczy.cz/tmp/cygwin/2.png
>> 5. clear screen (CTRL + L), result: http://ferenczy.cz/tmp/cygwin/3.png
>>
>> Behavior is the same in plain cmd.exe, Console2 and ConEmu. MinTTY works
>> fine. If I exit MAN on first page (without scrolling), the screen isn't
>> crippled.
>>
>> To reach clean screen I have to repeatedly clear the screen (CTRL + L)
>> until I browse whole MAN output (all pages). ...
>
> Same story here: MinTTY works, Windows Console (cmd.exe): crippled.
>
> My system: XP-sp3, Cygwin: 1.7.29-2 - 32 bits
>
> (behavior Windows Console was not crippled before .28 as far as I can
>  remember)

Applied snapshot (i.e. replaced cygwin1.dll) generated by cfg (26/4) ...

@@# uname -a
CYGWIN_NT-5.1 xp 1.7.30s(0.272/5/3) 20140426 17:41:38 i686 Cygwin
@@# man grep
@@# man grep
@@# man grep
@@#

As far as I can tell, the problem has been solved.

Pleasantly surprised ... Thank you Christopher.

Henri


--
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

