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 LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned 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.

HTH

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

Hi all,

According to the manual:
https://www.gnu.org/software/screen/manual/html_node/Focus.html#Focus

"(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 :[

Cheers

GM

G. <liar666>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1