[lkml]   [2005]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix to virtual terminal UTF-8 mode handling
On Tue, 17 May 2005 23:10:30 -0400
Daniel Jacobowitz <> 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
ICQ# 4135350 | Registered Linux# 179460
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-05-18 13:17    [W:0.051 / U:0.312 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site