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

Bug#247944: kbd-chooser fails for unicode keymaps



Package: kbd-chooser
Version: 0.52
Severity: important
Tags: patch

Hi,

While I was testing the Turkish unicode keymap (trqu), I noticed that 
kbd-chooser couldn't set the keyboard mode to unicode, though it could 
detect the unicode mapping.  After a quick debug session, I found that 
the "loadkeys + set_kbd_mode" calling order was indeed wrong.  After 
loading the unicode keymap, 'loadkeys' gave a d-i warning and failed, 
because the keyboard mode had not been set yet.  Simply reversing the 
calling order fixed the problem.  Please find the patch attached.

Regards,

-- 
roktas
--- loadkeys.y.old	2004-05-08 06:45:26.000000000 +0300
+++ loadkeys.y	2004-05-08 06:45:33.000000000 +0300
@@ -279,8 +279,8 @@
 		exit (1);
 	}
 	do_constant();
-	loadkeys (fd);
 	set_kbd_mode (fd);
+	loadkeys (fd);
 	exit (0);
 }
 

Attachment: signature.asc
Description: Digital signature


Reply to: