delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/31/11:46:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,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: screen and mintty window size
Date: Thu, 31 Jan 2013 11:46:16 -0500
Lines: 19
Message-ID: <3n7lg8lbfm4ro7p0bf27fcdl64vl9ct27h@4ax.com>
References: <CAJtt6Bjy9jLX32zuJdxwuuS=8==AWWPN9hxaxO8pQTUFHU7exQ AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Archive: encrypt
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

> Hello,
> 
> When 'screen' is running in a mintty window and I resize it, screen
> understandably uses the old window geometry. Is there a way to tell
> screen to update its geometry? I've searched for this many times but
> 'screen' is too generic to narrow down the result set (I get a lot of
> monitor-related answers). Perhaps another cygwin user has figured this
> out.

Hm, this works for me without any customization.  I think it's a terminfo
thing.

In mintty, when you go to Options > Terminal, what does Type say?  Mine is
xterm-256color.  Try setting this to xterm or xterm-256color, then starting
a new screen session and see if that fixes it.

Within screen my $TERM is screen-256color, but I don't think that matters.

Andrew


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