[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: |
Mon, 22 Dec 2008 12:16:53 +0000 |
User-agent: |
Mutt/1.5.18 (2008-12-10) |
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).
--
Peder Stray
_______________________________________________
screen-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users
--
Congratulations! You have purchased an extremely fine device that
would give you thousands of years of trouble-free service, except that
you undoubtably will destroy it via some typical bonehead consumer
maneuver. Which is why we ask you to PLEASE FOR GOD'S SAKE READ THIS
OWNER'S MANUAL CAREFULLY BEFORE YOU UNPACK THE DEVICE. YOU ALREADY
UNPACKED IT, DIDN'T YOU? YOU UNPACKED IT AND PLUGGED IT IN AND TURNED
IT ON AND FIDDLED WITH THE KNOBS, AND NOW YOUR CHILD, THE SAME CHILD
WHO ONCE SHOVED A POLISH SAUSAGE INTO YOUR VIDEOCASSETTE RECORDER AND
SET IT ON "FAST FORWARD", THIS CHILD ALSO IS FIDDLING WITH THE KNOBS,
RIGHT? AND YOU'RE JUST NOW STARTING TO READ THE INSTRUCTIONS,
RIGHT??? WE MIGHT AS WELL JUST BREAK THESE DEVICES RIGHT AT THE
FACTORY BEFORE WE SHIP THEM OUT, YOU KNOW THAT?
-- Dave Barry, "Read This First!"
- Binding left and right arrow keys, Dave Wood, 2008/12/19
- 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 <=
- Re: Binding left and right arrow keys, Peder Stray, 2008/12/22
- Re: Binding left and right arrow keys, Dave Wood, 2008/12/22