[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#611241: unblock: freebsd-utils/8.1-4



Apologies if I'm missing something obvious, but should
alter_to_native_keymap() not revert all of the changes made by
alter_to_debian_keymap() rather than just a couple of them?

It should generate the same sequences as before,
but it does not have use the same way for it.

The us.iso.kbd have by default
  014   bs     bs     del    del    bs     bs     del    del     O
  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O

and fkey61 generates del.

After alter_to_debian_keymap(), there is

  014   del    del    bs     bs     del    del    bs     bs      O
  083   fkey61 '.'    '.'    '.'    '.'    '.'    boot   boot    N
  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O

and fkey61 generates  ESC [ 3 ~

After alter_to_native_keymap(), there is
  014   bs     bs     del    del    bs     bs     del    del     O
  083   fkey61 '.'    '.'    '.'    '.'    '.'    boot   boot    N
  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O

and fkey61 generates del.

The keymap is not the same, but it still generates del for scan code 083.
Similarly for other *.kbd files.

The fkeyXX is only symbolic name, which is used for generating sequences,
not only one byte, implementation detail of FreeBSD keymaps.

The native generates bs (0x08) and del (0x7F),
the debian one generates del (0x7F) and 4-byte sequence ESC [ 3 ~.

Petr



Reply to: