From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@plan9.bell-labs.com Message-Id: <200006191541.LAA27258@cse.psu.edu> Subject: [9fans] keyboard mappings Date: Mon, 19 Jun 2000 11:41:41 -0400 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: c4960e16-eac8-11e9-9e20-41e7f4b1d025 (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 Both and are the hex unicode values of the characters you want to map. Anytime is read from the keyboard, it is mapped 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.