From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Accents through Mac OS Terminal
Date: Fri, 09 Feb 2007 01:13:47 +0100 [thread overview]
Message-ID: <87wt2sw5l0.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 1170978803.756384.103220@k78g2000cwa.googlegroups.com
googlegroups@juicer.orange-carb.org writes:
>> What terminal emulator do you use?
>>
>> I would advise you to upgrade to a more recent, (possibly second hand)
>> Macintosh, so you can run MacOSX.
>
> Sorry for the confusion. I'm on Mac OS X running Terminal.app.
Ah, good.
The problem is that emacs accepts by defaults 7-bit ASCII with the 8th
bit meaning Meta- is pressed.
So if you want to use the 8th bit to encode characters (be it
iso-8859-1 or multibyte like UTF-8), then you need to configure
Terminal.app to send an ESC for Meta- (you can do that in the Window
Preferences of Terminal.app, keyboard pane).
You should also configure the encoding used by Terminal.app, and set
the environment variables LC_ accordingly. For example, if you use
ISO-8859-1, you could set this environment variable:
LC_ALL=en_US.ISO-8859-1
export LC_ALL
emacs -nw -q
Normally, emacs should pickup these variables to decode the keyboard.
(Of course, substitute iso-8859-1 for the encoding you use and set in
the Window Preferences of Terminal.app; be sure to set the changes for
all the terminal windows).
--
__Pascal Bourguignon__ http://www.informatimago.com/
The mighty hunter
Returns with gifts of plump birds,
Your foot just squashed one.
next prev parent reply other threads:[~2007-02-09 0:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 23:40 Accents through Mac OS Terminal googlegroups
2007-02-08 23:49 ` Pascal Bourguignon
2007-02-08 23:53 ` googlegroups
2007-02-09 0:13 ` Pascal Bourguignon [this message]
2007-02-09 0:27 ` googlegroups
2007-02-09 10:05 ` Peter Dyballa
[not found] ` <mailman.4224.1171015605.2155.help-gnu-emacs@gnu.org>
2007-02-09 16:28 ` googlegroups
2007-02-09 17:12 ` Stefan Monnier
2007-02-12 21:16 ` googlegroups
2007-02-09 18:35 ` Pascal Bourguignon
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wt2sw5l0.fsf@thalassa.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).