Hello. Sergey Suleymanov wrote: > Stas> altgr table is enough. > Actually only these are needed at all. ;) But in fact this means that the problem is still there. The problem is that normally altgr map is similar to the alt map, so the special keycodes in it are mapped as for the alt map. But you are reserving altgr map for Cyrillic, so it must be treated as a plain map. And for the plain map, the BackSpace keycode gets altered back to 8, see init_misc_plain_map() and init_misc_shifted_map(). So I think that the real fix would be something like the attached patch. > Stas> Does this help? Why 127 is there? > I presume this is ^?. Anyway, ^H also works. Thanks. Actually I think it is a bios keycodes, so it must be 8. Which is done with the attached patch and no need to modify the keymaps at all. This patch also fixes some other small problems with ctrl and alt modifiers in cyrillic mode. Does this look like a correct fix to you? And of course the root of the problem seems to be that dosemu currently doesn't natively support the layout switching.