delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/04/13:28:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: Re: Odd behavior of mintty with screen
Date: Thu, 4 Mar 2010 18:27:58 +0000 (UTC)
Lines: 16
Message-ID: <loom.20100304T192035-906@post.gmane.org>
References: <20100304084449 DOT GA11828 AT KCJs-Computer> <416096c61003040515v732dc3h490546a8c8d123d3 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

> > When I execute screen, however, the mintty
> > window immediately shrinks from 157x49 to 80x49.  This shrinking
> > does not occur if I maximize the mintty window before executing
> > screen.
> 
> I've had a quick look, and with TERM=xterm-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=xterm,
> so there's one workaround. Another would be to find the relevant
> setting in the screen terminal.

Sure enough, the same thing happens with PuTTYcyg.  It's been annoying me for a
long time, but I've never tried to solve it.  For the legion of screen-256color
+ PuTTYcyg users out there, the solution is to go to the session properties and
check Terminal > Features > Disable remote-controlled terminal resizing.



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