[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

putty+ssh+screen = auto resizing?

From: Andrew McGlashan
Subject: putty+ssh+screen = auto resizing?
Date: Tue, 28 Dec 2010 02:13:07 +1100
User-agent: Thunderbird (Windows/20100228)


I just come across this problem.

And I've worked out the solution.

In my case, a putty session that worked perfectly has TERM set as xterm
and ones that gave the resize issue were xterm-color ... that was the
only difference in the setups.

So, I worked on this and found that all I needed to do was adjust
/etc/screenrc as follows.

old line:
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

new line (added * character)
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

Leading to this discovery, I tried changing TERM from xterm-color to
xterm and the desired behaviour took place; then I worked through
screenrc settings as necessary to get the "good" solution for this problem.


Kind Regards

Andrew McGlashan
Broadband Solutions now including VoIP

Current Land Line No: 03 9912 0504
Mobile: 04 2574 1827 Fax: 03 9012 2178

National No: 1300 85 3804

Affinity Vision Australia Pty Ltd

In Case of Emergency --

reply via email to

[Prev in Thread] Current Thread [Next in Thread]