[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tty emacs
From: |
pclouds |
Subject: |
Re: tty emacs |
Date: |
Wed, 23 Apr 2003 17:44:31 +0700 |
User-agent: |
Mutt/1.4i |
On Wed, Apr 23, 2003 at 08:00:47AM +0000, Alan Mackenzie wrote:
> 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.
Could you show me how to do that? I'm using Emacs on a Linux tty too,
and have the same problem with [right], [C-right].
>
> > 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").
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
--
Bi Cờ Lao