Public bug reported:

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'

** Affects: screen (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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 other than 80.
+ 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'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to screen in Ubuntu.
https://bugs.launchpad.net/bugs/1309897

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1309897/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to