Red Hat Bugzilla – Bug 60597
screen's default hardstatus line uninformative
Last modified: 2007-04-18 12:40:42 EDT
screen-3.9.9-3 (and others)
It would be nice if screen's default hardstatus were more informative.
Perhaps you could add the following two lines to /etc/screenrc:
hardstatus string "[screen %n] %h"
For comparison, the current default is to have defhstatus unset and the
hardstatus line set to "%h".
I would to propose using "%w" instead of "%h" (or at least "%t" in view of
bug 60596 ;-), since having a list of screen windows in the title line is
most useful IMHO.
How about a comprimise? Change the default defhstatus and hardstatus string
settings in /etc/screenrc to:
hardstatus string "[screen %n: %t] %h"
Which for a bash session would result in a title like:
[screen 0: bash] user@host:~/foo
That would be ok, but I think it would be more information having the window
list in the title.
Ok,.. ahev you two sorted out what you want in this yet?
If not it's going out as is
I would prefer
hardstatus string "[screen %n%?: %t%?] %h"
(the %?%? suppresses the colon-space when the title is null)
I would rather not keep the screenlist up all the time b/c for many people this
will read "0* bash 1 bash 2 bash 3 bash", which is just not all that helpful.
People that know enough to manually set the title (^AA) to something
interesting should also know enough to manually get a window list (^Aw). Those
that really care can edit their .screenrc.
No default can be perfect for every situation, but I really think this one is
the better choice for now.
ok.. screen-3.9.11-9 is born,.. should be in rawhide in the morning or you can
nab it from beehive/comps/dist/8.0/screen in a few minutes