The change for freebsd-utils will be some new script likekbdcontrol -d | sed ... | kbdcontrol -l kbdcontrol -f 61 ESC[3~ TERM=cons25-debian
Attached is the mentioned script. It have to be run directly on console or by "sh keymap-policy.sh < /dev/console" The keymap is altered system wide, i.e. on all virtual consoles. And you have to manually set "TERM=cons25-debian" aftewards. The (current) reset back is /etc/init.d/kbdcontrol start kbdcontrol -F TERM=cons25 Please could you test whether it work with your native national keymap as expected ? The expected installed (and running) packages versions are: freebsd-utils 8.1-3.1 kfreebsd-8 8.1+dfsg-7.1 ncurses 5.7+20100313-5 RFC part: The integration should be into /etc/init.d/kbdcontrol, by adding two targets, like keymap-native and keymap-debian. May be it can be run even semi-automatically, by detecting whether the /etc/inittab uses cons25 or cons25-debian and noop or alter keymap. Many thanks Petr
keymap-policy.sh
Description: Bourne shell script