bugGNU Screen - Bugs: bug #67116, hardstatus colors and highlighting...

 
 

bug #67116: hardstatus colors and highlighting haphazard and inconsistent

Submitter:  Cy Schubert <cyschubert>
Submitted:  Tue 13 May 2025 04:50:04 AM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  5.0.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 May 2025 09:07:49 PM UTC, comment #1: 

A FreeBSD user discovered a workaround with,

hardstatus string '%{2;0}[%{+b10;0}%H%{-}][%= %{7;0}%?%-Lw%?%{+9;0}(%{+15;0}%n%f %t%?(%u)%?%{-})%{-} ^H%?%+Lw%?%= %{-}]%{+b14;0}[%m/%d/%y %c]%{-}%{-}'

We can close this bug.

Cy Schubert <cyschubert>
Tue 13 May 2025 04:50:04 AM UTC, original submission:  

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.

Cy Schubert <cyschubert>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cyschubert (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code