screen changes terminal width on launch with TERM=xterm-256color

Bug #1309897 reported by ChanMin Kim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
screen (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 14.04 LTS
GNU bash, version 4.3.8(1)-release (x86_64-pc-linux-gnu)
Screen version 4.01.00devel (GNU) 2-May-06

Screen changes terminal width on launch. I was using default configurations of screen. (no .screenrc in home directory)

steps

1. Change the terminal width to other than 80.
2. Type "export TERM=xterm-256color" in the shell.
3. Type "screen".
4. now it changes the terminal width to 80.

I have found that changing a line in /etc/screenrc helps. (no more resizing on screen launch)

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

ChanMin Kim (kcm1700)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.