version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
---- |
|
|
2 |
__NAME__ |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
ul - do underlining |
|
|
6 |
__SYNOPSIS__ |
|
|
7 |
|
|
|
8 |
|
|
|
9 |
ul [[-i] [[-t terminal] [[name ...] |
|
|
10 |
__DESCRIPTION__ |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
Ul reads the named files (or standard input if none are |
|
|
14 |
given) and translates occurrences of underscores to the |
|
|
15 |
sequence which indicates underlining for the terminal in |
|
|
16 |
use, as specified by the environment variable TERM. |
|
|
17 |
The file /etc/termcap is read to determine the |
|
|
18 |
appropriate sequences for underlining. If the terminal is |
|
|
19 |
incapable of underlining, but is capable of a standout mode |
|
|
20 |
then that is used instead. If the terminal can overstrike, |
|
|
21 |
or handles underlining automatically, ul degenerates to |
|
|
22 |
cat(1). If the terminal cannot underline, |
|
|
23 |
underlining is ignored. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
The following options are available: |
|
|
27 |
-i Underlining is indicated by a separate line contain-ing appropriate dashes `-'; this is useful when youwant to look at the underlining which is present inan nroff |
|
|
28 |
output stream on a crt-terminal. |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
-t terminal |
|
|
32 |
Overrides the terminal type specified in the environ- ment with terminal. |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
__ENVIRONMENT__ |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The following environment variable is used: |
|
|
39 |
TERM |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
The TERM variable is used to relate a tty device |
|
|
43 |
with its device capability description (see |
|
|
44 |
termcap(5)). TERM is set at login time, |
|
|
45 |
either by the default termi- nal type specified in |
|
|
46 |
/etc/ttys or as set during the login process by the |
|
|
47 |
user in their login file (see |
|
|
48 |
environ(7)). |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
__SEE ALSO__ |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
colcrt(1), man(1), |
|
|
55 |
nroff(1) |
|
|
56 |
__BUGS__ |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
The nroff(1) command usually outputs a series of |
|
|
60 |
backspaces and underlines intermixed with the text to |
|
|
61 |
indicate under- lining. No attempt is made to optimize the |
|
|
62 |
backward motion. |
|
|
63 |
__HISTORY__ |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
The ul command appeared in 3.0 BSD |
|
|
67 |
. |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
BSD June 6, 1993 1 |
|
|
71 |
---- |