Re: [PATCH] vt: Do not clear UTF when resetting console

From: Paul LeoNerd Evans
Date: Tue Apr 03 2007 - 10:52:12 EST


On Tue, Apr 03, 2007 at 01:41:27PM +0200, Martin Mares wrote:
> > Resetting the console, either by ANSI escape sequences or by the reset utility,
> > will drop the console back to legacy (non-UTF-8) mode.
>
> Yes, and as far as I understand the logic behind these escape sequences,
> it's the intended behavior, not a bug.
>
> The escape sequence for terminal reset should reset as much as possible,
> I see no reason for making an exception for the UTF-8 mode.

Does whatever defines what these escapes mean, have any comment to make
about UTF-8? If not, why can't we declare that UTF-8 mode is the "reset"
mode, the default that would be dropped to on a full reset, and if
anyone wanted to switch that out to non-default not-UTF-8 mode, they
could, but that a reset will always reenable it again..?

--
Paul "LeoNerd" Evans

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

Attachment: signature.asc
Description: Digital signature