1 .\" $NetBSD: ul.1,v 1.4 1996/11/12 08:00:07 mikel Exp $
3 .\" Copyright (c) 1980, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed by the University of
17 .\" California, Berkeley and its contributors.
18 .\" 4. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" @(#)ul.1 8.1 (Berkeley) 6/6/93
36 .\" Translated Tue Nov 12 JST 1996 by NetBSD jman proj. <jman@spa.is.uec.ac.jp>
37 .\" Updated Wed Apr 5 JST 2000 by Kentaro Shirakata <argrath@ub32.org>
44 .\"O .Nd do underlining
45 .Nd ÆþÎÏÃæ¤Î¥¢¥ó¥À¡¼¥é¥¤¥óÀ¸À®¥³¡¼¥É¤òüËö¤Î¥·¡¼¥±¥ó¥¹¤ËÊÑ´¹¤¹¤ë
55 .\"O reads the named files (or standard input if none are given)
56 .\"O and translates occurrences of underscores to the sequence
57 .\"O which indicates underlining for the terminal in use, as specified
58 .\"O by the environment variable
62 »ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë (»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ðɸ½àÆþÎÏ) ¤òÆɤߡ¢
63 ¥¢¥ó¥À¡¼¥é¥¤¥ó¤òɽ¼¨¤¹¤Ù¤Éôʬ¤ò¡¢´Ä¶ÊÑ¿ô
65 ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ëüËö¤Ë¤¢¤ï¤»¤Æ¥¢¥ó¥À¡¼¥é¥¤¥ó¤òɽ¼¨¤¹¤ë¥·¡¼¥±¥ó¥¹¤ËÊÑ´¹¤¹¤ë¡£
68 .\"O database is read to determine the appropriate sequences for underlining.
69 ¥¢¥ó¥À¡¼¥é¥¤¥ó¤Î¥·¡¼¥±¥ó¥¹¤ò·èÄꤹ¤ë¤¿¤á¤Ë¡¢
71 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬Æɤ߹þ¤Þ¤ì¤ë¡£
72 .\"O If the terminal is incapable of underlining, but is capable of
73 .\"O a standout mode then that is used instead.
74 .\"O If the terminal can overstrike,
75 .\"O or handles underlining automatically,
79 üËö¤¬¥¢¥ó¥À¡¼¥é¥¤¥óµ¡Ç½¤ò»ý¤¿¤º¡¢¶¯Ä´É½¼¨µ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
80 ¶¯Ä´É½¼¨¤òÂå¤ï¤ê¤Ë»ÈÍѤ¹¤ë¡£¤â¤·Ã¼Ëö¤¬Æó½Å°õ»ú¤Ç¤¤ë¤«¡¢Ã¼Ëö¼«ÂΤË
81 ¥¢¥ó¥À¡¼¥é¥¤¥ó¤ò°·¤¦µ¡Ç½¤¬¤¢¤ë¤Ê¤é¤Ð¡¢
86 .\"O If the terminal cannot underline, underlining is ignored.
87 üËö¤¬¥¢¥ó¥À¡¼¥é¥¤¥ó¤ò°·¤¨¤Ê¤¤¾ì¹ç¤Ï¡¢¥¢¥ó¥À¡¼¥é¥¤¥ó¤Ï̵»ë¤µ¤ì¤ë¡£
89 .\"O The following options are available:
90 °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬ÍøÍѲÄǽ¤Ç¤¢¤ë:
94 .\"O Underlining is indicated by a separate line containing appropriate
95 .\"O dashes `\-'; this is useful when you want to look at the underlining
96 .\"O which is present in an
98 .\"O output stream on a crt-terminal.
99 ¥¢¥ó¥À¡¼¥é¥¤¥ó¤Î¤«¤ï¤ê¤Ë¡¢¼¡¤Î¹Ô¤ÎÅö³º°ÌÃ֤˥À¥Ã¥·¥å `\-' ¤òɽ¼¨¤¹¤ë¡£
102 ½ÐÎϤΥ¢¥ó¥À¡¼¥é¥¤¥ó¤ò¸«¤¿¤¤¤È¤¤Ë͸ú¤Ç¤¢¤ë¡£
104 .\"O Overrides the terminal type specified in the environment with
106 üËö¥¿¥¤¥×¤ò¡¢´Ä¶ÊÑ¿ô¤Ç»ØÄꤵ¤ì¤¿¤â¤Î¤ÎÂå¤ï¤ê¤Ë
112 .\"O The following environment variable is used:
113 °Ê²¼¤Î´Ä¶ÊÑ¿ô¤¬ÍøÍѤµ¤ì¤ë:
117 .\"O variable is used to relate a tty device
118 .\"O with its device capability description (see
119 .\"O .Xr terminfo 5 ) .
121 ÊÑ¿ô¤Ï¡¢tty ¥Ç¥Ð¥¤¥¹¤ËÂбþ¤¹¤ë¡¢¥Ç¥Ð¥¤¥¹¤ÎüËöǽÎϵ½Ò
123 ¤ò»²¾È¤¹¤ë¤³¤È) ¤òÆÀ¤ë¤¿¤á¤ËÍøÍѤµ¤ì¤ë¡£
125 .\"O is set at login time, either by the default terminal type
128 .\"O or as set during the login process by the user in their
131 .\"O .Xr setenv 1 ) .
135 ¤Ë»ØÄꤵ¤ì¤¿¥Ç¥Õ¥©¥ë¥ÈüËö¥¿¥¤¥×¤ËÀßÄꤵ¤ì¤ë¤«¡¢
137 ¥æ¡¼¥¶¤Ë¤è¤Ã¤Æ¡¢¤½¤Î¥æ¡¼¥¶¤Î
139 ¥Õ¥¡¥¤¥ë¤Î¤Ê¤«¤ÇÀßÄꤵ¤ì¤ë
150 .\"O usually outputs a series of backspaces and underlines intermixed
151 .\"O with the text to indicate underlining. No attempt is made to optimize
152 .\"O the backward motion.
154 ¤Ï¡¢Ä̾¥Æ¥¥¹¥È¤Ë¥¢¥ó¥À¡¼¥é¥¤¥ó¤òÆþ¤ì¤ë¤¿¤á¤Ë¥Ð¥Ã¥¯¥¹¥Ú¡¼¥¹¤È
155 ¥¢¥ó¥À¡¼¥é¥¤¥óʸ»ú¤òϢ³¤·¤Æ½ÐÎϤ¹¤ë¡£
157 ¤Ï¡¢¤³¤Î¥«¡¼¥½¥ë¤ÎµÕÊý¸þ¤Ø¤Î°ÜÆ°¤ÎºÇŬ²½¤Þ¤Ç¤Ï¹Ô¤ï¤Ê¤¤¡£
162 .\"O command appeared in