Paul LeoNerd Evans <[email protected]> wrote:
>
> This patch fixes a bug in the virtual terminal driver, whereby the UTF-8
> mode is reset to "off" following a console reset, such as might be
> delivered by mingetty, screen, vim, etc...
Is it a bug? What did earlier kernels do? 2.4.x?
> Rather than resetting to hardcoded "0", it gets reset on or off, as
> determined by a new sysctl located in /proc/tty/vt/default_utf8_mode.
> This patch is best accompanied with an addition of the following line to
> the system's init scripts:
>
> echo 1 >/proc/tty/vt/default_utf8_mode
>
> Following this, all resets to the console will leave it with UTF-8 mode
> on.
>
> The default behaviour of this sysctl is as before, without the patch.
> Namely, UTF-8 mode is switched off on reset. [I.e applying this patch
> does not affect default behaviour].
Presumably userspace knows what mode the user wants the terminal to be
using. Shouldn't userspace be resetting that mode after a reset?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[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]