delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/04/08:15:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100304084449.GA11828@KCJs-Computer>
References: <20100304084449 DOT GA11828 AT KCJs-Computer>
Date: Thu, 4 Mar 2010 13:15:09 +0000
Message-ID: <416096c61003040515v732dc3h490546a8c8d123d3@mail.gmail.com>
Subject: Re: Odd behavior of mintty with screen
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Gary Johnson
>=C2=A0When I execute screen, however, the mintty
> window immediately shrinks from 157x49 to 80x49. =C2=A0This shrinking
> does not occur if I maximize the mintty window before executing
> screen.

I've had a quick look, and with TERM=3Dxterm-256color I find that screen
sends the DECCOLM sequence '\e[?3l' for putting a terminal into
80-column mode. For some reason, this doesn't happen with TERM=3Dxterm,
so there's one workaround. Another would be to find the relevant
setting in the screen terminal.

But there is an incompatibility with xterm here. Xterm ignores the
DECCOLM sequence by default and provides a separate control sequence
for allowing DECCOLM. I'll implement that for mintty 0.6.

Thanks for the report.

Andy

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