9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: [9fans] keyboard mappings
Date: Mon, 19 Jun 2000 11:41:41 -0400	[thread overview]
Message-ID: <200006191541.LAA27258@cse.psu.edu> (raw)

(http|ftp)://plan9.bell-labs.com/who/presotto/kbdmap.c

maps keyboard characters.  It has to be started before rio.
To set up mappings, write to /dev/kbdmap.  The input
consists of pairs of characters

<from> <to>

Both <from> and <to> are the hex unicode values of the characters
you want to map.  Anytime <from> is read from the keyboard, it is
mapped to <to>.  You can put any number of pairs on a line.
The string

flush

makes kbdmap forget all mappings.

For example writing:

20 21

will change all spaces into exclamations.  Try to get anything done
after that.


             reply	other threads:[~2000-06-19 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-19 15:41 presotto [this message]
2000-06-20  3:57 ` Hiroki Tamakoshi
2000-06-19 19:32 mike
2000-06-20 13:05 presotto
2000-06-20 15:14 Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200006191541.LAA27258@cse.psu.edu \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).