Key bindings for screen

Andras Simon szajmi at gmail.com
Fri Oct 21 15:02:30 UTC 2011


2011/10/21, suvayu ali <fatkasuvayu+linux at gmail.com>:
> Hi Andras,
>
> Thank you for your response.
>
> On Fri, Oct 21, 2011 at 3:15 PM, Andras Simon <szajmi at gmail.com> wrote:
>>
>> How about screen's own bind command (see man screen)?
>> I haven't used it, but that's what I would look at first.
>>
>
> 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 started screen with the default escape key, then I did C-a C-f
> followed by C-a : escape ^qq RET. I still got the same behaviour. :(
>
> Howeever, I will try to see if I can find something along these lines.

Good luck!

> Thanks for the hint.

You're welcome.

Andras


More information about the users mailing list