From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: utf text console - control-g does not work any longer Date: Thu, 12 May 2005 18:38:54 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: <8764xplc13.fsf@pp.ppetersen-usenet76543.de> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115929650 13284 80.91.229.2 (12 May 2005 20:27:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 May 2005 20:27:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 12 22:27:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DWKFt-000769-TL for geh-help-gnu-emacs@m.gmane.org; Thu, 12 May 2005 22:26:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWKOu-0005IF-60 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 May 2005 16:35:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!informatik.tu-muenchen.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 86 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1115929610 31059 193.149.49.134 (12 May 2005 20:26:50 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 12 May 2005 20:26:50 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:130884 Original-To: help-gnu-emacs@gnu.org 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:26543 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26543 Peter Petersen wrote on Wed, 11 May 2005 22:53:44 +0200: > Hello, > I decided to use Gnus in a Linux text console. Excellent choice! How about the rest of Emacs? (I use ISO-8859-1 on a Linux console.) > The reasons are: > - all the fonts for Emacs and/or XEmacs when under X are either too big > or too small; there are just not enough intermediate font sizes, and my > eyes are very sensitive > - when running Emacs and/or XEmacs in "gnome-terminal" the fonts look > way better and have many more intermediate steps (so font size is no > longer an issue!), but my eyes start to hurt or I get a headache (thanks > to anti-aliasing, I fear - though switching it off is no solution, > because fonts look ugly then in Emacs AND in web browsers!) Anti-aliasing - that's that thing where all the characters are made to look blurred, isn't it? YUCK! It's always amazed me that people with GUIs have such trouble with fonts when a simple 8x16 pixel grid on a text console gives such good results. > Now enough with that, let's get to my problem with Gnus (or Emacs, this > is no Gnus specific issue!) in a Linux text console: > I managed to get good utf support (for reading post in utf-8 AND for > typing in all the characters (Umlaute, tilde etc.) I want) by using > filterm and its dynafont filter. > I launch Gnus like this: > LC_CTYPE=de_DE.utf8 exec filterm - dynafont emacs -nw --eval > "(set-keyboard-coding-system 'latin-9)" -f gnus-unplugged "$@" I don't have LC_CTYPE, but when I execute the (set-keybo... thingy, I have no trouble with C-g. But then, I don't use filterm (whatever it is). > (I need the "exec", by the way, when using a bash script - otherwise, it > doesn't work...) > Everything appears to be all right (reading utf-8 messages, typing in > Umlaute, euro sign etc.), but there is this one > PROBLEM: > control-g doesn't work any longer! (or in other words: keyboard-quit) When you type C-g, what gets through to Emacs? (Do C-h l `view-lossage'). Does _anything_ get through to Emacs? Does C-g work if you leave `filterm' out? > This is very bad because I often need to abort a command. > In many cases (like aborting a M-x... sequence) ESC-ESC-ESC is a good > workaround. C-g is absolutely necessary. You don't need any excuses for needing it. [ .... ] > I tried to remap control-g to e.g. F6 (function key 6) or other keys I > tried, but nothing works - it looks like control-g is something very > special and that the code of Emacs doesn't allow for changing that! Where did you do the remapping? In your keyboard driver (e.g. /etc/default.keytab) or somewhere within Emacs. > This means, running commands can no longer be interrupted/aborted when I > use a utf-8 enabled Emacs/Gnus in a Linux text console. > Does anyone have experience with this problem - or even better have a > solution? What does filterm do with C-g? > many thanks > Peter -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").