The keyboard(4) manpage is a bit vague about the numbering convention for thefunction keys (that generate multi byte escape) SETFKEY ioctl and in the keymap structure.
The problem is that the C-level routines (SETFKEY, GETFKEY macro's, indices in the KEYMAP structure) are 0 based. (first function key is 0, last is 95), while the kbdcontrol unit numbers them 1..96. The manpage seems to imply that the numbering is 1..96 for both the C programming interface as the kbdcontrol utility. kbdcontrol seems to deal with this ok. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message