summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2011-03-31 21:11:23 -0300
committerDiego Nieto Cid <dnietoc@gmail.com>2011-04-08 14:36:22 -0300
commitd6f6e1bf7e3eaacb2ce134e40737319e9cf306a8 (patch)
treed46b402096b05ad42b6542047a604b831272b903
parent06df861f4c9b2bd31af7aaba06977bb67aad6e28 (diff)
Update xkb/README.
* console-client/xkb/README: Refer to this artifact as "module" instead of "input driver". Key repeater is now implemented by pc-kbd. Update the module's installation and usage procedures.
-rw-r--r--console-client/xkb/README39
1 files changed, 17 insertions, 22 deletions
diff --git a/console-client/xkb/README b/console-client/xkb/README
index 5270af73..de781143 100644
--- a/console-client/xkb/README
+++ b/console-client/xkb/README
@@ -1,12 +1,11 @@
--- Some random notes about the XKB input driver. --
+-- Some random notes about the XKB module. --
-This XKB input driver can be compared with the pc_kbd input driver, it
-has the same function. But this input driver has many advantages. It
-can load XKB configuration files. XKB configuration files, the keymap
-files currently used in XFree, are very versatile.
+This XKB module used by the pc_kbd input driver can load XKB configuration
+files. XKB configuration files, the keymap files currently used in XFree,
+are very versatile.
One of the biggest advantages of using XKB configurations is that both
-the Hurd and XFree work simular. Another advantage is that it has many
+the Hurd and XFree work similarly. Another advantage is that it has many
features:
* Human readable configuration files with mechanisms like include
@@ -34,7 +33,6 @@ List of not implemented XKB features:
* Error handling; partially done.
* Indicators (Keyboard LEDs, etc.) not working, partially implemented.
* ISOLock not implemented.
-* Key repeater for >> X.
* No support for non UTF-8 locales.
* No support for rarely used features (Many of they don't even work in
X AFAIK).
@@ -47,14 +45,12 @@ List of not implemented XKB features:
Installation:
-You need gcc, binutils and the glibc- and GNUMach headerfiles to
-compile this. If you want to generate the scanner and parser yourself
-you need bison and flex, but this is not required because I included
-the generated files.
+This XKB module is an optional feature of pc-kbd input driver. Whether
+it is compiled in or not is defined by the precense of XKB_SUPPORT
+preprocessor symbol.
-Run "make" to compile it. This will result in xkb.so.0.3, the actual
-plugin. Copy this file to the console-client driver directory (For the
-current Hurd version this is /lib/hurd/console).
+In addition to the usual Hurd dependencies, you need yacc and lex
+programs to generate the scanner and parser.
--
@@ -63,9 +59,8 @@ Using it:
To use it you need XKB configuration files. These are included with
XFree and will be placed in /share/X11/xkb on most systems.
-You can replace "pc_kbd" in your console client startup line with
-"xkb" and it will work with the default configuration. If you want a
-non-default configuration these options exists:
+This module adds the following set of options to pc-kbd for overriding
+the default behaviour:
--xkbdir : The root directory of the xkb configuration, by default
this is /share/X11/xkb.
@@ -87,13 +82,13 @@ non-default configuration these options exists:
--repeat-interval : The number of jiffies the driver should wait
between each repeated key. By default this is 10 jiffies.
+I wrote some XKB extensions and configuration files to use these
+extensions. You can find these files in the xkb-data directory.
-By default console switching, etc. is not possible. I wrote some XKB
-extensions and configuration files to use these extensions. You can
-find these files in the xkb directory in the tarball. Copy these files
-to where your XKB configuration files are (usually /share/X11/xkb).
+The build system will copy these files to where your XKB
+configuration files are (usually /share/X11/xkb).
-for example: xkb/keymap/hurd will be copied to /share/X11/xkb/keymap.
+for example: xkb-data/keymap/hurd will be copied to /share/X11/xkb/keymap.
To use these extensions you have to use the hurd keymaps file. This
holds all keymaps extended with Hurd features. Use "--keymapfile