For When You Can't Have The Real Thing
[ start | index | login ]
start > screen > Stop Xterm Resizing

Stop Xterm Resizing

Created by dave. Last edited by dave, 4 years and 79 days ago. Viewed 2,864 times. #4
[diff] [history] [edit] [rdf]


When I start or reconnect to a screen session, my xterm or putty/kitty window resizes to 80 columns.

Better Solution:

Terminal -> Features -> Disable remote-controlled terminal resizing

Older Solution:

Add this to your .screenrc:

# Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
# (This fixes the "Aborted because of window size change" konsole symptoms found
#  in bug #134198)
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

Frankly I don't know what any of it means, but it works.


no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt