[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 14:40:52 +1100 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
Hi,
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.
Cheers
--
Kind Regards
AndrewM
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
http://www.affinityvision.com.au
http://adsl2choice.net.au
In Case of Emergency -- http://www.affinityvision.com.au/ice.html