Blame


1 83bab5af 2005-07-18 devnull .TH KEYBOARD 7
2 83bab5af 2005-07-18 devnull .SH NAME
3 83bab5af 2005-07-18 devnull keyboard \- how to type characters
4 83bab5af 2005-07-18 devnull .SH DESCRIPTION
5 83bab5af 2005-07-18 devnull Keyboards are idiosyncratic.
6 83bab5af 2005-07-18 devnull It should be obvious how to type ordinary
7 83bab5af 2005-07-18 devnull .SM ASCII
8 83bab5af 2005-07-18 devnull characters,
9 83bab5af 2005-07-18 devnull backspace, tab, escape, and newline.
10 83bab5af 2005-07-18 devnull In Plan 9, the key labeled
11 83bab5af 2005-07-18 devnull .B Return
12 83bab5af 2005-07-18 devnull or
13 83bab5af 2005-07-18 devnull .B Enter
14 83bab5af 2005-07-18 devnull generates a newline
15 83bab5af 2005-07-18 devnull .RB ( 0x0A );
16 83bab5af 2005-07-18 devnull if there is a key labeled
17 83bab5af 2005-07-18 devnull .B Line
18 83bab5af 2005-07-18 devnull .BR Feed ,
19 83bab5af 2005-07-18 devnull it generates a carriage return
20 83bab5af 2005-07-18 devnull .RB ( 0x0D );
21 83bab5af 2005-07-18 devnull Plan 9 eschews CRLFs.
22 83bab5af 2005-07-18 devnull All control characters are typed in the usual way;
23 83bab5af 2005-07-18 devnull in particular, control-J is a line feed and control-M a carriage return.
24 83bab5af 2005-07-18 devnull .\" On the PC and some other machines, the key labeled
25 83bab5af 2005-07-18 devnull .\" .B Caps
26 83bab5af 2005-07-18 devnull .\" .B Lock
27 83bab5af 2005-07-18 devnull .\" acts as an additional control key.
28 83bab5af 2005-07-18 devnull .\" .PP
29 83bab5af 2005-07-18 devnull .\" The delete character
30 83bab5af 2005-07-18 devnull .\" .RB ( 0x7F )
31 83bab5af 2005-07-18 devnull .\" may be generated by a different key,
32 83bab5af 2005-07-18 devnull .\" one near the extreme upper right of the keyboard.
33 83bab5af 2005-07-18 devnull .\" On the Next, it is the key labeled
34 83bab5af 2005-07-18 devnull .\" .L *
35 83bab5af 2005-07-18 devnull .\" (not the asterisk above the 8).
36 83bab5af 2005-07-18 devnull .\" On the SLC and Sparcstation 2, delete is labeled
37 83bab5af 2005-07-18 devnull .\" .B Num
38 83bab5af 2005-07-18 devnull .\" .B Lock
39 83bab5af 2005-07-18 devnull .\" (the key above
40 83bab5af 2005-07-18 devnull .\" .B Backspace
41 83bab5af 2005-07-18 devnull .\" labeled
42 83bab5af 2005-07-18 devnull .\" .B Delete
43 83bab5af 2005-07-18 devnull .\" functions as an additional backspace key).
44 83bab5af 2005-07-18 devnull .\" On the other keyboards, the key labeled
45 83bab5af 2005-07-18 devnull .\" .B Del
46 83bab5af 2005-07-18 devnull .\" or
47 83bab5af 2005-07-18 devnull .\" .B Delete
48 83bab5af 2005-07-18 devnull .\" generates the delete character.
49 83bab5af 2005-07-18 devnull .PP
50 83bab5af 2005-07-18 devnull The down arrow,
51 83bab5af 2005-07-18 devnull used by
52 83bab5af 2005-07-18 devnull .IR 9term (1),
53 83bab5af 2005-07-18 devnull .IR acme (1),
54 83bab5af 2005-07-18 devnull and
55 83bab5af 2005-07-18 devnull .IR sam (1),
56 83bab5af 2005-07-18 devnull causes windows to scroll forward.
57 83bab5af 2005-07-18 devnull The up arrow scrolls backward.
58 83bab5af 2005-07-18 devnull .PP
59 83bab5af 2005-07-18 devnull Characters in Plan 9 are runes (see
60 e5e159fd 2005-07-18 devnull .IR utf (7)).
61 83bab5af 2005-07-18 devnull Any 16-bit rune can be typed using a compose key followed by several
62 83bab5af 2005-07-18 devnull other keys.
63 83bab5af 2005-07-18 devnull The compose key is also generally near the lower right of the main key area:
64 83bab5af 2005-07-18 devnull the
65 83bab5af 2005-07-18 devnull .B NUM PAD
66 83bab5af 2005-07-18 devnull key on the Gnot, the
67 83bab5af 2005-07-18 devnull .B Alternate
68 83bab5af 2005-07-18 devnull key on the Next, the
69 83bab5af 2005-07-18 devnull .B Compose
70 83bab5af 2005-07-18 devnull key on the SLC, the
71 83bab5af 2005-07-18 devnull .B Option
72 83bab5af 2005-07-18 devnull key on the Magnum, and either
73 83bab5af 2005-07-18 devnull .B Alt
74 83bab5af 2005-07-18 devnull key on the PC.
75 83bab5af 2005-07-18 devnull After typing the compose key, type a capital
76 83bab5af 2005-07-18 devnull .L X
77 83bab5af 2005-07-18 devnull and exactly four hexadecimal characters (digits and
78 83bab5af 2005-07-18 devnull .L a
79 83bab5af 2005-07-18 devnull to
80 83bab5af 2005-07-18 devnull .LR f )
81 83bab5af 2005-07-18 devnull to type a single rune with the value represented by
82 83bab5af 2005-07-18 devnull the typed number.
83 83bab5af 2005-07-18 devnull There are shorthands for many characters, comprising
84 83bab5af 2005-07-18 devnull the compose key followed by a two- or three-character sequence.
85 83bab5af 2005-07-18 devnull There are several rules guiding the design of the sequences, as
86 83bab5af 2005-07-18 devnull illustrated by the following examples.
87 83bab5af 2005-07-18 devnull The full list is too long to repeat here, but is contained in the file
88 83bab5af 2005-07-18 devnull .L \*9/lib/keyboard
89 83bab5af 2005-07-18 devnull in a format suitable for
90 83bab5af 2005-07-18 devnull .IR grep (1)
91 83bab5af 2005-07-18 devnull or
92 83bab5af 2005-07-18 devnull .IR look (1).
93 83bab5af 2005-07-18 devnull .IP
94 83bab5af 2005-07-18 devnull A repeated symbol gives a variant of that symbol, e.g.,
95 83bab5af 2005-07-18 devnull .B ??
96 83bab5af 2005-07-18 devnull yields ¿\|.
97 83bab5af 2005-07-18 devnull .IP
98 83bab5af 2005-07-18 devnull .SM ASCII
99 83bab5af 2005-07-18 devnull digraphs for mathematical operators give the corresponding operator, e.g.,
100 83bab5af 2005-07-18 devnull .B <=
101 83bab5af 2005-07-18 devnull yields ≤.
102 83bab5af 2005-07-18 devnull .IP
103 83bab5af 2005-07-18 devnull Two letters give the corresponding ligature, e.g.,
104 83bab5af 2005-07-18 devnull .B AE
105 83bab5af 2005-07-18 devnull yields Æ.
106 83bab5af 2005-07-18 devnull .IP
107 83bab5af 2005-07-18 devnull Mathematical and other symbols are given by abbreviations for their names, e.g.,
108 83bab5af 2005-07-18 devnull .B pg
109 83bab5af 2005-07-18 devnull yields ¶.
110 83bab5af 2005-07-18 devnull .IP
111 83bab5af 2005-07-18 devnull Chess pieces are given by a
112 83bab5af 2005-07-18 devnull .B w
113 83bab5af 2005-07-18 devnull or
114 83bab5af 2005-07-18 devnull .B b
115 83bab5af 2005-07-18 devnull followed by a letter for the piece
116 83bab5af 2005-07-18 devnull .RB ( k
117 83bab5af 2005-07-18 devnull for king,
118 83bab5af 2005-07-18 devnull .B q
119 83bab5af 2005-07-18 devnull for queen,
120 83bab5af 2005-07-18 devnull .B r
121 83bab5af 2005-07-18 devnull for rook,
122 83bab5af 2005-07-18 devnull .B n
123 83bab5af 2005-07-18 devnull for knight,
124 83bab5af 2005-07-18 devnull .B b
125 83bab5af 2005-07-18 devnull for bishop, or
126 83bab5af 2005-07-18 devnull .B p
127 83bab5af 2005-07-18 devnull for pawn),
128 83bab5af 2005-07-18 devnull e.g.,
129 83bab5af 2005-07-18 devnull .B wk
130 83bab5af 2005-07-18 devnull for a white king.
131 83bab5af 2005-07-18 devnull .IP
132 83bab5af 2005-07-18 devnull Greek letters are given by an asterisk followed by a corresponding latin letter,
133 83bab5af 2005-07-18 devnull e.g.,
134 83bab5af 2005-07-18 devnull .B *d
135 83bab5af 2005-07-18 devnull yields δ.
136 83bab5af 2005-07-18 devnull .IP
137 83bab5af 2005-07-18 devnull Cyrillic letters are given by an at sign followed by a corresponding latin letter or letters,
138 83bab5af 2005-07-18 devnull e.g.,
139 83bab5af 2005-07-18 devnull .B @ya
140 83bab5af 2005-07-18 devnull yields я.
141 83bab5af 2005-07-18 devnull .IP
142 83bab5af 2005-07-18 devnull Script letters are given by a dollar sign followed by the corresponding regular letter,
143 83bab5af 2005-07-18 devnull e.g.,
144 83bab5af 2005-07-18 devnull .B $F
145 83bab5af 2005-07-18 devnull yields ℱ.
146 83bab5af 2005-07-18 devnull .IP
147 83bab5af 2005-07-18 devnull A digraph of a symbol followed by a letter gives the letter with an accent that looks like the symbol, e.g.,
148 83bab5af 2005-07-18 devnull .B ,c
149 83bab5af 2005-07-18 devnull yields ç.
150 83bab5af 2005-07-18 devnull .IP
151 83bab5af 2005-07-18 devnull Two digits give the fraction with that numerator and denominator, e.g.,
152 83bab5af 2005-07-18 devnull .B 12
153 83bab5af 2005-07-18 devnull yields ½.
154 83bab5af 2005-07-18 devnull .IP
155 83bab5af 2005-07-18 devnull The letter s followed by a character gives that character as a superscript, e.g.,
156 83bab5af 2005-07-18 devnull .B s1
157 83bab5af 2005-07-18 devnull yields ⁱ.
158 83bab5af 2005-07-18 devnull These characters are taken from the Unicode block 0x2070; the 1, 2, and 3
159 83bab5af 2005-07-18 devnull superscripts in the Latin-1 block are available by using a capital S instead of s.
160 83bab5af 2005-07-18 devnull .IP
161 83bab5af 2005-07-18 devnull Sometimes a pair of characters give a symbol related to the superimposition of the characters, e.g.,
162 83bab5af 2005-07-18 devnull .B cO
163 83bab5af 2005-07-18 devnull yields ©.
164 83bab5af 2005-07-18 devnull .IP
165 83bab5af 2005-07-18 devnull A mnemonic letter followed by $ gives a currency symbol, e.g.,
166 83bab5af 2005-07-18 devnull .B l$
167 83bab5af 2005-07-18 devnull yields £.
168 83bab5af 2005-07-18 devnull .PP
169 83bab5af 2005-07-18 devnull Note the difference between ß (ss) and µ (micron) and
170 83bab5af 2005-07-18 devnull the Greek β and μ.
171 83bab5af 2005-07-18 devnull .SH FILES
172 83bab5af 2005-07-18 devnull .TP
173 83bab5af 2005-07-18 devnull .B \*9/lib/keyboard
174 83bab5af 2005-07-18 devnull sorted table of characters and keyboard sequences
175 83bab5af 2005-07-18 devnull .PD
176 83bab5af 2005-07-18 devnull .SH "SEE ALSO"
177 83bab5af 2005-07-18 devnull .IR intro (1),
178 83bab5af 2005-07-18 devnull .IR ascii (1),
179 83bab5af 2005-07-18 devnull .IR tcs (1),
180 83bab5af 2005-07-18 devnull .IR 9term (1),
181 83bab5af 2005-07-18 devnull .IR acme (1),
182 83bab5af 2005-07-18 devnull .IR sam (1),
183 83bab5af 2005-07-18 devnull .IR utf (7)