screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with harstatus under 5.0.0


From: Cy Schubert
Subject: Trouble with harstatus under 5.0.0
Date: Thu, 29 Aug 2024 07:26:07 -0700

Hi,

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?


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

                        e^(i*pi)+1=0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]