KDGKBENT

Aaron Ucko (UCKO@vax1.rockhurst.edu)
Sun, 14 Apr 1996 21:19:15 -0600 (CST)


In drivers/char/vt.c, why does the code for KDGKBENT contain the statement
if (kbd->kbdmode != VC_UNICODE && KTYP(val) >= NR_TYPES)
val = K_HOLE;
? I feel that it should be unnecessary to set kbdmode to VC_UNICODE just
to get a keyboard map including any possible non-ISO-8859-1 keysyms.

-- Aaron Ucko (ucko@vax1.rockhurst.edu; finger for PGP public key) | httyp!
"That's right," he said. "We're philosophers. We think, therefore we am."
-- Terry Pratchett, _Small Gods_ | Geek Code 3.1 [for explanation, finger
hayden@mankato.msus.edu]: GCS/M/S/C d- s: a18 C++(+++)>++++ UL++>++++ P++
L++>+++++ E- W(-) N++(+) o+ K- w--- O M@ V-(--) PS++(+++) PE- Y(+) PGP(+) t(+)
!5 X-- R(-) tv-@ b++(+++) DI+ !D-- G++(+++) e->+++++(*) h!>+ r-(--)>+++ y?