bugGNU Screen - Bugs: bug #66141, Trouble with harstatus under 5.0.0

 
 

bug #66141: Trouble with harstatus under 5.0.0

Submitter:  Cy Schubert <cyschubert>
Submitted:  Thu 29 Aug 2024 05:13:13 PM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 01 Sep 2024 12:00:48 PM UTC, comment #2: 

I had the same issue but discovered screen 5.0.0 is not even able to read an empty screenrc, see this bug (https://savannah.gnu.org/bugs/?66158) I  submitted. Maybe that's the real issue?

Claudio Ebel <prancing_gecko>
Fri 30 Aug 2024 11:20:09 PM UTC, comment #1: 

Is this closer to what you were wanting?


hardstatus string '%{2;0}[%{+b2}%H%{-}][%= %{7}%?%-Lw%?%{+b1}(%{+b7}%n%f %t%?(%u)%?%{-})%{-}%?%+Lw%?%= %{-}]%{+b6}[%m/%d/%y %c]%{-}%{-}'


Michael Kolassa <mkolassa>
Thu 29 Aug 2024 05:13:13 PM UTC, original submission:  

This is more a request for help rather than reporting a bug (though this could be a bug).

I'm looking to update my screen install from 4.9.1 to 5.0.0. Unfortunately my
hardstatus doesn't work.

My 4.9.1 hardstatus is:

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}'

I converted the color specifications to the following for 5.0.0. See below:

hardstatus string '%{2;0}[%{i2}%H%{2}][%= %{7;0}%?%-Lw%?%{=b 0;i1}(%{i7}%n*%f %t%?(%u)%?%{=b 0;i1})%{= 0;7}%?%+Lw%?%?%= %{2}]%{=b i6}[%m/%d/%y %c]%{i7}'

The issue is that it just doesn't work. From what I can tell the %? conditions no longer work.

I'm not a screenrc hardstatus expert, novice actually in that department. Someone else had sent a copy of this to me for inclusion into the FreeBSD port. It worked great with screen 4. But there's something I'm missing even after converting the colors from the letter notation to the number notation. But I simply can't identify it.

Can someone please review this and help me?

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 prancing_gecko (Posted a comment)
  • -email is unavailable- added by mkolassa (Posted a comment)
  • -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.14-04e1.
    Corresponding source code