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