bugGNU Screen - Bugs: bug #43524, Screen keybindings


bug #43524: Screen keybindings

Submitted by:  G. <liar666>
Submitted on:  Tue 04 Nov 2014 09:43:45 AM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 04 Nov 2014 05:28:42 PM UTC, comment #1:

The manual does need to be updated, and I did try to address this in bug #29430.

Following vi traditions, try adding these keybindings:

bind h focus left
bind l focus right

You can also try experimenting with focus next and focus prev.


Curtis Brown <mrbrown8>
Tue 04 Nov 2014 09:43:45 AM UTC, original submission:

Hi all,

According to the manual:

"(C-a <Tab>)
Move the input focus to the next region. This is done in a cyclic way so that the top region is selected after the bottom one. If no subcommand is given it defaults to `down'. `up' cycles in the opposite order, `top' and `bottom' go to the top and bottom region respectively. Useful bindings are (j and k as in vi)
bind j focus down
bind k focus up
bind t focus top
bind b focus bottom"

I've bound "C-a p" to "focus up" and "C-a n" to "focus down"... And they do exactly what is said: they switch to the top/bottom region, but NEVER to the region on the right or on the left and they never go back to an lower/upper region.
On the contrary, the default C-a <Tab> focuses alternatively on each region of the whole list of regions, going up/down/top/bottom if necessary and cycling through the list...

As a conclusion, that means that, contrarily to what the documentation says:
1. "focus <argument>" does not follow a cycle process;
2. "focus" with no argument does not behave by default as "focus down"...

So either the documentation or the implementation is wrong...

This is particularly annoying, since I'm trying to bind a key to a command that would cycle through the whole list of regions, but in reverse order (in order not to have to go through a cycle of X (>>2) "C-a <Tab>" to reach the previous region), but such a command actually doesn't exist :[



G. <liar666>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mrbrown8 (Posted a comment)
  • -email is unavailable- added by liar666 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3