[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: home and end not working Debian Sarge
From: |
Angelina Carlton |
Subject: |
Re: home and end not working Debian Sarge |
Date: |
Tue, 12 Jul 2005 14:55:18 -0400 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Look into /usr/local/share/emacs/<version>/lisp/term/vt100.el and then
> /usr/local/share/emacs/<version>/lisp/term/lk201.el how they translate
> multi-byte sequences like ^[[7~ or \e[7~ to something useful like home
> or end. If not (I just looked into lk201.el) just add it into your VT
> or terminal specific file. Copy one of them to a new file name
> according to the terminal (or emulation) type and then add your
> unknown keys there!
Thank you,
I had set $TERM to be xterm, even though I use urxvt, this makes screen
behave properly for some reason. Anyway adding..
(define-key function-key-map "\e[7~" [home])
(define-key function-key-map "\e[8~" [end])
to /usr/share/emacs/21.4/lisp/term/xterm.el works like a charm,
thanks again.
--
-----Angelina Carlton-----
orchid on irc.freenode.net
brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------