public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul LeoNerd Evans <leonerd@leonerd.org.uk>
To: Daniel Jacobowitz <dan@debian.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix to virtual terminal UTF-8 mode handling
Date: Wed, 18 May 2005 12:10:13 +0100	[thread overview]
Message-ID: <20050518121013.65398e64@nim.leo> (raw)
In-Reply-To: <20050518031030.GA20086@nevyn.them.org>

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

On Tue, 17 May 2005 23:10:30 -0400
Daniel Jacobowitz <dan@debian.org> wrote:

> I'd be inclined to think that this is more of a terminfo issue.  If you
> want your terminal to reset into UTF-8, use a terminfo entry with the
> appropriate command string instead of the current one - this would be
> the 'rs1' capability:
> 
>   rs1=\Ec\E]R
> 
> That's reset console to default, reset palette.

Unfortunately, that doesn't work. Doing it that way means that any
program running on a host whose terminfo is so configured, would force
UTF-8 mode on, when it issues a reset to a Linux console, regardless of
which machine that is on (e.g. telnet, ssh,...). Furthermore, it would do
so regardless of whether we want UTF-8 mode, or not. Again with my patch
it is a user configurable matter whether they want UTF-8 or not. This
terminfo entry forces it to happen.

That said, I am planning a whole bunch of other changes to terminfo; my
repeated wrestling with xterm recently on the regard of modified cursor
keys (e.g. Ctrl+left) has lead me to conclude the whole system needs a
bit of an overhaul... But that's somewhat off-topic to the kernel.. :)

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-18 11:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18  2:05 [PATCH] Fix to virtual terminal UTF-8 mode handling Paul LeoNerd Evans
2005-05-18  2:15 ` Paul LeoNerd Evans
2005-05-18  2:58 ` Andrew Morton
2005-05-18  3:10   ` Daniel Jacobowitz
2005-05-18 11:10     ` Paul LeoNerd Evans [this message]
2005-05-18 11:04   ` Paul LeoNerd Evans

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=20050518121013.65398e64@nim.leo \
    --to=leonerd@leonerd.org.uk \
    --cc=akpm@osdl.org \
    --cc=dan@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    /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