[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hardstatus question
From: |
Jostein Berntsen |
Subject: |
Re: hardstatus question |
Date: |
Fri, 14 Oct 2011 18:42:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 14.10.11,09:17, todd freed wrote:
> On Fri, Oct 14, 2011 at 8:43 AM, Jostein Berntsen <address@hidden> wrote:
> > On 13.10.11,10:25, todd freed wrote:
> >> Hello,
> >>
> >> In your .screenrc you can use "hardstatus" to set your hardstatus
> >> line, using the STRING ESCAPES as documented in man screen.
> >>
> >> My question is about the %w option, which is supposed to be the number
> >> and name of each window.
> >>
> >> It appears that the text generated by %w for each window is truncated
> >> at 20 characters. Is it possible to change this? I think 30-35 would
> >> be more useful in my case.
> >>
> >
> > My hardstatus line is
> >
> > hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %c %Y%m%d
> >
> > Would that work better for you?
> >
> >
> > Jostein
> >
> >
> >
> > _______________________________________________
> > screen-users mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/screen-users
> >
>
> Joe,
>
> could you explain how, if at all, it addresses the problem I brought
> up? I see a -w and a +w. Should still expand to 20 characters per
> window, right?
>
> -Todd
>
Sorry, a line like this should work better:
hardstatus string '%{= kG}%-Lw%{= kW}%-30> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D
%m/%d/%y,%C:%s %A,%1`%{-}'
The "%-30" setting then reserves 30 characters to the right.
Jostein