On (11:44 22/12/08), Peder Stray <peder+scr...@ifi.uio.no> put forth the
proposition:
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" prev
Thanks. 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.
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...
--
Peder Stray
_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users
--
"I can't decide whether to commit suicide or go bowling."
-- Florence Henderson
_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users