public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Philip Daniels <philip.daniels1971@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Some programs (vi, ssh) crash when screen buffer height is big
Date: Mon, 24 Aug 2015 12:08:00 -0000	[thread overview]
Message-ID: <CAN=he+XN0qiLjm+K+0Qr13=GqtvAyJSArdFh873++1=dTjP35Q@mail.gmail.com> (raw)
In-Reply-To: <CAHV8iDFauqCe-aKZB6Ba1oJbOvvOr7M19ZyJJVu-t8DQ46f=ug@mail.gmail.com>

> 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@gmail.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

  parent reply	other threads:[~2015-08-24 12:08 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 16:35 Sous Lesquels
2015-08-20 21:45 ` Warren Young
2015-08-20 22:21   ` Sous Lesquels
2015-08-20 22:36     ` Warren Young
2015-08-21 12:37       ` Sous Lesquels
2015-08-21 18:53         ` Warren Young
2015-08-21 21:41         ` Thomas Wolff
2015-08-24 12:08         ` Philip Daniels [this message]
2015-08-25 16:35           ` Sous Lesquels
2015-08-25 16:47             ` cyg Simple
2015-08-27 19:47               ` Sous Lesquels
2015-08-28 13:23                 ` Larry Hall (Cygwin)
2015-08-28 14:05                   ` Sous Lesquels
2015-08-28 18:50                     ` Larry Hall (Cygwin)
2015-08-28 21:31                       ` Sous Lesquels
2015-08-28 21:53                         ` Warren Young
2015-08-28 23:24                     ` Warren Young
2015-08-25 18:20             ` Andrey Repin
2015-08-27 20:00               ` Sous Lesquels
2015-08-28 14:48                 ` Andrey Repin
2015-08-28 21:09                   ` Sous Lesquels
2015-08-28 23:27                     ` Andrey Repin
2015-08-20 22:35   ` Andrey Repin
  -- strict thread matches above, loose matches on Subject: below --
2014-07-16 20:10 sous lesquels
2014-07-16 20:30 ` sous lesquels
2014-07-17  2:13   ` Christopher Faylor
2014-07-17  8:24   ` Corinna Vinschen
2014-07-18  3:28     ` Warren Young
2014-07-18 14:48   ` sous lesquels
2014-07-18 15:51     ` Larry Hall (Cygwin)
2014-07-18 16:59       ` sous lesquels
2014-07-18 17:59         ` Christopher Faylor
2014-07-18 18:48           ` Nellis, Kenneth
2014-07-18 20:35             ` sous lesquels
2014-07-21 12:32               ` Nellis, Kenneth
2014-07-23  0:50                 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=he+XN0qiLjm+K+0Qr13=GqtvAyJSArdFh873++1=dTjP35Q@mail.gmail.com' \
    --to=philip.daniels1971@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).