From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re[2]: 8 bit input chars on tty broken Date: Fri, 19 Jul 2002 12:47:02 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200207191647.g6JGl2k07543@beta.siege-engine.com> References: <200207191256.g6JCuPa06692@beta.siege-engine.com> <200207191340.g6JDebJ15674@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1027097334 8881 127.0.0.1 (19 Jul 2002 16:48:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 16:48:54 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Vaw0-0002J7-00 for ; Fri, 19 Jul 2002 18:48:52 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Vb8S-0001bN-00 for ; Fri, 19 Jul 2002 19:01:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VavU-0002du-00; Fri, 19 Jul 2002 12:48:20 -0400 Original-Received: from choochoo.ultranet.com ([146.115.254.62] helo=beta.siege-engine.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VauL-0002cI-00 for ; Fri, 19 Jul 2002 12:47:10 -0400 Original-Received: (from zappo@localhost) by beta.siege-engine.com (8.11.6/8.11.2) id g6JGl2k07543; Fri, 19 Jul 2002 12:47:02 -0400 X-Authentication-Warning: beta.siege-engine.com: zappo set sender to eric@siege-engine.com using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200207191340.g6JDebJ15674@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) X-MIME-Autoconverted: from 8bit to quoted-printable by beta.siege-engine.com id g6JGl2k07543 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5904 >>> "Stefan Monnier" seems to think t= hat: >> I got a new CVS build running a couple days ago (21.3.50.1) after >> running 21.1.x for quite some time. In the transition, 8 bit input >> chars on a TTY lost their meta-ness. Thus, I press ALT-X which >> creates an 8 bit character, and it inserts a circle with a line >> through it instead of providing my favorite prompt. > >What happens if you do the same ALT-X in another application (like bash)= ? >What happens if you use something like Multi_key a o (which should >insert a latin-1 =E5 if you) or use some other non-Emacs input method >to type a latin-1 char (in bash and in Emacs) ? >What terminal is it ? What are your locale setting ? Emacs 21.1 created the M-x prompt. Tcsh also creates the funny characters. >The reason you see this, is mentioned in the NEWS file: > > ** The keyboard-coding-system is now automatically set based on > your current locale settings. If it turns out that your terminal > does not support the encoding implied by your locale (for example, > it inserts non-ASCII chars if you hit M-i), you will need to add > > (set-keyboard-coding-system nil) > > to your .emacs to revert to the old behavior. [ ... ] You are right. This fixed my 8 bit meta-ness. I did not see it when looking through the news file as I was using search keywords such as "8" "input" and some other terms I remember being used for this type of thing. My environment from the SHELL buffer has this in it (after removing useless stuff): TERM=3Ddumb TERMCAP=3D COLUMNS=3D80 EMACS=3Dt HOME=3D/home/zappo OSTYPE=3Dlinux HOSTTYPE=3Di386-linux SHELL=3D/bin/tcsh SUPPORTED=3Den_US:en LANG=3Den_US It looks like SUPPORTED/LANG is possibly involved, but it seems odd to remove support for US English to get meta back. Thanks for the quick response. I was putting a lot of funny characters in my buffers. Eric --=20 Eric Ludlam: zappo@gnu.org, eric@siege-engine.c= om Home: www.ultranet.com/~zappo Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org