summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kbdcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kbdcontrol')
-rw-r--r--usr.sbin/kbdcontrol/kbdcontrol.c2
-rw-r--r--usr.sbin/kbdcontrol/kbdmap.58
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.c b/usr.sbin/kbdcontrol/kbdcontrol.c
index bbeb758..5d20b16 100644
--- a/usr.sbin/kbdcontrol/kbdcontrol.c
+++ b/usr.sbin/kbdcontrol/kbdcontrol.c
@@ -256,7 +256,7 @@ get_entry(void)
case TLET:
return (unsigned char)letter;
case TNUM:
- if (number < 0 || number > 255)
+ if (number < 0x000000 || number > 0x10FFFF)
return -1;
return number;
default:
diff --git a/usr.sbin/kbdcontrol/kbdmap.5 b/usr.sbin/kbdcontrol/kbdmap.5
index 2b94b35..4c4cd86 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,
OpenPOWER on IntegriCloud