shithub: riscv

Download patch

ref: c655b6552cae96cc174549f07d55c0255d246615
parent: ec73849b6936d839410ccb239d14b2f7c7ca3d6f
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Apr 19 07:55:01 EDT 2024

Add caps kbmap

The default behaviour of the key labelled as Caps Lock is
to be a Ctrl key, but in some cases in can be desirable
to have it like an actual Caps Lock. A new kbmap file is
added and the keyboard documentation is updated.

git/commit /sys/lib/kbmap/caps /sys/man/6/keybo

--- /dev/null
+++ b/sys/lib/kbmap/caps
@@ -1,0 +1,1 @@
+	none 58 63588
--- a/sys/man/6/keyboard
+++ b/sys/man/6/keyboard
@@ -25,6 +25,15 @@
 .B Caps
 .B Lock
 acts as an additional control key.
+To make it work like an actual
+.B Caps
+.B Lock
+key you can get it with:
+.PP
+.RS
+.L
+cat /sys/lib/kbmap/caps >/dev/kbmap
+.RE
 .PP
 The delete character
 .RB ( 0x7F )