Two strings for the caption?

View: New views
3 Messages — Rating Filter:   Alert me  

Two strings for the caption?

by Yuki (aka Rubén Gómez) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!

Is there any option to have a 2 string caption? That's my configuration:
caption always
caption string "%{Bk}%-w%{kB}%n %t%{-}%+w      %=| %0c | %Y-%m-%d "

And when I have more than 12 windows opened, I have no datetime and I
don't see in which window I am. It's not a big issue, but I would
prefer to see all my windows instead of doing ^a " to list them all. I
think that with two caption string will be perfect. Any idea?

Thanks!


_______________________________________________
screen-users mailing list
screen-users@...
http://lists.gnu.org/mailman/listinfo/screen-users

Re: Two strings for the caption?

by A S-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/16, Yuki (aka Rubén Gómez) <rugoli@...>:

> Hello!
>
> Is there any option to have a 2 string caption? That's my configuration:
> caption always
> caption string "%{Bk}%-w%{kB}%n %t%{-}%+w      %=| %0c | %Y-%m-%d "
>
> And when I have more than 12 windows opened, I have no datetime and I
> don't see in which window I am. It's not a big issue, but I would
> prefer to see all my windows instead of doing ^a " to list them all. I
> think that with two caption string will be perfect. Any idea?
>
> Thanks!
>
>
> _______________________________________________
> screen-users mailing list
> screen-users@...
> http://lists.gnu.org/mailman/listinfo/screen-users
>

Well, you could use "caption string" to display the first part and
"hardstatus string" to display the second part of the output, like
this:
caption always
caption string "%{Bk}%-w%{kB}%n %t%{-}%+w      %="
hardstatus string "| %0c | %Y-%m-%d "


_______________________________________________
screen-users mailing list
screen-users@...
http://lists.gnu.org/mailman/listinfo/screen-users

Re: Two strings for the caption?

by A S-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Also to always see the current window:
#
caption string "%{kB}%n %t%{-}%+w%{Bk}%-w      %="
#
This way the current window is always shown first in line

2009/10/16, A S <adaszgred@...>:

> 2009/10/16, Yuki (aka Rubén Gómez) <rugoli@...>:
>> Hello!
>>
>> Is there any option to have a 2 string caption? That's my configuration:
>> caption always
>> caption string "%{Bk}%-w%{kB}%n %t%{-}%+w      %=| %0c | %Y-%m-%d "
>>
>> And when I have more than 12 windows opened, I have no datetime and I
>> don't see in which window I am. It's not a big issue, but I would
>> prefer to see all my windows instead of doing ^a " to list them all. I
>> think that with two caption string will be perfect. Any idea?
>>
>> Thanks!
>>
>>
>> _______________________________________________
>> screen-users mailing list
>> screen-users@...
>> http://lists.gnu.org/mailman/listinfo/screen-users
>>
>
> Well, you could use "caption string" to display the first part and
> "hardstatus string" to display the second part of the output, like
> this:
> caption always
> caption string "%{Bk}%-w%{kB}%n %t%{-}%+w      %="
> hardstatus string "| %0c | %Y-%m-%d "
>


_______________________________________________
screen-users mailing list
screen-users@...
http://lists.gnu.org/mailman/listinfo/screen-users