Re: Hi .. question about region fading

Bruno Cudini <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On Mon, Jun 13, 2011 at 01:22:53PM +0300, Vladimir Todorov wrote:
>    Hi there,
> 
>    I am new to this mailing list.
>    I have a question about screen.
>    Generally when I use screen I have several regions opened. Currently I
>    have made my hard status line display which are my opened virtual consoles
>    and which console I am using at the moment. And the caption line displays
>    the name of the console.� I also use tilda to hide and show the console in
>    which screen is running. The problem is that when I open up the console I
>    cannot understand which region is currently active before I type something
>    in. So I was wondering if there is a way to somehow fade the inactive
>    regions (the regions that has no focus) or put something in the caption
>    that says that the region is inactive/active? Also is there a way to make
>    a message appear in the center of a region stating that the region has
>    gained focus when I press CTRL+A TAB (something like the feature in
>    ratpoison)? It would be useful If there was an option that draws a thin
>    red border around the active region. And one more question. Is CTRL+A TAB
>    the only way I can cycle through regions?
> 
>    Thank you for your help.
> 
>    Regards,
>    Vladimir

I think you may use %F to highlight the current region. I use it to 
define the active caption as blue, and the other ones as gray:
caption "%?%F%{.bW}%:%{.Kg}%? ..."

I like using shift and arrows to cycle through regions. My
xfce4-terminal needed to be tuned, to disable scrolling back with shift
up/down, and then it worked perfectly:
bindkey "\033O2A" focus up
bindkey "\033O2B" focus down
bindkey "\033O2D" focus left
bindkey "\033O2C" focus right

_______________________________________________
screen-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.