bugGNU Screen - Bugs: bug #48570, set the session name with...


bug #48570: set the session name with 'sessionname' on configuration file lock the terminal resizing

Submitted by:  None
Submitted on:  Wed 20 Jul 2016 10:35:15 AM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 31 Jan 2018 08:47:33 AM UTC, comment #3:

Do you have some idea about solution of this issue?
Is it screen or perhaps terminal related issue?

Josef Ridky <jridky>
Sun 24 Jul 2016 09:45:16 AM UTC, comment #2:

No need to make separate config, it seems calling sessionname in running screen is enough to reproduce.

Amadeusz Sławiński <amade>
Project Administrator
Wed 20 Jul 2016 10:51:48 AM UTC, comment #1:

I apologise, I forget to login before bug submition.

Feel free to contact me (add comment to this bug) if you have its solution.


Josef Ridky <jridky>
Wed 20 Jul 2016 10:35:15 AM UTC, original submission:

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:

screen-4.1.0 and higher

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
$ tput cols

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

$ tput lines
$ tput col

Actual results:
$ tput lines
$ tput cols

Expected results:
$ tput lines
$ tput cols

Can anyone help how to solve it?
Josef Ridky



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by jridky (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Jul 2016 09:45:16 AM UTCamadeStatusNone=>Confirmed
    Wed 20 Jul 2016 10:56:30 AM UTCjridkyCarbon-CopyRemoved jridky=>-
    Wed 20 Jul 2016 10:51:48 AM UTCjridkyCarbon-Copy-=>Added jridky

    Back to the top

    Powered by Savane 3.1-cleanup1