1UL(1)                     BSD General Commands Manual                    UL(1)
2

NAME

4     ul — do underlining
5

SYNOPSIS

7     ul [-i] [-t terminal] [name ...]
8

DESCRIPTION

10     Ul reads the named files (or standard input if none are given) and trans‐
11     lates occurrences of underscores to the sequence which indicates under‐
12     lining for the terminal in use, as specified by the environment variable
13     TERM.  The terminfo database is read to determine the appropriate
14     sequences for underlining.  If the terminal is incapable of underlining,
15     but is capable of a standout mode then that is used instead.  If the ter‐
16     minal can overstrike, or handles underlining automatically, ul degener‐
17     ates to cat(1).  If the terminal cannot underline, underlining is
18     ignored.
19
20     The following options are available:
21
22     -i      Underlining is indicated by a separate line containing appropri‐
23             ate dashes `-'; this is useful when you want to look at the
24             underlining which is present in an nroff output stream on a crt-
25             terminal.
26
27     -t terminal
28             Overrides the terminal type specified in the environment with
29             terminal.
30

ENVIRONMENT

32     The following environment variable is used:
33
34     TERM  The TERM variable is used to relate a tty device with its device
35           capability description (see terminfo(5)).  TERM is set at login
36           time, either by the default terminal type specified in /etc/ttys or
37           as set during the login process by the user in their login file
38           (see setenv(1)).
39

SEE ALSO

41     man(1), nroff(1), colcrt(1)
42

BUGS

44     Nroff usually outputs a series of backspaces and underlines intermixed
45     with the text to indicate underlining.  No attempt is made to optimize
46     the backward motion.
47

HISTORY

49     The ul command appeared in 3.0BSD.
50

AVAILABILITY

52     The ul command is part of the util-linux-ng package and is available from
53     ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
54
554th Berkeley Distribution        June 6, 1993        4th Berkeley Distribution
Impressum