help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal


From: Stefan Monnier
Subject: Re: terminal
Date: Sun, 26 Mar 2006 23:20:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I try to use M-x keyboard-coding-system command on minibuffer, switching
> to iso-latin-1 or iso-8859-1 charset.  It works for accented chars but now
> alt is not recognized as meta key (it prints a strange symbol, like
> a diameter).

IIUC the problem is that you're using a terminal that's badly configured, so
it uses the 8th bit of data both for accented chars and for the meta-bit.
So M-i sends the exact same code (i.e. 233, aka E9) as é, so clearly Emacs
can't tell which was meant.

You have to change your terminal's settings so that it sends the meta bit
differently (typically by turning it into an ESC char such that M-i doesn't
send a single 233 byte but two bytes (27 and 105, corresponding to ESC and
i).  While you're at it, please repot this problem to whoever configured
your terminal (e.g. your distribution, or the original author).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]