RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
Embargoed:
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.