From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Accents through Mac OS Terminal Date: Fri, 09 Feb 2007 01:13:47 +0100 Organization: Informatimago Message-ID: <87wt2sw5l0.fsf@thalassa.informatimago.com> References: <1170978048.802591.176360@v33g2000cwv.googlegroups.com> <874ppwxl96.fsf@thalassa.informatimago.com> <1170978803.756384.103220@k78g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170981804 23662 80.91.229.12 (9 Feb 2007 00:43:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 00:43:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 09 01:43:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HFJrF-0004vy-E5 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 01:43:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFJrF-0005Iz-8R for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Feb 2007 19:43:21 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-X-Trace: individual.net C3rQ3dc9St5oDjY4gT/n0w5GDs3kFTWA7BFqhAOiLawbw4MGzi Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:c3kbH7oXdVbI+qxOVt0ziD9mFZw= Original-Xref: shelby.stanford.edu gnu.emacs.help:145390 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40995 Archived-At: 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.