> Is there a way to revert the effect of "dumpkeys | loadkeys --unicode"

No, the memory of the earlier keymap is lost.

> does one really have to reload the original keymap again

Yes.

So, in unicode_start:
        dumpkeys > somewhere
in unicode_stop:
        loadkeys somewhere

A distributor can invent a suitable somewhere, perhaps
        $HOME/.kbd/.keymap_sv
or so.

There are more problems. The kernel console state is very
complicated, and some aspects are write-only (by sending
some escape sequence). If you know the state, you can switch
to a different state and come back. If you do not know
it is not quite possible to save, change, restore.

Andries
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to