summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc/w.in
blob: 59a9bdb501d08d68d25a0526aa7ca19fb7918e22 (plain) (blame)
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
.\" $OpenBSD: w.in,v 1.5 2023/10/23 20:07:19 schwarze Exp $
.Dd $Mdocdate$
.Dt ESC-W 1
.Os
.Sh NAME
.Nm esc-w
.Nd the roff escape w sequence: text width
.Sh DESCRIPTION
empty: \w''
.br
character: \w'n'
.br
blank: \w' '
.br
text: \w'text'
.br
special: \w'\(bu'
.br
numbered: \w'\N'100''
.br
Unicode: \w'\[u2013]'
.br
overstrike: \w'\o'ab''
.br
undefined: \w'\G'
.br
zero-width: \w'\fB\&\fP'
.br
skipchar: \w'a\zb\z\(buc'
.Ss Argument delimiters
unsupported \er: \w\rM\ru
.br
ignored \e&: \w\&M\&u
.br
useless \e.: \w\.M.u
.br
invalid \eG: \w\GMGu
.br
special \e-: \w\-M\-u
.br
break \ep: \w\pM\pu
.br
nospace \ec: \w\cM\cu
.\".br
.\"XXX skipchar \ec: \w\zM\zu
.br
.ds mystr xMxu
string expansion: \w\*[mystr]
.br
.nr myreg 121
register expansion: \w\n[myreg]u
.br
ignored \eON: \w\O1M\O2u
.br
special character: \w\(hyM\(hyu
.br
ignored \eZ\(aqstr\(aq: \w\Z'foo'M\Z'bar'u
.br
horizontal motion: \w\h'1'M\h'3'u
.br
horizontal line: \w\l'4'M\l'2'u
.br
overstrike: \w\o'ab'M\o'cd'u
.br
unterminated: \w'foo