1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
.TH KEYBOARD 5g
.SH NAME
keyboard \- how to type characters
.SH DESCRIPTION
Keyboards are idiosyncratic.
It should be obvious how to type ordinary
.SM ASCII
characters,
backspace, tab, escape, and newline.
In general, the key labeled
.B Return
or
.B Enter
generates a newline
.RB ( 0x0A );
if there is a key labeled
.B Line
.BR Feed ,
it generates a carriage return
.RB ( 0x0D );
CRLFs are not used.
All control characters are typed in the usual way;
in particular, control-J is a line feed and control-M a carriage return.
.PP
The delete character
.RB ( 0x7F )
is usually generated by a key labeled
.BI Del ,
.BI Delete ,
or
.BI Int .
.PP
The view character
.RB ( 0x80 ),
.IR sam (1),
and
.IR 9term (1),
causes windows to scroll forward;
the back-view character
.RB ( 0x81 ),
causes windows to scroll backward.
The view character is generated by the
\(<- and \(da keys; the back-view character
is generated by the \(-> and \(ua keys.
.PP
Internally, characters are represented as runes (see
.IR utf (5g)).
Any 16-bit rune can be typed as a multi-character sequence.
The compose key must be pressed while the first character
of the sequence is typed; on most terminals, the compose key
is labeled
.BI Alt .
While pressing the compose key, type a capital
.L X
and exactly four hexadecimal characters (digits and
.L a
to
.LR f )
to enter the rune with the value represented by
the typed number.
There are two-character shorthands for some characters. The
compose key must be pressed while typing the first character
of the pair. The following sequences
generate the desired rune:
.IP
.EX
.ta 10n +12n +10n +12n +10n +12n +10n +12n +10n
\(I! !! \(ct c$ \(po l$ \(gc g$
\($J y$ \(| || \(sc SS \(.. ""
\(co cO \(Fo sa \(d< << \(no no
[0xad] -- \(rg rO \(ma __ \(de de
\(+- +- \(s2 s2 \(s3 s3 \(aa ''
[0xb5] mi \(pp pg \(cp .. \(cd ,,
\(s1 s1 \(Mo s0 \(d> >> \(14 14
\(12 12 \(34 34 \(I? ?? \(`A `A
\('A 'A \(^A ^A \(~A ~A \("A "A
\(oA oA \(AE AE \(,C ,C \(`E `E
\('E 'E \(^E ^E \("E "E \(`I `I
\('I 'I \(^I ^I \("I "I \(D- D-
\(~N ~N \(`O `O \('O 'O \(^O ^O
\(~O ~O \("O "O \(mu mu \(O/ /O
\(`U `U \('U 'U \(^U ^U \("U "U
\('Y 'Y \(|P |P \(ss ss \(`a `a
\('a 'a \(^a ^a \(~a ~a \("a "a
\(oa oa \(ae ae \(,c ,c \(`e `e
\('e 'e \(^e ^e \("e "e \('i `i
\('i 'i \(^i ^i \("i "i \(d- d-
\(~n ~n \(`o `o \('o 'o \(^o ^o
\(~o ~o \("o "o \(di -: \(o/ /o
\(`u `u \('u 'u \(^u ^u \("u "u
\('y 'y \(|p |p \("y "y \(*a *a
\(*b *b \(*g *g \(*d *d \(*e *e
\(*z *z \(*y *y \(*h *h \(*i *i
\(*k *k \(*l *l \(*m *m \(*n *n
\(*c *c \(*o *o \(*p *p \(*r *r
\(ts ts \(*s *s \(*t *t \(*u *u
\(*f *f \(*x *x \(*q *q \(*w *w
\(*A *A \(*B *B \(*G *G \(*D *D
\(*E *E \(*Z *Z \(*Y *Y \(*H *H
\(*I *I \(*K *K \(*L *L \(*M *M
\(*N *N \(*C *C \(*O *O \(*P *P
\(*R *R \(*S *S \(*T *T \(*U *U
\(*F *F \(*X *X \(*Q *Q \(*W *W
\(<- <- \(ua ua \(-> -> \(da da
\(<> ab \(fa fa \(te te \(pd pd
\(es es [0x2206] De \(gr gr \(!m !m
[0x220d] st \(** ** \(bu bu \(sr sr
\(pt pt \(if if \(ag an \(an l&
\(lo l| \(ca ca \(cu cu \(is is
\(tf tf [0x2243] ~= \(~= cg [0x2248] ~~
\(!= != \(== == \(<= <= \(>= >=
\(sb sb \(sp sp \(!s !b \(ib ib
\(ip ip \(a+ O+ [0x2296] O- \(ax Ox
[0x22a2] tu [0x22a8] Tu [0x22c4] lz \(el el
.EE
.PP
Note the difference between \(ss (ss) and [0xb5] (micron) and
the Greek \(*b and \(*m.
As well, white and black chess pieces may be escaped using the sequence
color
.RB ( w
or
.BR b )
followed by piece
.RB ( k
for king,
.B q
for queen,
.B r
for rook,
.B n
for knight,
.B b
for bishop, or
.B p
for pawn).
.SH "SEE ALSO"
.IR ascii (7),
.IR sam (1),
.IR 9term (1),
.IR graphics (3g),
.IR utf (5g)
|