From: Hendrik Sattler <sattler2000@gmx.de>
Subject: Re: umlauts (8bit characters) input
Date: Tue, 01 Feb 2005 14:37:41 +0100 [thread overview]
Message-ID: <cto0n5$gl9$05$1@news.t-online.com> (raw)
In-Reply-To: x5acqo5uez.fsf@lola.goethe.zz
David Kastrup wrote:
> Hendrik Sattler <sattler2000@gmx.de> writes:
>
>> Peter Dyballa wrote:
>>> Are you running Emacs freely as an X11 client or is it
>>> no-windows inside a terminal emulation? In the second case you're a bit
>>> dependant of what the terminal emulation is doing. It might convert
>>> 8bit to 7bit.
>>
>> Yes, it is a no-windows instance inside KDE's konsole because the X emacs
>> interface is just sooo ugly. Konsole does not strip of the 8th bit, as
>> EVERYTHING els is working just fine (bash, mcedit, even VI!). The
>> absolutly only exception is emacs.
>> And yes, if I change my locale to UTF-8, emacs shall just follow case
>> without me having to edit the whole .emacs file again.
>
> And Emacs does just that. Throw out whatever customization of locales
> and whatsoever you have in your .emacs, or start with an empty .emacs,
> and it should work.
Thanks, that was the right hint :)
I made a "rm -rf .emacs*" in my home dir and started emacs, still no
umlauts. However, you say it works with that so I went to a VT and started
emacs there: works.
Then I started a minimal X "startx /usr/bin/X11/xterm -- :1" and it does not
work, there. Hmm, must be some X thing, then.
I looked at all environment variables: lots of differences but the main
thing: TERM=linux works, TERM=xterm does not work.
That make me look for why this is like that and I straced emacs to find
open("/usr/share/emacs/21.3/lisp/term/xterm.el", O_RDONLY|O_LARGEFILE) = 3
Hey, that's just so easy:
/usr/share/emacs/21.3/lisp/term# mv xterm.el xterm.el.old
/usr/share/emacs/21.3/lisp/term# cp linux.el xterm.el
And yes, works now. The main difference is that xterm.el adds:
(define-key function-key-map "\e[A" [up])
(define-key function-key-map "\e[B" [down])
(define-key function-key-map "\e[C" [right])
(define-key function-key-map "\e[D" [left])
(define-key function-key-map "\e[2~" [insert])
(define-key function-key-map "\e[4~" [select])
(define-key function-key-map "\e[5~" [prior])
(define-key function-key-map "\e[6~" [next])
(define-key function-key-map "\e[11~" [f1])
(define-key function-key-map "\e[12~" [f2])
(define-key function-key-map "\e[13~" [f3])
(define-key function-key-map "\e[14~" [f4])
(define-key function-key-map "\e[15~" [f5])
(define-key function-key-map "\e[17~" [f6])
(define-key function-key-map "\e[18~" [f7])
(define-key function-key-map "\e[19~" [f8])
(define-key function-key-map "\e[20~" [f9])
(define-key function-key-map "\e[21~" [f10])
(define-key function-key-map "\e[23~" [f11])
(define-key function-key-map "\e[24~" [f12])
(define-key function-key-map "\e[29~" [print])
What do those do? I am not very familiar with escape codes but should I file
a bug report against the Debian package?
What's the bug, then: the wrong TERM env var or the above file?
HS
next prev parent reply other threads:[~2005-02-01 13:37 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-31 16:44 umlauts (8bit characters) input Hendrik Sattler
2005-01-31 21:52 ` Peter Dyballa
[not found] ` <mailman.226.1107211155.2841.help-gnu-emacs@gnu.org>
2005-01-31 22:44 ` Hendrik Sattler
2005-01-31 23:47 ` Peter Dyballa
[not found] ` <mailman.238.1107216437.2841.help-gnu-emacs@gnu.org>
2005-02-01 0:41 ` Hendrik Sattler
2005-02-01 10:31 ` Peter Dyballa
[not found] ` <mailman.279.1107254715.2841.help-gnu-emacs@gnu.org>
2005-02-01 11:37 ` Hendrik Sattler
2005-02-01 12:36 ` David Kastrup
2005-02-01 13:37 ` Hendrik Sattler [this message]
2005-02-01 15:25 ` Peter Dyballa
2005-02-02 10:27 ` Peter Dyballa
[not found] ` <mailman.463.1107343604.2841.help-gnu-emacs@gnu.org>
2005-02-02 12:38 ` David Kastrup
2005-02-02 13:12 ` Peter Dyballa
[not found] ` <mailman.482.1107350962.2841.help-gnu-emacs@gnu.org>
2005-02-02 14:10 ` David Kastrup
2005-02-02 14:59 ` Ismael Valladolid Torres
2005-02-02 18:21 ` Peter Dyballa
2005-02-02 18:17 ` Peter Dyballa
2005-02-02 15:19 ` Stefan Monnier
2005-02-02 19:37 ` Peter Dyballa
[not found] ` <mailman.578.1107374620.2841.help-gnu-emacs@gnu.org>
2005-02-03 4:09 ` Stefan Monnier
2005-02-01 13:07 ` Reiner Steib
2005-02-01 13:47 ` Hendrik Sattler
2005-02-01 15:21 ` Peter Dyballa
2005-02-01 15:50 ` Hendrik Sattler
2005-02-01 16:05 ` David Kastrup
2005-02-01 16:08 ` Hendrik Sattler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cto0n5$gl9$05$1@news.t-online.com' \
--to=sattler2000@gmx.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.