|
From: | Peder Stray |
Subject: | Re: Binding left and right arrow keys |
Date: | Mon, 22 Dec 2008 11:44:48 +0100 (CET) |
User-agent: | Alpine 2.00 (LRH 1167 2008-08-23) |
On Mon, 22 Dec 2008, Dave Wood wrote:
I use the following: # C-left and C-right bindkey "\033[1;5C" next bindkey "\033[1;5D" prevThanks. These work but I have found a problem with some applications where it seems an application's keybinds override those of screen - mutt and vim in insert mode don't allow these binds to work. Is there some way of forcing screen binds to work no matter which application is running?I tried unbinding left and right in mutt but it didn't work.try the same lines but add -a, maybe that helps...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. -- Peder Stray
[Prev in Thread] | Current Thread | [Next in Thread] |