Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf anyway; remember to escape slashes
This commit is contained in:
parent
ad7d31ead8
commit
574754d5f1
|
@ -76,11 +76,11 @@ To convert the \fIsym\fP to a symbolic name, see \fBtermkey_get_keyname\fP(3) fu
|
||||||
The following example program prints details of every keypress until the user presses "Ctrl-C". It demonstrates how to use the termkey instance in a typical \fBpoll\fP()-driven asynchronous program, which may include mixed IO with other file handles.
|
The following example program prints details of every keypress until the user presses "Ctrl-C". It demonstrates how to use the termkey instance in a typical \fBpoll\fP()-driven asynchronous program, which may include mixed IO with other file handles.
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
|
.nf
|
||||||
EOF
|
EOF
|
||||||
sed i.br demo-async.c
|
sed "s/\\\\/\\\\\\\\/g" demo-async.c
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
.in
|
.in
|
||||||
.nf
|
|
||||||
.fi
|
.fi
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR termkey_new (3),
|
.BR termkey_new (3),
|
||||||
|
|
|
@ -29,11 +29,11 @@ No key events are ready and the terminal has been closed, so no more will arrive
|
||||||
The following example program prints details of every keypress until the user presses "Ctrl-C".
|
The following example program prints details of every keypress until the user presses "Ctrl-C".
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
|
.nf
|
||||||
EOF
|
EOF
|
||||||
sed i.br demo.c
|
sed "s/\\\\/\\\\\\\\/g" demo.c
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
.in
|
.in
|
||||||
.nf
|
|
||||||
.fi
|
.fi
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR termkey_new (3),
|
.BR termkey_new (3),
|
||||||
|
|
Loading…
Reference in New Issue