ul(1)ul(1)Nameul - process underscores for terminal
Syntaxul [-i] [-t terminal] [name...]
Description
The command reads the named files (or standard input if none are given)
and translates occurrences of underscores to the sequence which indi‐
cates underlining for the terminal in use, as specified by the environ‐
ment variable TERM. The -t option overrides the terminal kind speci‐
fied in the environment. The file /etc/termcap is read to determine
the appropriate sequences for underlining. If the terminal is inca‐
pable of underlining, but is capable of a standout mode then that is
used instead. If the terminal can overstrike, or handles underlining
automatically, degenerates to If the terminal cannot underline, under‐
lining is ignored.
The -i option causes to indicate underlining by a separate line con‐
taining appropriate dashes `-'; this is useful when you want to look at
the underlining which is present in an output stream on a crt-terminal.
Options-i Displays underscoring on separate line containing appropriate dashes
(-).
-t terminal
Uses type of specified terminal in place your terminal's type.
Restrictions
The command usually outputs a series of backspaces and underlines
intermixed with the text to indicate underlining. No attempt is made
to optimize the backward motion.
See Alsoman(1), nroff(1), colcrt(1)ul(1)