From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Paul LeoNerd Evans <leonerd@leonerd.org.uk>
Cc: Pavel Machek <pavel@ucw.cz>, Andrew Morton <akpm@osdl.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>,
Jan Engelhardt <jengelh@linux01.gwdg.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs
Date: Wed, 04 Apr 2007 13:39:23 +0800 [thread overview]
Message-ID: <1175665163.4519.7.camel@daplas> (raw)
In-Reply-To: <20070403163553.GO26707@cel.leo>
On Tue, 2007-04-03 at 17:35 +0100, Paul LeoNerd Evans wrote:
> On Tue, Apr 03, 2007 at 04:20:52PM +0000, Pavel Machek wrote:
> > HPA is right... this should be fixed in userland. Reset should reset a
> > console, and if you want utf-8, do \ec\ewhatever to get it.
>
> As I've already said elsewhere, does anything say that "reset" means
> that UTF-8 is turned off, or merely reset back to some known state? I
> personally would consider that UTF-8 being on is the default, and if
> something wants it off it should ask specifically..
>
> Consider any other terminal emulator, such as those running on X11; when
> they're reset, they know to keep UTF-8 mode turned on, because it said
> so in their config, or in the locale. Kernel doesn't really have nice
> access to the LANG environment variable, but we can give it something
> similar; namely, via a module parameter.
I agree with Paul. Reset or RIS is (R)eset to (I)nitial (S)tate,
represented as ESC 06/03. "Initial state" is defined in ECMA-48 as the
state of the device after it was made operational. It doesn't
necessarily mean that the "initial state" is the safest configuration.
So, if this "initial state" includes enabling UTF-8, then the device has
to go into UTF-8 upon invoking RIS.
Tony
next prev parent reply other threads:[~2007-04-04 5:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-03 1:24 [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs Antonino A. Daplas
2007-04-03 4:06 ` Alexander E. Patrakov
2007-04-03 5:47 ` Antonino A. Daplas
2007-04-03 16:20 ` Pavel Machek
2007-04-03 16:35 ` Paul LeoNerd Evans
2007-04-04 5:39 ` Antonino A. Daplas [this message]
2007-04-04 8:01 ` Pavel Machek
2007-04-06 14:30 ` Paul LeoNerd Evans
2007-04-06 15:39 ` H. Peter Anvin
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=1175665163.4519.7.camel@daplas \
--to=adaplas@gmail.com \
--cc=akpm@osdl.org \
--cc=hpa@zytor.com \
--cc=jengelh@linux01.gwdg.de \
--cc=leonerd@leonerd.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox