Disable screen in CentOS to change the window size when creating a new window

Source: Internet
Author: User

Disable screen in CentOS to change the window size when creating a new window

Disable screen in CentOS to change the window size when creating a new window

When you use screen in Centos, such as Xshell or Putty, the size of the window is changed, which is very annoying. You can modify the size of the window as follows so that it does not change.

Edit/etc/screenrc or ~ /. Add the following code to 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'

Linux Screen: Recording Screen logs

Screen details:

Linux Screen ultra-Concise tutorial

Common Screen commands in Linux

Zabbix sends Screen graphical reports by email

Linux virtual terminal command Screen usage

Linux tips: use Screen to manage your remote sessions

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.