diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-09-19 17:56:26 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-09-19 17:56:26 +0000 |
commit | b05f9c86d1566ad39311f79022e924422dd463f7 (patch) | |
tree | 1c093255582b069eabdbf07475eaefadbeaa94dd /usr.sbin/kbdcontrol/kbdmap.5 | |
parent | 4af6c75c39c978f972ac73eec12a20f299d91125 (diff) | |
download | src-b05f9c86d1566ad39311f79022e924422dd463f7.tar.gz src-b05f9c86d1566ad39311f79022e924422dd463f7.zip |
Make the keyboard layer Unicode aware.
Just take keyent_t to use an u_int to store the Unicode codepoints.
Unfortunately the keymap is now too big to be loaded using an ioctl
argument, so change the ioctl to pick a pointer.
This change breaks kbdcontrol ABI. It doesn't break X11, because X11
doesn't do anything with syscons keymaps. It just switches the device
out of K_XLATE.
Obtained from: //depot/user/ed/newcons/...
Notes
Notes:
svn path=/head/; revision=197330
Diffstat (limited to 'usr.sbin/kbdcontrol/kbdmap.5')
-rw-r--r-- | usr.sbin/kbdcontrol/kbdmap.5 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/kbdcontrol/kbdmap.5 b/usr.sbin/kbdcontrol/kbdmap.5 index 2b94b356581f..4c4cd8696982 100644 --- a/usr.sbin/kbdcontrol/kbdmap.5 +++ b/usr.sbin/kbdcontrol/kbdmap.5 @@ -84,7 +84,7 @@ The symbol the key should produce, in single quotes. .It Ar decnum The -.Tn ASCII +.Tn Unicode value to produce as a decimal number (see @@ -92,7 +92,7 @@ as a decimal number For example, 32 for space. .It 0x Ns Ar hexnum The -.Tn ASCII +.Tn Unicode value to produce as a hexadecimal number. For example, 0x20 for space. @@ -274,7 +274,7 @@ This is followed by the symbol for the accent, given in single quotes or as a decimal or hexadecimal -.Tn ASCII +.Tn Unicode value. This symbol will be produced if the accent key is pressed and @@ -290,7 +290,7 @@ Both symbols in a pair can be given in either single quotes or as decimal or hexadecimal -.Tn ASCII +.Tn Unicode values. .Pp For example, |