[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tty emacs
From: |
Alan Mackenzie |
Subject: |
Re: tty emacs |
Date: |
Wed, 23 Apr 2003 08:00:47 +0000 |
User-agent: |
tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) |
Niels Freimann <nfreimann@firemail.de> wrote on Wed, 23 Apr 2003 07:38:24
+0200:
> Hi,
> emacs in tty mode (emacs -nw) obviously doesn't know
> C-prior and C-next. I already tried out
> (define-key function-key-map "\e[40~" [C-prior])
> (define-key function-key-map "\e[41~" [ C-next])
Presumably you're running in a tty window under X, but under which
operating system?. I run emacs directly on a Linux tty. I had to remap
my keyboard (with the program loadkeys) fairly radically to make it
produce different codes for [right] and [C-right], and so on. Maybe you
have to do this (or something similar) for emacs -nw.
> however its doesn't help. Any idea?
Well, tell us HOW it didn't help. :-) What exactly does happen?
Let me guess: C-prior does exactly the same as prior. After typing
these two key sequences, do a C-h l ('view-lossage') to see exactly what
key codes emacs received.
> -Niels
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
- tty emacs, Niels Freimann, 2003/04/23
- Re: tty emacs,
Alan Mackenzie <=