diff options
author | Bill Nottingham <notting@redhat.com> | 2007-10-17 02:29:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:56 -0400 |
commit | 2e8ecb9db0bcc19e1cc8bb51e9252fe6a86a9863 (patch) | |
tree | c3d77e23a5aad820968601516392f8f440691f7a /drivers/char/vt_ioctl.c | |
parent | 430d275a399175c7c0673459738979287ec1fd22 (diff) |
add CONFIG_VT_UNICODE
As of now, the kernel defaults to non-unicode and XLATE for the keyboard.
We've been changing this in Fedora, but that requires patching the defaults
in the kernel.
The attached introduces CONFIG_VT_UNICODE, which sets the console in
unicode mode by default on boot, including both the virtual terminal and
the keyboard driver.
Signed-off-by: Bill Nottingham <notting@redhat.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/vt_ioctl.c')
-rw-r--r-- | drivers/char/vt_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c index 6c7384afff13..e6f89e8b9258 100644 --- a/drivers/char/vt_ioctl.c +++ b/drivers/char/vt_ioctl.c | |||
@@ -1125,7 +1125,7 @@ int vt_waitactive(int vt) | |||
1125 | void reset_vc(struct vc_data *vc) | 1125 | void reset_vc(struct vc_data *vc) |
1126 | { | 1126 | { |
1127 | vc->vc_mode = KD_TEXT; | 1127 | vc->vc_mode = KD_TEXT; |
1128 | kbd_table[vc->vc_num].kbdmode = VC_XLATE; | 1128 | kbd_table[vc->vc_num].kbdmode = default_utf8 ? VC_UNICODE : VC_XLATE; |
1129 | vc->vt_mode.mode = VT_AUTO; | 1129 | vc->vt_mode.mode = VT_AUTO; |
1130 | vc->vt_mode.waitv = 0; | 1130 | vc->vt_mode.waitv = 0; |
1131 | vc->vt_mode.relsig = 0; | 1131 | vc->vt_mode.relsig = 0; |