BSD 4_2 development
[unix-history] / usr / man / man1 / ul.1
CommitLineData
90e46d4a
C
1.TH UL 1 "18 January 1983"
2.UC 4
3.SH NAME
4ul \- do underlining
5.SH SYNOPSIS
6.B ul
7[
8.B \-i
9] [
10.B \-t
11.I terminal
12]
13[
14.I name
15\&...
16]
17.SH DESCRIPTION
18.I Ul
19reads the named files (or standard input if none are given)
20and translates occurrences of underscores to the sequence
21which indicates underlining for the terminal in use, as specified
22by the environment variable
23TERM.
24The
25.B \-t
26option overrides the terminal kind specified in the environment.
27The file
28.I /etc/termcap
29is read to determine the appropriate sequences for underlining.
30If the terminal is incapable of underlining, but is capable of
31a standout mode then that is used instead.
32If the terminal can overstrike,
33or handles underlining automatically,
34.I ul
35degenerates to
36.IR cat (1).
37If the terminal cannot underline, underlining is ignored.
38.PP
39The
40.B \-i
41option causes
42.I ul
43to indicate underlining onto by a separate line containing appropriate
44dashes `\-'; this is useful when you want to look at the underlining
45which is present in an
46.I nroff
47output stream on a crt-terminal.
48.SH "SEE ALSO"
49man(1), nroff(1), colcrt(1)
50.SH AUTHOR
51Mark Horton wrote
52.IR ul .
53The
54.B \-i
55option was originally a option of the editor
56.IR ex (1),
57then an
58.I iul
59command.
60.SH BUGS
61.I Nroff
62usually outputs a series of backspaces and underlines intermixed
63with the text to indicate underlining. No attempt is made to optimize
64the backward motion.