Keyboard remapper posted to comp.sources.unix
Rich Salz
rsalz at uunet.uu.net
Sat Oct 28 04:19:08 AEST 1989
I just posted the following in comp.sources.unix:
From: rsalz at uunet.uu.net (Rich Salz)
Newsgroups: comp.sources.unix
Subject: v20i081: Rebind the console keyboard in Xenix or System Vr3.2.1+
Date: 27 Oct 89 17:27:21 GMT
Submitted-by: Eric S. Raymond <eric at snark.uu.net>
Posting-number: Volume 20, Issue 81
Archive-name: keybind
[ I have not even tried to compile this this. /r$ ]
This program is an editor/minilanguage that lets you tweak the tables in
the XENIX or System Vr3.2.1+ console keyboard driver for fun and profit.
It is particularly useful if you use GNU EMACS or anything else that likes
to have a real Meta key; see the -m option and `meta' directive. You can
also map your virtual terminal selector functions to more convenient
places than the bizarre Alt-cokebottle-foobar sequences they default to.
Some may also find klex[12].l and kgram.y interesting as a simple but
nontrivial example of lex/yacc usage, illustrating how to build a
minilanguage with per-line error recovery.
This release adds the capability to `precompile' keyboard mappings using
the -o option; the binary dump files produced can be loaded by subsequent
keybind runs, avoiding the interpreter's lexer and parser overhead.
--
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
More information about the Comp.sys.att
mailing list