URL: <https://savannah.gnu.org/bugs/?67116>
Summary: hardstatus colors and highlighting haphazard and
inconsistent
Group: GNU Screen
Submitter: cyschubert
Submitted: Mon 12 May 2025 09:50:04 PM PDT
Category: User Interface
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.1
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 12 May 2025 09:50:04 PM PDT By: Cy Schubert <cyschubert>
See the following hardstatus:
hardstatus string '%{2;0}[%{+b2}%H%{-}][%=
%{7}%?%-Lw%?%{+b1}(%{+b7}%n%f%t%?(%u)%?%{-})%{-}%?%+Lw%?%=
%{-}]%{+b6}[%m/%d/%y %c]%{-}%{-}'
The above hardstatus correctly displays the hostname on the left. On the right
it correctly displays the date and time.
In the middle it is supposed to display the hostname or title as set by an
escape sequence, which it generally does. It is also supposed to enclose the
hostname with red brackets, highlighting the hostname.
The screen-4.9.1 hardstatus is shown below as an example. It works. But the
first hardstatus, above, for 5.0.1 does not work.
hardstatus string '%{gk}[%{G}%H%{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f
%t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[%m/%d/%y %c]%{W}'
Try them on their respective versions.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67116>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
