OK. I think I figured this one out. If one installs console-cyrillic package and selects Unicode (utf-8) input and enables it at boot time, then the script "cyr" executes 'kbd_mode -u' at startup, whith /dev/console as the standard input. Running 'kdb_mode -u /dev/console' at any time triggers this bug.
This is probably a problem in kbd_mode program of package kbd, which should not break the keyboard in X session. But in any case, the cyr script should apply mode change to all configured consoles, not to the one which happens to be its stdin. So, here is the patch for /usr/bin/cyr. The script is tested on Ubunut 10.10, with console-cyrillic 0.9-16 and kbd 1.15-1ubuntu3. ** Patch added: "patch to /usr/bin/cyr that fixes the bug" https://bugs.launchpad.net/ubuntu/+source/console-cyrillic/+bug/520546/+attachment/1899267/+files/cyr.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/520546 Title: Alt-f2 switches to virtual terminal 2 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs