Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the following in my .screenrc file

hardstatus string '%{= kw}[%{r} %d/%m/%Y %C %A %{w}] [%= %{= kw}%-Lw%{= kW}%{r}%n:%t%?%?%{= kw}%?%+Lw%?%?%= ] [ %{r}%l%{w} ]%{w}%{w}'

and the statusbar shows up as

[ 30/12/2010  8:24 PM ] [                                       0$ bash  1-$ bash  2:bash                                        ] [ 0.00 0.03 0.04 ]

I want it like this instead:

[ 30/12/2010  8:24 PM ] [                                       0:bash  1:bash  2:bash                                        ] [ 0.00 0.03 0.04 ]
share|improve this question
    
Is this gnome panel, byobu, what? –  digitxp Dec 30 '10 at 15:03
    
Neither. It's GNU screen –  subhashish Dec 30 '10 at 15:10

1 Answer 1

Try this:

hardstatus string '%{= kw}[%{r} %d/%m/%Y %C %A %{w}] [%= %{= kw}%-w%{r}%n:%t%{= kw} %+w%= ] [ %{r}%l%{w} ]'

The main thing is to remove the "L" in both places. It is what causes the status characters to be displayed. The colon will only be displayed on the current window. I removed a few extraneous things, too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.