delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/28/17:53:38

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=PK56EqtIxQrEK1WXJdSrxM069J0M
9l6drTRMaKIyozbOUhWbX/fiMBVvuCCgm6//GrorNJa+vhcRYChiwTPlxHKsa/jY
v1dzWBP9K8DBCHgblG5NrsClLKQjYu1xfxdOS+uAgtIkSNFMyQXxAsJYnqvGRZEv
BT4/Y03pPWNBzm0=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=7Z/eu5CpEYtSSgtSmHtTSZphI1U=; b=Qm
i18XnKG0oPdWGdelvg8nALAkyFMZpmJBmAI/2aMklJSGA/xfN3SRT9H+oXbWFDbF
sGxteBoZuZrBFq6oV68P7ei+Le1OUUmRBX5MT7YbGbVylKU3vMD+M8pgmG8eQBWh
xz2XIwZM1LwVe2WLPcHVdkBfJ+7y6Q8isTAo0BxSo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=0.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: Some programs (vi, ssh) crash when screen buffer height is big
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <CAHV8iDGw3FWOBBdNQ0HcBCpwAHRQrpTj6YbNjE8o4AnCe77zqA@mail.gmail.com>
Date: Fri, 28 Aug 2015 15:53:19 -0600
Message-Id: <CDE18C5C-7549-4A76-87A3-871F80087303@etr-usa.com>
References: <CAHV8iDH4pG0FoGrckc36atQUV+SWOnryJ-zBDK92HTGgPRC=Ew AT mail DOT gmail DOT com> <26A19798-1F20-4D52-A311-C8312E0D4621 AT etr-usa DOT com> <CAHV8iDGU8tN+58LR10e3zHxiEsr5ekXrKrLeyYRAD0tx0H6B1A AT mail DOT gmail DOT com> <6DC9320F-4DCC-47E4-AB8C-3158EBD6260E AT etr-usa DOT com> <CAHV8iDFauqCe-aKZB6Ba1oJbOvvOr7M19ZyJJVu-t8DQ46f=ug AT mail DOT gmail DOT com> <CAN=he+XN0qiLjm+K+0Qr13=GqtvAyJSArdFh873++1=dTjP35Q AT mail DOT gmail DOT com> <CAHV8iDH=FL3XQ0OrK0pzLPOP+7-VK88HvD2_k2zzWZTc+hyXdw AT mail DOT gmail DOT com> <55DC9C55 DOT 9090404 AT gmail DOT com> <CAHV8iDEw1fp4-yXLd1sjKMvKvCzemuEFNbUy4FJ-zvxWQZC26g AT mail DOT gmail DOT com> <55DFB10C DOT 3050804 AT cygwin DOT com> <CAHV8iDGw3FWOBBdNQ0HcBCpwAHRQrpTj6YbNjE8o4AnCe77zqA AT mail DOT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t7SLrYmW016389

> On Aug 28, 2015, at 7:23 AM, Sous Lesquels <a9f54d2 AT gmail DOT com> wrote:
> 
> I feel that with increasing monitors sizes == increasing window sizes,

You’re making an unwarranted assumption.  Increasing monitor sizes do not require increasing window widths.

As we saw in my original testing, the problem does not occur when the terminal window is 80 columns wide.

In fact, the default 80 column width is a bit too wide for optimal reading comprehension already:

  http://www.smashingmagazine.com/2014/09/balancing-line-length-font-size-responsive-web-design/

I’m not alone in recognizing this fact, and therefore choosing to use extra monitor space to increase the *height* of terminal windows only.  I generally keep windows taller than wide, arranged in 2-3 columns across on my 27” monitors.

The lone article I linked above is just a gloss over some very old, well-established science.  It’s why books are the size they are, and why newspapers print their material in multiple columns instead of spanning the whole page width.

I strongly encourage you to reconsider your practice of full-screening console windows.  ConEmu crashes aside, you are harming your own productivity.

(The same goes for any window containing primarily text: the message pane in your email client, your web browser, your desktop Kindle app…)

For Science, I decided to try and narrow the range where the symptom occurs.  I could not make it happen at 160 columns after three runs.  I failed again at 240.  Then I increased it to 300, and still failed: three runs, no calloc() abort.  

This whole time, I had the window at 64 lines high, so I tried increasing that to near my monitor’s height, 84 lines with the font settings I prefer.  Still no replication of the symptom.  

By this point, I had only about 3-4 mm of space around the window top-and-bottom, and about 1 cm to either side, so I finally full-screened the window, and *now* the symptom reoccured.

So Doctor Repin is right: don’t do that. :)

> I can change
> from ConEmu to mintty, but IMHO that's like saying I can use the
> stairs instead of an elevator in Burj Khalifa.

A more apt comparison is between stairs and ramps in a world where most people use wheels to get around, but you prefer the stairs.  You’ve discovered that the dust on the stairs occasionally catches fire when you run up them with a Roman candle in each hand.  So you complain that your leg hair is getting scorched, and are rejecting advice to either use the well-swept ramp or stop carrying flaming objects up the stairs.

Defaults matter.  The ramp is front-and-center when you walk in the main Cygwin doors, whereas the stairs are down a poorly-lit side hall, one turn to the left and two to the right, past the soda machine, and behind an unmarked door.   Your path will not be as well-traveled, and consequently will not be as well-maintained.

> Saying "it's ms bug", "it's a design choice", "it's a bug, but we
> don't have time / resources to fix it", "it happens so rarely, we
> don't care", "it's going to be fixed in 2030", etc. is fine with me.

How about, “Scratch your own itch.”  You have the source code and a replicable test case.

*I* have the source and a replicable test case, too, but I don’t have the itch.
--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019