[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding left and right arrow keys
From: |
Dave Wood |
Subject: |
Re: Binding left and right arrow keys |
Date: |
Tue, 23 Dec 2008 02:01:58 +0000 |
User-agent: |
Mutt/1.5.18 (2008-12-10) |
On (23:22 22/12/08), Peder Stray <address@hidden> put forth the proposition:
On Mon, 22 Dec 2008, Dave Wood wrote:
On (12:56 22/12/08), Peder Stray <address@hidden> put forth
the proposition:
On Mon, 22 Dec 2008, Dave Wood wrote:
Your codes don't seem to be working. How did you find the
codes? Is there a lookup table somewhere on the www? I think
control codes depend on the terminal in use.
i used cat, just started it, and pressed the key i wanted the
code for, like this (after pressing C-left and C-right):
cat
^[[1;5D^[[1;5C
^[ is of cource \033.
When I do that it shows ^[[D and makes no difference if I am
pressing control or not. This probably explains why it doesn't work
for me. But, it must be reading control somewhere or C-a wouldn't
work...
All Ctrl-A to Z are the single ascii characters from \001 and up, so
they always come through, but all other combinations are usually some
escape sequence. It's probably your terminal emulator that hasn't
got any escape sequence for C-left or C-right then. Which termial do
you use?
I'm using plain linux terminal (no X).
Yeah, seems it doesn't have special escape sequences for either control
og shift + arrow keys. Not sure if you can define you own sequences
there though.
Yes it's strange the codes don't show. But I know that applications have
access to them or screen and emacs wouldn't work at all with default
settings. I will try look into this more perhaps.
--
Peder Stray
_______________________________________________
screen-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users
--
Lysistrata had a good idea.
- Re: Binding left and right arrow keys, (continued)
- Re: Binding left and right arrow keys, William Pursell, 2008/12/21
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/21
- Re: Binding left and right arrow keys, Dave Wood, 2008/12/21
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/21
- Re: Binding left and right arrow keys, Dave Wood, 2008/12/21
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/22
- Re: Binding left and right arrow keys, Dave Wood, 2008/12/22
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/22
- Re: Binding left and right arrow keys, Dave Wood, 2008/12/22
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/22
- Re: Binding left and right arrow keys,
Dave Wood <=