added depend label
[unix-history] / usr / src / usr.bin / ul / ul.1
CommitLineData
63de062d
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
34ddf8f3 5.\" @(#)ul.1 6.2 (Berkeley) %G%
63de062d 6.\"
73d6e7d5 7.TH UL 1 ""
63de062d
KM
8.UC 4
9.SH NAME
10ul \- do underlining
11.SH SYNOPSIS
12.B ul
13[
14.B \-i
15] [
16.B \-t
17.I terminal
18]
19[
20.I name
21\&...
22]
23.SH DESCRIPTION
24.I Ul
25reads the named files (or standard input if none are given)
a7faa3f9 26and translates occurrences of underscores to the sequence
63de062d
KM
27which indicates underlining for the terminal in use, as specified
28by the environment variable
29TERM.
30The
31.B \-t
32option overrides the terminal kind specified in the environment.
33The file
34.I /etc/termcap
35is read to determine the appropriate sequences for underlining.
36If the terminal is incapable of underlining, but is capable of
37a standout mode then that is used instead.
38If the terminal can overstrike,
39or handles underlining automatically,
40.I ul
41degenerates to
42.IR cat (1).
43If the terminal cannot underline, underlining is ignored.
44.PP
45The
46.B \-i
47option causes
48.I ul
49to indicate underlining onto by a separate line containing appropriate
50dashes `\-'; this is useful when you want to look at the underlining
51which is present in an
52.I nroff
53output stream on a crt-terminal.
54.SH "SEE ALSO"
55man(1), nroff(1), colcrt(1)
63de062d
KM
56.SH BUGS
57.I Nroff
58usually outputs a series of backspaces and underlines intermixed
59with the text to indicate underlining. No attempt is made to optimize
60the backward motion.