This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin terminal weirdness
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Thomas Wolff <towo at towo dot net>, cygwin at cygwin dot com
- Date: Tue, 15 Sep 2015 12:48:16 +0300
- Subject: Re: Cygwin terminal weirdness
- Authentication-results: sourceware.org; auth=none
- References: <91152470 dot 20150913213611 at yandex dot ru> <7AF4498C-6FE4-4541-9CAD-03EC3D867D72 at etr-usa dot com> <1548943127 dot 20150915065425 at yandex dot ru> <55F7D781 dot 3050606 at towo dot net>
- Reply-to: cygwin at cygwin dot com
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...