Re: [PATCH] Fix to virtual terminal UTF-8 mode handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 May 2005 23:10:30 -0400
Daniel Jacobowitz <[email protected]> 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

[email protected]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: pgptHg6ylrmWb.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux