From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.help Subject: Emacs, terminal, and terminal coding schemes Date: Thu, 19 Dec 2002 22:13:55 +0100 Organization: RWTH Aachen Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1040332599 21184 80.91.224.249 (19 Dec 2002 21:16:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2002 21:16:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18P820-0005VM-00 for ; Thu, 19 Dec 2002 22:16:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18P81X-00046s-09 for gnu-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2002 16:16:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.rwth-aachen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: s3m121.dialup.rwth-aachen.de Original-X-Trace: nets3.rz.RWTH-Aachen.DE 1040332428 28252 137.226.7.121 (19 Dec 2002 21:13:48 GMT) Original-X-Complaints-To: abuse@rwth-aachen.de Original-NNTP-Posting-Date: 19 Dec 2002 21:13:48 GMT User-Agent: KNode/0.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:108308 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4836 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4836 Halloechen! Just deleted my GNU Emacs 20 and installed GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) I'm a console terminal user. I mostly use it in the XTerm ("Konsole 1.0.1 (KDE 2.1.2)"), but also in the ordinary text mode terminal. Two major problems: 1. My terminals use latin-9 (German environment). My .emacs contains (codepage-setup "850") (prefer-coding-system 'cp850-dos) (prefer-coding-system 'iso-latin-1) ; (set-language-environment "Latin-9") (if (eq window-system nil) (set-terminal-coding-system 'latin-1)) (if (eq window-system nil) (set-keyboard-coding-system 'latin-1)) But when I change this to "latin-9" all characters (even thost that are common in latin-1 and -9) turn into "?". What am I doing wrong? 2. In the xterm, my keyboard layout must be latin-1 apparently. On the tty console this is wrong and should be cp850 instead. How can I create .emacs code that can handle both? Thank you! Tschoe, Torsten.