summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-07-14 18:14:13 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-07-14 18:14:13 +0000
commit33eaef58ef32eb20d7b537cfad8ad3697ef73e45 (patch)
tree229b61c64b943b78cd4ad29d897649dafe416acd /sys/arch/i386
parent144072022130ec59d138f16118beaacc81570939 (diff)
add "ctl" and "swap" sample keyboard mappings;
document the proper name of keycap file
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/keycap/keycap.34
-rw-r--r--sys/arch/i386/isa/pcvt/Util/keycap/keycap.54
-rw-r--r--sys/arch/i386/isa/pcvt/Util/keycap/keycap.src14
3 files changed, 18 insertions, 4 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.3 b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.3
index 024708e717c..ecc7fcbfa78 100644
--- a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.3
+++ b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.3
@@ -113,8 +113,8 @@ returns
if the capability was not found.
.Pp
.Sh FILES
-.Bl -tag -width /usr/share/misc/keycap -compact
-.It Pa /usr/share/misc/keycap
+.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
+.It Pa /usr/share/misc/keycap.pcvt
Keyboard capabilities database (if nothing else chosen during installation).
.El
.Sh SEE ALSO
diff --git a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.5 b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.5
index 25fb84a4ee0..afd573eab7e 100644
--- a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.5
+++ b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.5
@@ -105,8 +105,8 @@ Entries may continue onto multiple lines by giving a \e as the last
character of a line. Comments may be included on lines beginning with
.Dq # .
.Sh FILES
-.Bl -tag -width /usr/share/misc/keycap -compact
-.It Pa /usr/share/misc/keycap
+.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
+.It Pa /usr/share/misc/keycap.pcvt
File containing keyboard mapping descriptions.
.El
.Sh SEE ALSO
diff --git a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.src b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.src
index 43cd866fabb..577b8e12438 100644
--- a/sys/arch/i386/isa/pcvt/Util/keycap/keycap.src
+++ b/sys/arch/i386/isa/pcvt/Util/keycap/keycap.src
@@ -620,6 +620,20 @@ tg:\
us|usa|United States mapping:\
:de:
+# The following entries can be used for keyboards that have the
+# control key in the wrong location.
+#
+# ctl: makes the capslock key a second control key, leaving the
+# control key alone
+#
+# swap: swaps the function of the capslock and control keys.
+#
+ctl:usa-ctl|Capslock -> Control mapping:\
+ :t1#30:
+
+swap:usa-swap|Swap capslok and control keys:\
+ :t1#30:ca#58:
+
# Simple Cyrillic KOI8-R keymap
# Left Alt is AltGr
# caps letters can't be printed ( yet )