[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi .. question about region fading

From: Bruno Cudini
Subject: Re: Hi .. question about region fading
Date: Wed, 15 Jun 2011 23:09:51 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]