delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/24/08:09:00

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=aS
zXoW+hzkAwI3RLBGuDRXrRg/BxptuU7QuXQT/v0T0P7mdY1LARamyyJ2X3lTVbx5
I8xM6flA+NT2eYEimVjfQSFct0dnstUaYhS0ajdKvsG05G0mdN8u63FSgCm6OPyI
oU/f3aVAZYkSP9sgTTzLcS8xdk+tjc4lX4I2u9abs=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=E5UNDoHI
D6tZGod9ZE1XfwV1oaU=; b=FcWjdjohgvSAlVdYQp9fTYEVQGRMbY/j/7zCfGwO
I8OqE8qWDCLUKgw+23tSP8Dzrq6CI+VX3/AqctFqOApj/UXGEYEu86SghBqpiMOc
/8riVB5QZ3in1cFyV9of0REzoGnm1ReO2i5zV9zAbyGvlGh00Qn4PckZjnuQw/WO
rQE=
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=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f173.google.com
MIME-Version: 1.0
X-Received: by 10.152.44.232 with SMTP id h8mr449149lam.104.1440418117611; Mon, 24 Aug 2015 05:08:37 -0700 (PDT)
In-Reply-To: <CAHV8iDFauqCe-aKZB6Ba1oJbOvvOr7M19ZyJJVu-t8DQ46f=ug@mail.gmail.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>
Date: Mon, 24 Aug 2015 13:08:37 +0100
Message-ID: <CAN=he+XN0qiLjm+K+0Qr13=GqtvAyJSArdFh873++1=dTjP35Q@mail.gmail.com>
Subject: Re: Some programs (vi, ssh) crash when screen buffer height is big
From: Philip Daniels <philip DOT daniels1971 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

> For various usability reasons (tabs being the biggest I think), I'm
> using ConEmu (https://github.com/Maximus5/ConEmu) and running bash
> directly from it. I am not sure if it's even possible to use mintty -
> it just might run console -> mintty -> bash, so might present the same
> issue - but will take a look at that to confirm.

> However, assuming it is not possible to run mintty under ConEmu and
> short of downsizing the window, do you know of any solutions /
> workarounds I have with the default console that I can try?

It *is* possible to run mintty under ConEmu. However, ConEmu is designed
as a wrapper around the windows console and doesn't understand Unix-style
terminals such as mintty. Therefore it runs mintty as a "graphical process",
basically reparenting its window. (You can run MS Paint in ConEmu in the
same way...). It works reasonably well, but recent builds of ConEmu exhibit
a problem with focus, moving between mintty instances with the keyboard
or mouse doesn't always move typing focus, which kinda undermines the
multi-tab approach. The problem occurs somewhere after ConEmu build
140109.

I have not tested it with the latest mintty or ConEmu though, so maybe
that problem has gone away? If you test it let us know.

As an example, this task will start 2 minttys in one tab, horizontally
split, using a theme file I have under my home directory and using
the Cygwin icon. CYGROOT is typically C:\Cygwin, of course. Note that
you need the leading ">", it is not part of email quotation!


> %CYGROOT%\bin\mintty.exe -c %USERPROFILE%\repos\dotfiles\colors\mintty-themes\SolarizedDark - -new_console:n:C:%CYGROOT%\Cygwin.ico

%CYGROOT%\bin\mintty.exe -c
%USERPROFILE%\repos\dotfiles\colors\mintty-themes\SolarizedDark -
-cur_console:s1THn:C:%CYGROOT%\Cygwin.ico


Because of the focus problems I am using ConEmu less now, I tend
to use tmux (though alas, that brings in its own separate problems due
to differing terminal emulations meaning some of my Emacs keybindings
don't work, grrrr).


On 21 August 2015 at 13:37, Sous Lesquels <a9f54d2 AT gmail DOT com> wrote:
> Thanks Warren.
>
>> After sending the window full-screen, lookee lookee:
>>
>> 2014/11/04 17:40:58 Ending cygwin install
>>    112 [main] vi 4424 C:\cygwin64\bin\vi.exe: *** fatal error - cmalloc would have returned NULL
>> /x: line 6:  4424 Hangup                  vi -c q /var/log/setup.log
>>
>> It happened on the first run, with a 317x85 window and 9999 lines of scrollback buffer.
>
> OK, at least it's reproducible by one more person :)
>
>> So why not run under mintty, then?  Cygwin runs better under mintty in general.
>
> For various usability reasons (tabs being the biggest I think), I'm
> using ConEmu (https://github.com/Maximus5/ConEmu) and running bash
> directly from it. I am not sure if it's even possible to use mintty -
> it just might run console -> mintty -> bash, so might present the same
> issue - but will take a look at that to confirm.
>
> However, assuming it is not possible to run mintty under ConEmu and
> short of downsizing the window, do you know of any solutions /
> workarounds I have with the default console that I can try?
>
> --
> 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
>



-- 
Philip Daniels.

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