all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pascal Bourguignon <usenet@informatimago.com>
Subject: Re: terminal
Date: Sun, 26 Mar 2006 18:54:10 +0200	[thread overview]
Message-ID: <87psk9f8p9.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 1143373355.569148.162370@i39g2000cwa.googlegroups.com

"gaetanoortisi@yahoo.it" <gaetanoortisi@yahoo.it> writes:
> I have emacs on slackware 10.2 and I need support for iso 8859 1 chars
> like accented e.
> On xterm these characters appear normally, but in emacs when I type
> accented e is like
> I type C-p. I check the FAQ, and try the set-terminal-coding-system and
> set-language-environment
> commands, but it seems not work. What I have to do?

emacs use the meta key intensively.  
There is no ASCII code corresponding to this key.

So there are two way to send a meta key to emacs, from a terminal:
1- send ESC followed by the meta-chord characters.  
2- send the meta-chord characters with the high bit set.

This should be configurable in your terminal emulator.

Accented characters in ISO-8859-1 have this high bit set, so emacs
takes them as meta chords.


In emacs, meta-prefix-char specifies the character used for meta (ESC
by default, but it could be another).  You probably want to leave it
as it is.


What you need to set in emacs, to match your iso-8859-1 terminal, is
the keyboard-coding-system.  Put this in your ~/.emacs:

(when (null window-system) (setq keyboard-coding-system 'iso-8859-1))

and set your terminal to send ESC for meta.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein

  parent reply	other threads:[~2006-03-26 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-26 11:42 terminal gaetanoortisi
2006-03-26 13:29 ` terminal Peter Dyballa
2006-03-26 16:54 ` Pascal Bourguignon [this message]
2006-03-26 19:31   ` terminal gaetanoortisi
2006-03-27  4:20     ` terminal Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87psk9f8p9.fsf@thalassa.informatimago.com \
    --to=usenet@informatimago.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.