HomeFreeBSD

usr.sbin/kbdcontrol.c: Add backwards compatibility functions

Description

usr.sbin/kbdcontrol.c: Add backwards compatibility functions

This commit allows a kbdcontrol binary built with a version of kbio.h
that supports Unicode characters in dead key maps to load and display
keymaps including the dead key tables on a kernel built with a
previous version of kbio.h (that only supported 8 bit characters in
the dead key map).

This commit is meant as a temporary compatibility shim that will be
reverted when it can be assumed that all relevant systems have been
upgraded to a kernel that uses the updated kbio.h.

MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38388

Details

Provenance
seAuthored on Feb 6 2023, 10:56 PM
Differential Revision
D38388: Add backwards API compatibility to kbdcontrol with Unicode support for dead keys
Parents
rG4972fb927638: Support Unicode characters in keymap dead key tables
Branches
Unknown
Tags
Unknown