How can I make screen's statusbar show the windows without the - and $ characters?

Posted by subhashish on Super User See other posts from Super User or by subhashish
Published on 2010-12-30T14:52:55Z Indexed on 2010/12/30 14:56 UTC
Read the original article Hit count: 201

Filed under:
|

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 ]

© Super User or respective owner

Related posts about linux

Related posts about screen