Bug 1314517 - set the session name with 'sessionname' on configuration file lock the terminal resizing
Summary: set the session name with 'sessionname' on configuration file lock the termin...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: screen
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Vaclav Dolezal
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1358241 1420851 1473733
TreeView+ depends on / blocked
 
Reported: 2016-03-03 19:55 UTC by João Avelino Bellomo Filho
Modified: 2019-06-26 08:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1358241 (view as bug list)
Environment:
Last Closed: 2019-06-26 08:16:16 UTC
Target Upstream Version:
jridky: needinfo+


Attachments (Terms of Use)

Description João Avelino Bellomo Filho 2016-03-03 19:55:09 UTC
Description of problem:

When the 'sessionname' is used to set the session name of a new screen session the terminal resizing works on window, but the 'tput' command still showing the initial size.

Version-Release number of selected component (if applicable):

screen-4.1.0-0.23.20120314git3c2946.el7_2.x86_64

How reproducible:


Steps to Reproduce:
1. Open a new window, could be used 'gnome-terminal' or 'xterm' command:

$ xterm

2. Create a screen configuration file setting a session name:

$ cat /tmp/screen-testing.rc 
sessionname TESTING

3. Execute the 'screen' command setting the configuration file and check the current terminal size:

$ screen -c /tmp/screen-testing.rc 
$ tput lines
24
$ tput cols
80

4. Resize the window and execute the 'tput' commands again:

$ tput lines
$ tput col

Actual results:
$ tput lines
24
$ tput cols
80

Expected results:
$ tput lines
34
$ tput cols
101

Additional info:

Comment 2 Tim Speetjens 2016-05-25 08:33:33 UTC
This issue seems to exist on RHEL5, RHEL6 and RHEL7.

Do we have an upstream bug for this?

Thanks

Comment 10 Josef Ridky 2018-11-07 07:52:14 UTC
Assigning to new maintainer.


Note You need to log in before you can comment on or make changes to this bug.