>> Personally I think that keeping custom maps after \Ec is a really bad
>> idea, as \Ec should reset console to "definitely usable" state, and
>> when custom map is loaded, you cannot guarantee this.
> I agree that it's good when there is a method for resetting everything to
> a known state. But ^[c is sometimes overused and if I simply load and
> activate a custom map without hacking terminfo or the kernel, sooner or
> later all beautiful Polish letters (except those without accents) are
> gone. So either there should be a different, stronger reset, and ^[c
> wouldn't touch the map then, or one could decide if ^[c should change the
> map, or one could define which map ^[c activates, or...
If ^[c didn't reset the mapping, users could really mess up the
console. You need to change the default mapping.
Suggestion: let root lock the current settings as default.
echo set-default-mapping > /proc/consolecontrol
echo set-default-colors > /proc/consolecontrol
echo set-default-keyboard > /proc/consolecontrol
echo lock-default-keyboard > /proc/consolecontrol
echo disable-raw-keyboard > /proc/consolecontrol