On Mon, Jan 17, 2011 at 3:36 PM, Praveer Chaturvedi
<praveer.chaturv...@gmail.com> wrote:
> Hello,
> I would like to bind
> C-a n to C-<Right> (OR C-<Tab> )
> C-a p to C-<Left> (OR C-<Shift>-<Tab>)

I think you mean you want C-<Right> to trigger the 'next' command etc.?

> This would help me cycle through windows back and forth.
> I did not find enough examples in the manual to understand how to do that.
> My hit and trial with bind command fails asking for ASCII code of the key in
> octal.

You can press C-<Right> in cat, for example, to figure out the key
sequence it generates. For me, it generates \EOc (and \EOd for
C-<Left>). So I would use the following in my screenrc:

  bindkey \033Oc next
  bindkey \033Od prev

Cheers.
Sadrul

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

Reply via email to