From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17239 invoked by alias); 24 Aug 2015 12:08:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17224 invoked by uid 89); 24 Aug 2015 12:08:43 -0000 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 Received: from mail-lb0-f173.google.com (HELO mail-lb0-f173.google.com) (209.85.217.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 24 Aug 2015 12:08:41 +0000 Received: by lbbtg9 with SMTP id tg9so78693327lbb.1 for ; Mon, 24 Aug 2015 05:08:37 -0700 (PDT) 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) Received: by 10.114.92.37 with HTTP; Mon, 24 Aug 2015 05:08:37 -0700 (PDT) In-Reply-To: References: <26A19798-1F20-4D52-A311-C8312E0D4621@etr-usa.com> <6DC9320F-4DCC-47E4-AB8C-3158EBD6260E@etr-usa.com> Date: Mon, 24 Aug 2015 12:08:00 -0000 Message-ID: Subject: Re: Some programs (vi, ssh) crash when screen buffer height is big From: Philip Daniels To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00392.txt.bz2 > 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 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