Support screen 5.0 - #252
Conversation
This is the screen v4 default. Given v5 has removed it and adds no value in v4, drop it.
screen v5 removes "nethack on", thus hard-coding the previous default of "nethack off". Lets keep the anticipated diff between versions smaller and drop nethack.
4.x is found in almost all distributions currently. Lets keep the files around for a while - 5.x introduces breaking changes.
|
openqa-tests will need new needles after this for the flags change :-/ |
Add loadavg-screen backtick program, as %l is gone. The colors/formatting of the caption/hardstatus lines are almost the same, barring brightness on green. Some things like +b seem to no longer work as documented, so put b into each color string. % no longer seems to need the -21 (and actually break when thats present). Additionally, screen v5 seems to put "*" into the %f flags of the currently selected window, so we don't have to do it ourselves anymore. OTOH we get a useless "*" in the flags of the leftmost current window display too.
I think the only question is if users want screenrc and/or screenrc_generic? Without the /usr/bin scripts screenrc (and thus screenrc_v4) is probably pointless?
Indeed. fixed now.
Yeah that needs an update. I guess we have this file "only" to present a blue username instead of a red user? maybe we can drop that difference? |
|
Should close #251 when merging. |
mika
left a comment
There was a problem hiding this comment.
Thanks, LGTM for root user, verified on Debian/testing based daily Grml ISO.
We shouldn't forget about our /etc/skel./.screenrc we ship via grml-live nowadays, as noted in #252 (comment)
I was wondering if we can do a bit of sed magic in d/rules to produce the user screenrc. grml-live can still copy it into the right place, but then we don't have two places with the almost same file. (I know I probably moved the file incl. the rest of skel to grml-live...) |
|
@mika could you update your console blog post? |
@zeha @jkirk Sure, thanks for the reminder! So we currently have We're handling this through https://github.com/grml/grml.org/blob/master/static/console/.htaccess, and also have https://github.com/grml/grml.org/blob/master/static/scripts/grml-config.sh in place. Should we add support for |
I think that's the best we can do :( |
grml/grml.org#154 should add the redirect |







Add loadavg-screen backtick program, as %l is gone. The colors/formatting of the caption/hardstatus lines are almost the same, barring brightness on green. Some things like +b seem to no longer work as documented, so put b into each color string. % no longer seems to need the -21 (and actually break when thats present).
Additionally, screen v5 seems to put "" into the %f flags of the currently selected window, so we don't have to do it ourselves anymore. OTOH we get a useless "" in the flags of the leftmost current window display too.
Maybe we don't need screenrc_v4 at all?