]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
vt: fix canonical input in UTF-8 mode
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 7 May 2008 03:42:37 +0000 (20:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 May 2008 17:46:56 +0000 (10:46 -0700)
commitc1236d31a1b9fc018b85e15a3e58e3601ddc90ae
treede5c7edfd3ccc583e5f480588079f833d29f9a3c
parentac7b77f13f2f33270276f88ad0f427e031552e04
vt: fix canonical input in UTF-8 mode

For e.g.  proper TTY canonical support, IUTF8 termios flag has to be set as
appropriate.  Linux used to not care about setting that flag for VT TTYs.

This patch fixes that by activating it according to the current mode of the
VT, and sets the default value according to the vt.default_utf8 parameter.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Willy Tarreau <w@1wt.eu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c