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=bv4iZm1fAytv80J+
	ptlr50bBAhULG9Vmhp1EjLIHkZZNLtzH0uvlS69aWU9mKLatbaA0MuojrD0t000/
	OeaBSAWkm8Z2x8wIxERoe8ZCbYC79i30Hi0/DCBKe7KtPLg3fH0b8RpxGPO8QnjL
	oPu+bIJbfmYuQTu17siVWLr4QFM=
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=e6uBPZowcVL7tmBkE5XcAI
	yGpTY=; b=Qyq2oJzzFVwDx5JeDB835sV7TLY/AcmdR3NYaso/A+lpsPyTnNQZHU
	+G5KqQUsoYNQ0T2Ee3MPs89QjAN+EcNNDKtfgqnLhVHVzvvNZm/5JJNdVxf7lW8u
	c6pGunWgIC/ASLEcrv6ZpGw5pmCZUsytZ19Wxh+158hliT+wilx9s=
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=4.8 required=5.0 tests=AWL,BAYES_80,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Tue, 15 Sep 2015 12:48:16 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1277809625.20150915124816@yandex.ru>
To: Thomas Wolff <towo@towo.net>, cygwin@cygwin.com
Subject: Re: Cygwin terminal weirdness
In-Reply-To: <55F7D781.3050606@towo.net>
References: <91152470.20150913213611@yandex.ru>   <7AF4498C-6FE4-4541-9CAD-03EC3D867D72@etr-usa.com>  <1548943127.20150915065425@yandex.ru> <55F7D781.3050606@towo.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t8F9od0m032468

Greetings, Thomas Wolff!

>>>> Call "man" on a sufficiently long topic. man bash would be quite sufficient.
>>>> Or just `less` a long enough text.
>>>> Hold down "End" key.
>>>> The screen buffer will jump and tear repeatedly, until you release the key.
>> ... as I can't reproduce it with PuTTY in the same situation.
> With putty, try the Home key instead. If you hold that, the result will 
> look even worse. Or try to hold the Down key at the end (of man bash) – 
> not good either.

Okay, it seems to really depends on the length of the scrollback buffer under
the hood.
Wasn't able to reproduce it with Home as you suggested, but observed it with
(again) End, when I tried to `less /var/log/syslog`. Which is, quite
unsurprisingly, quite long.
Though, the effect is minimal, it is still present.
Which confirms that it is, seemingly, less's, and not Cygwin's, fault.

> Slightly different effects in different environments are simply the 
> result of timing. You cannot completely avoid such effects if the window 
> contents is rewritten repeatedly.

The timing differences can be attributed to environment. I've been comparing
some string function implementations recently, and Windows seems to be real,
real slow. Like, 10 times slower than Linux, which I can't really explain with
hardware difference. (Win/i5 vs. Linux/G1620)


-- 
With best regards,
Andrey Repin
Tuesday, September 15, 2015 12:42:23

Sorry for my terrible english...

