Re: Key bindings for screen

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

 



On Fri, Oct 21, 2011 at 5:02 PM, Andras Simon <szajmi@xxxxxxxxx> wrote:
>> I have tried that too. For lines like these,
>>
>>  bind ^a^[[D prev
>>  bind ^a^[[C next
>>
>> I get an error like this:
>>
>>  bind character ^x, or (octal) \032 expected.
>
> Are you sure you need that ^a there? I'd think that's not part of the
> key. Also, if I were you, I'd try a simple key (one corresponding to a
> printable ascii character) first, not the cursor keys. Who knows what
> special syntax those need to be specified in.
>

I have tried that, without the ^a it simply ignores the cursor keys. :(
That said a line like this (with printable characters) work as expected:

bind ' ' windowlist -b

The above shows me the windowlist on pressing C-a <space> in screen.
Similarly this attempt to interchange C-a n and C-a p also works.

bind n prev
bind p next

Am I getting the cursor key codes wrong? I am getting the ASCII values
by quoting the cursor keys with C-v in bash. Is there a way to get the
octal numbers somehow?

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux