9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] "a pox on the things." [uk keyboards]
@ 2002-02-05 11:28 Matt H
  2002-02-05 11:45 ` Boyd Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Matt H @ 2002-02-05 11:28 UTC (permalink / raw)
  To: 9fans

i've read keyboard(6) and associated man pages

searched the archive

read the faq

but can't find out how to stop having to search my kb for the characters

(which can get a bit dangerous 'cos pressing | on my kb generates nothing!)


did you get a bigger desk in the end Charles?

Matt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] "a pox on the things." [uk keyboards]
  2002-02-05 11:28 [9fans] "a pox on the things." [uk keyboards] Matt H
@ 2002-02-05 11:45 ` Boyd Roberts
  2002-02-05 12:59   ` Matt H
  0 siblings, 1 reply; 4+ messages in thread
From: Boyd Roberts @ 2002-02-05 11:45 UTC (permalink / raw)
  To: 9fans

Matt H wrote:
> but can't find out how to stop having to search my kb for the characters

Have you seen the /dev/kbmap stuff?

KBMAP(3)                                                 KBMAP(3)


NAME
       kbmap - keyboard map

SYNOPSIS
       bind -a #Io /dev

       /dev/kbmap

DESCRIPTION
       The kbmap device serves a one-level directory containing a
       single file, kbmap, representing the kernel's  mapping  of
       keyboard scan codes to Unicode characters (see cons(3) and
       keyboard(6)).

       Reads return the current contents of the map.  Each  entry
       is  one line containing three 11 character numeric fields,
       each followed by a space: a table number,  an  index  into
       the table (scan code), and the decimal value of the corre-
       sponding Unicode character (0 if none).  The table numbers
       are platform dependent; they typically distinguish between
       unshifted and shifted keys.   The  scan  code  values  are
       hardware dependent and can vary from keyboard to keyboard.

       Writes to the file change the map.  Lines written  to  the
       file  must  contain  three space-separated numeric fields,
       representing the table number, scan code index,  and  Uni-
       code  character.   Values  are  taken to be decimal unless
       they start with 0x (hexadecimal) or 0 (octal).   The  Uni-
       code character can also be represented as 'x where x gives
       the UTF-8 representation of the  character  (see  utf(6)).
       Entries in the Unicode `private use' area from +U'FD80' to
       +U'FDFF' might  have  special  meaning  to  some  keyboard
       drivers and should not be mapped (or remapped) lightly.

SEE ALSO
       cons(3), keyboard(6), utf(6)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] "a pox on the things." [uk keyboards]
  2002-02-05 11:45 ` Boyd Roberts
@ 2002-02-05 12:59   ` Matt H
  2002-02-05 14:06     ` Boyd Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Matt H @ 2002-02-05 12:59 UTC (permalink / raw)
  To: 9fans

On Tue, 05 Feb 2002 12:45:39 +0100
"Boyd Roberts" <boyd@strakt.com> wrote:

> > but can't find out how to stop having to search my kb for the
characters> 
> Have you seen the /dev/kbmap stuff?

I tried the one from :
http://www.cs.york.ac.uk/ftpdir/plan9/kbmap.tgz 03-Nov-1997 

but pckbd.bod fails (kbd.c is not the original)

but seeing as it's in the "Software for the Second Edition (1995)" section
I was hoping it had made it into the main distribution by now

got a more modern URL er URI, (plus la change)

M


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] "a pox on the things." [uk keyboards]
  2002-02-05 12:59   ` Matt H
@ 2002-02-05 14:06     ` Boyd Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Boyd Roberts @ 2002-02-05 14:06 UTC (permalink / raw)
  To: 9fans

Matt H wrote:
> got a more modern URL er URI, (plus la change)

this needs work, but it does work:

    http://home.fr.inter.net/boyd/code/plan9/kbd.tar

[plus ça change, plus la même chose]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-05 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-05 11:28 [9fans] "a pox on the things." [uk keyboards] Matt H
2002-02-05 11:45 ` Boyd Roberts
2002-02-05 12:59   ` Matt H
2002-02-05 14:06     ` Boyd Roberts

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).