[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #53181] Window opened before setting hardstatus to l
From: |
Tyson Nottingham |
Subject: |
[screen-devel] [bug #53181] Window opened before setting hardstatus to lastline has incorrect number of lines |
Date: |
Sun, 18 Feb 2018 04:33:09 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
URL:
<http://savannah.gnu.org/bugs/?53181>
Summary: Window opened before setting hardstatus to lastline
has incorrect number of lines
Project: GNU Screen
Submitted by: tgnottingham
Submitted on: Sun 18 Feb 2018 09:33:08 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.3
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Details:
If you open a window using the screen command in your screenrc before you set
your hardstatus to use the (always)lastline option, the window won't set its
number of lines correctly to account for the hardstatus line. Consider this
screenrc:
screen 1
hardstatus alwayslastline "hi "
If you open screen on a 24 line terminal, the window opened as a result of the
"screen 1" command will have its number of lines set to 24 instead of 23 (stty
size reports 24 rows). That is, it won't reserve a line for the hardstatus
line.
Windows opened outside of the configuration file, or windows opened after
setting the hardstatus to use lastline, have the correct number of lines (stty
size reports 23 rows). Furthermore, if you open multiple windows in the
screenrc like so...
screen 1
screen 2
screen 3
hardstatus alwayslastline "hi "
...only "screen 3" is misconfigured.
I've observed this issue in version 4.03.01 and builds from git source as of
Feb 18 2018.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53181>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [screen-devel] [bug #53181] Window opened before setting hardstatus to lastline has incorrect number of lines,
Tyson Nottingham <=