OSDN Git Service

Commit drafts of man-1.6g posted at [JM:00185] to [JM:00190]
[linuxjm/jm.git] / manual / man / draft / man1 / man.1
1 .\"
2 .\" Generated automatically from man.1.in by the
3 .\" configure script.
4 .\"
5 .\" Man page for man (and the former manpath)
6 .\"
7 .\" Copyright (c) 1990, 1991, John W. Eaton.
8 .\"
9 .\" You may distribute under the terms of the GNU General Public
10 .\" License as specified in the README file that comes with the man 1.0
11 .\" distribution.  
12 .\"
13 .\" John W. Eaton
14 .\" jwe@che.utexas.edu
15 .\" Department of Chemical Engineering
16 .\" The University of Texas at Austin
17 .\" Austin, Texas  78712
18 .\"
19 .\" Many changes - aeb
20 .\" More changes - flc
21 .\"
22 .\" Japanese Version Copyright (c) 1996 Tanoshima Hidetohsi
23 .\"         all rights reserved.
24 .\" Dec 31, 1996   Tanoshima Hidetoshi <tano@sainet.or.jp>
25 .\"
26 .\" Modified Thu Jan 29 01:52:36 JST 1998
27 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
28 .\"
29 .\" Updated Mon 6 Dec 1999 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
30 .\"
31 .\" Updated Tue Nov 14 22:52:03 JST 2000
32 .\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
33 .\" Updated Tue Dec 18 10:09:17 JST 2001
34 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
35 .\"
36 .\" Updated Fri 4 Mar 2011 by TACHIBANA Akira <tati@kc5.so-net.ne.jp>
37 .\"
38 .TH man 1 "September 19, 2005"
39 .LO 1
40 .\"O .SH NAME
41 .\"O man \- format and display the on-line manual pages
42 .SH Ì¾Á°
43 man \- ¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤òÀ°·Á¤·É½¼¨¤¹¤ë¡£
44 \.O" .SH SYNOPSIS
45 .SH ½ñ¼°
46 .B man 
47 .RB [ \-acdfFhkKtwW ]
48 .RB [ --path ] 
49 .RB [ \-m 
50 .IR system ] 
51 .RB [ \-p 
52 .IR string ] 
53 .RB [ \-C 
54 .IR config_file ] 
55 .RB [ \-M 
56 .IR pathlist ]
57 .RB [ \-P
58 .IR pager ] 
59 .RB [ \-B
60 .IR browser ] 
61 .RB [ \-H
62 .IR htmlpager ] 
63 .RB [ \-S 
64 .IR section_list ] 
65 .RI [ section ] 
66 .I "name ..."
67
68 .\"O .SH DESCRIPTION
69 .\"O .B man
70 .\"O formats and displays the on-line manual pages.  If you specify
71 .\"O .IR section ,
72 .\"O .B man
73 .\"O only looks in that section of the manual.
74 .\"O .I name
75 .\"O is normally the name of the manual page, which is typically the name
76 .\"O of a command, function, or file.
77 .\"O However, if
78 .\"O .I name
79 .\"O contains a slash
80 .\"O .RB ( / ) 
81 .\"O then 
82 .\"O .B man 
83 .\"O interprets it as a file specification, so that you can do
84 .\"O .B "man ./foo.5"
85 .\"O or even
86 .\"O .B "man /cd/foo/bar.1.gz\fR.\fP"
87 .B man
88 ¤Ï¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸ (man ¥Ú¡¼¥¸) ¤òÀ°·Á¤·É½¼¨¤¹¤ë¡£
89 .I section
90 ¤ò»ØÄꤹ¤ë¤È¡¢
91 .B man
92 ¤Ï¤½¤Î¥»¥¯¥·¥ç¥ó¤Î¤ß¤«¤é¥Þ¥Ë¥å¥¢¥ë¤òõ¤¹¡£
93 Ä̾
94 .I name
95 ¤Ï man ¥Ú¡¼¥¸¤Î̾Á°¤Ç¡¢
96 ŵ·¿Åª¤Ê¤â¤Î¤È¤·¤Æ¤Ï¥³¥Þ¥ó¥É̾¡¦´Ø¿ô̾¡¦¥Õ¥¡¥¤¥ë̾¤Ê¤É¤¬¤¢¤ë¡£
97 ¤¿¤À¤·¡¢
98 .I name
99 ¤Ë¥¹¥é¥Ã¥·¥å
100 .RB ( / )
101 ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤È¡¢
102 .B man
103 ¤Ï¥Õ¥¡¥¤¥ë¤Î»ØÄê¤Ç¤¢¤ë¤È²ò¼á¤¹¤ë¡£
104 ¤·¤¿¤¬¤Ã¤Æ
105 .B "man ./foo.5"
106 ¤È»ØÄꤷ¤¿¤ê¡¢
107 .B "man /cd/foo/bar.1.gz\fR\fP"
108 ¤È»ØÄꤹ¤ë¤³¤È¤â²Äǽ¤Ç¤¢¤ë¡£
109 .PP
110 .\"O See below for a description of where 
111 .\"O .B man
112 .\"O looks for the manual page files.
113 .B man
114 ¤¬ man ¥Ú¡¼¥¸¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤Ï¡¢
115 °Ê²¼¤ò»²¾È¤¹¤ë¤³¤È¡£
116  
117 .\"O .SH MANUAL SECTIONS
118 .SH ¥Þ¥Ë¥å¥¢¥ë¥»¥¯¥·¥ç¥ó
119 .\"O The standard sections of the manual include:
120 ¥Þ¥Ë¥å¥¢¥ë¤Îɸ½àŪ¤Ê¥»¥¯¥·¥ç¥ó¤Ï°Ê²¼¤Î¤È¤ª¤ê¡§
121 .TP
122 .B 1
123 .\"O User Commands
124 ¥æ¡¼¥¶¡¼¥³¥Þ¥ó¥É
125 .TP
126 .B 2
127 .\"O System Calls
128 ¥·¥¹¥Æ¥à¥³¡¼¥ë
129 .TP
130 .B 3
131 .\"O C Library Functions
132 C ¥é¥¤¥Ö¥é¥ê´Ø¿ô
133 .TP
134 .B 4
135 .\"O Devices and Special Files
136 ¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë
137 .TP
138 .B 5
139 .\"O File Formats and Conventions
140 ¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È
141 .TP
142 .B 6
143 .\"O Games et. Al.
144 ¥²¡¼¥à¥×¥í¥°¥é¥à
145 .TP
146 .B 7
147 .\"O Miscellanea
148 ³µÍס¢´·½¬¤ä¤½¤Î¾
149 .TP
150 .B 8
151 .\"O System Administration tools and Deamons
152 ´ÉÍý¥³¥Þ¥ó¥É¤ÈÆø¢¥³¥Þ¥ó¥É
153 .TP
154 .\"O Distributions customize the manual section to their specifics, which often include additional sections.  
155 ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ë¤è¤ê¥Þ¥Ë¥å¥¢¥ë¥»¥¯¥·¥ç¥ó¤ÏÊѹ¹¤µ¤ì¡¢ÄɲäΥ»¥¯¥·¥ç¥ó¤¬Àߤ±¤é¤ì¤ë¤³¤È¤¬¤¢¤ë¡£
156
157
158 .\"O .SH OPTIONS
159 .SH ¥ª¥×¥·¥ç¥ó
160 .TP
161 .B \-\^C " config_file"
162 .\"O Specify the configuration file to use; the default is
163 .\"O .BR /usr/share/misc/man.conf .
164 .\"O (See
165 .\"O .BR man.conf (5).)
166 »ÈÍѤ¹¤ëÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ï
167 .B /usr/share/misc/man.conf
168 ¤Ç¤¢¤ë
169 .RB ( man.conf (5)
170 ¤ò»²¾È¤¹¤ë¤³¤È)¡£
171 .TP
172 .B \-\^M " path"
173 .\"O Specify the list of directories to search for man pages.
174 .\"O Separate the directories with colons.  An empty list is the same as
175 .\"O not specifying 
176 .\"O .B \-M
177 .\"O at all.  See
178 .\"O .BR "SEARCH PATH FOR MANUAL PAGES" .
179 man ¥Ú¡¼¥¸¤òõ¤¹¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
180 ¥Ç¥£¥ì¥¯¥È¥ê¤ò¥³¥í¥ó¤Ç¶èÀڤäƻØÄꤹ¤ë¡£
181 ¥ê¥¹¥È¤¬¶õ¤Î¾ì¹ç¤Ï¡¢
182 .B \-M
183 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£
184 .RB ¡Ö "MAN ¥Ú¡¼¥¸¤Î¸¡º÷¥Ñ¥¹" ¡×
185 ¤ò»²¾È¤¹¤ë¤³¤È¡£
186 .TP
187 .B \-\^P " pager"
188 .\"O Specify which pager to use. 
189 .\"O This option overrides the
190 .\"O .B MANPAGER
191 .\"O environment variable, which in turn overrides the
192 .\"O .B PAGER
193 .\"O variable.  By default,
194 .\"O .B man
195 .\"O uses
196 .\"O .BR "/usr/bin/less -is" .
197 »ÈÍѤ¹¤ë¥Ú¡¼¥¸¥ã¡¼¤ò»ØÄꤹ¤ë¡£
198 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô
199 .B MANPAGER
200 ¤è¤êÍ¥À褵¤ì¤ë¡£¤µ¤é¤Ë¤³¤Î´Ä¶­ÊÑ¿ô¤Ï
201 ´Ä¶­ÊÑ¿ô
202 .B PAGER
203 ¤è¤ê¤âÍ¥À褵¤ì¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
204 .B man
205 ¤Ï
206 .B "/usr/bin/less -is"
207 ¤òÍѤ¤¤ë¡£
208 .TP
209 .B \-\^B
210 .\"O Specify which browser to use on HTML files. 
211 .\"O This option overrides the
212 .\"O .B BROWSER
213 .\"O environment variable. By default,
214 .\"O .B man
215 .\"O uses
216 .\"O .BR /usr/bin/less -is ,
217 HTML¥Õ¥¡¥¤¥ë¤Ç»ÈÍѤ¹¤ë¥Ö¥é¥¦¥¶¤ò»ØÄꤹ¤ë¡£
218 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô
219 .B BROWSER
220 ¤è¤êÍ¥À褵¤ì¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
221 .B man
222 ¤Ï 
223 .B "/usr/bin/less -is"
224 ¤òÍѤ¤¤ë¡£
225 .TP
226 .B \-\^H
227 .\"O Specify a command that renders HTML files as text. 
228 .\"O This option overrides the
229 .\"O .B HTMLPAGER
230 .\"O environment variable. By default,
231 .\"O .B man
232 .\"O uses
233 .\"O .BR /bin/cat ,
234 HTML¥Õ¥¡¥¤¥ë¤ò¥Æ¥­¥¹¥È¤ËÊÑ´¹¤¹¤ë¤¹¤ë¥³¥Þ¥ó¥É¤ò»ØÄꤹ¤ë¡£
235 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô
236 .B HTMLPAGER
237 ¤è¤êÍ¥À褵¤ì¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
238 .B man
239 ¤Ï 
240 .B "/bin/cat"
241 ¤òÍѤ¤¤ë¡£
242 .TP
243 .B \-\^S " section_list"
244 .\"O List is a colon separated list of manual sections to search.
245 .\"O This option overrides the
246 .\"O .B MANSECT
247 .\"O environment variable.
248 ¥Þ¥Ë¥å¥¢¥ë¤òõ¤¹¥»¥¯¥·¥ç¥ó¤ò»ØÄꤹ¤ë¥³¥í¥ó¶èÀÚ¤ê¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
249 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô
250 .B MANSECT
251 ¤è¤êÍ¥À褵¤ì¤ë¡£
252 .TP
253 .B \-\^a
254 .\"O By default,
255 .\"O .B man
256 .\"O will exit after displaying the first manual page it
257 .\"O finds.  Using this option forces
258 .\"O .B man
259 .\"O to display all the manual pages that match
260 .\"O .B name, 
261 .\"O not just the first.
262 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢man ¤Ï¸«¤Ä¤«¤Ã¤¿ºÇ½é¤Î man ¥Ú¡¼¥¸¤òɽ¼¨
263 ¤·¤¿¤¢¤È½ªÎ»¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
264 .B man
265 ¤ÏºÇ½é¤Ë¤ß¤Ä¤«¤Ã¤¿¤â¤Î¤À¤±¤Ç¤Ê¤¯
266 .B name
267 ¤Ë¥Þ¥Ã¥Á¤·¤¿¤¹¤Ù¤Æ¤Î¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
268 .TP
269 .B \-\^c
270 .\"O Reformat the source man page, even when an up-to-date cat page exists.
271 .\"O This can be meaningful if the cat page was formatted for a screen
272 .\"O with a different number of columns, or if the preformatted page
273 .\"O is corrupted.
274 ºÇ¿·¤Î cat ·Á¼°¤Î¥Ú¡¼¥¸¤¬¤¢¤Ã¤Æ¤â man ¥Ú¡¼¥¸¤Î¥½¡¼¥¹¤ò
275 À°·Á¤·¤Ê¤ª¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï cat ¥Ú¡¼¥¸¤¬¸½ºß»îÍѤ·¤Æ¤¤¤ëüËö¤È°ã¤Ã¤¿Éý¤Ç
276 À°·Á¤µ¤ì¤Æ¤¤¤ë¤È¤­¤ä²õ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ê¤É¤ËÍ­ÍѤǤ¢¤ë¡£
277 .TP
278 .B \-\^d
279 .\"O Don't actually display the man pages, but do print gobs of debugging
280 .\"O information.
281 man ¥Ú¡¼¥¸¤òɽ¼¨¤»¤º¡¢ÂçÎ̤ΥǥХå°¾ðÊó¤ò½ÐÎϤ¹¤ë¡£
282 .TP
283 .B \-\^D
284 .\"O Both display and print debugging info.
285 ¥Ç¥Ð¥Ã¥°¾ðÊó¤È man ¥Ú¡¼¥¸¤ÎξÊý¤òɽ¼¨¤¹¤ë¡£
286 .TP
287 .B \-\^f
288 .\"O Equivalent to
289 .\"O .BR whatis .
290 .B whatis
291 ¥³¥Þ¥ó¥É¤ÈƱ¤¸¡£
292 .TP
293 .\"O .BR \-\^F " or " \-\-preformat
294 .\"O Format only - do not display.
295 .BR \-\^F " ¤Þ¤¿¤Ï " \-\-preformat
296 À°·Á¤Î¤ß¹Ô¤¤¡¢É½¼¨¤Ï¤·¤Ê¤¤¡£
297 .TP
298 .B \-\^h
299 .\"O Print a help message and exit.
300 ¥Ø¥ë¥×¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
301 .TP
302 .B \-\^k
303 .\"O Equivalent to
304 .\"O .BR apropos .
305 .B apropos
306 ¥³¥Þ¥ó¥É¤ÈƱ¤¸¡£
307 .TP
308 .B \-\^K
309 .\"O Search for the specified string in *all* man pages. Warning: this is
310 .\"O probably very slow! It helps to specify a section.
311 .\"O (Just to give a rough idea, on my machine this takes about a minute
312 .\"O per 500 man pages.)
313 ¡ÖÁ´¤Æ¤Î¡×man ¥Ú¡¼¥¸¤«¤é»ØÄꤷ¤¿Ê¸»úÎó¤òõ¤¹¡£·Ù¹ð: ¤³¤ì¤Ï
314 ¤¿¤¤¤Æ¤¤Èó¾ï¤ËÃÙ¤¤¤Î¤Ç ¥»¥¯¥·¥ç¥ó¤ò»ØÄꤷ¤¿Êý¤¬Îɤ¤¡£
315 (¤À¤¤¤¿¤¤¤ÎÌܰ¤Ȥ·¤Æ¡¢»ä¤Î¥Þ¥·¥ó¤Ç¤Ï
316 500 ¥Ú¡¼¥¸¤ò¸¡º÷¤¹¤ë¤Î¤Ë 1 Ê¬¤«¤«¤ë¡£)
317 .TP
318 .B \-\^m " system"
319 .\"O Specify an alternate set of man pages to search based on the system
320 .\"O name given.
321 .\"O Ê̤Υ·¥¹¥Æ¥à¤Î¤³¤È¤òµ­½Ò¤·¤¿ man ¥Ú¡¼¥¸·²¤ò¸¡º÷¤¹¤ë¤è¤¦¤Ë»ØÄꤹ¤ë¡£
322 (¸½ºß¤Î¥·¥¹¥Æ¥à¤«¤é¡¢Â¾¤Î¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë¥¢¥¯¥»¥¹
323 ¤Ç¤­¤ë¾ì¹ç¤Ë¤Ï) Ê̤Υ·¥¹¥Æ¥à¤Î¤³¤È¤òµ­½Ò¤·¤¿ man ¥Ú¡¼¥¸·²¤ò
324 ¸¡º÷¤¹¤ë¤è¤¦¡¢¤½¤Î¥·¥¹¥Æ¥à̾¤ò»ØÄꤹ¤ë¡£
325
326 .TP
327 .B \-\^p " string"
328 .\"O Specify the sequence of preprocessors to run before
329 .\"O .B nroff
330 .\"O or
331 .\"O .BR troff .
332 .\"O Not all installations will have a full set of preprocessors.
333 .\"O Some of the preprocessors and the letters used to designate them are: 
334 .\"O eqn (e), grap (g), pic (p), tbl (t), vgrind (v), refer (r).
335 .\"O This option overrides the
336 .\"O .B MANROFFSEQ
337 .\"O environment variable.
338 .B nroff
339 ¤ä
340 .B troff
341 ¤Î¤Þ¤¨¤Ë¼Â¹Ô¤¹¤ë¥×¥ê¥×¥í¥»¥Ã¥µ¤Î½çÈÖ¤ò»ØÄꤹ¤ë¡£
342 ¥¤¥ó¥¹¥È¡¼¥ë¤Î¾õÂ֤ˤè¤Ã¤Æ¤Ï¥Õ¥ë¥»¥Ã¥È¤Î
343 ¥×¥ê¥×¥í¥»¥Ã¥µ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¡£¤¤¤¯¤Ä
344 ¤«¤Î¥×¥ê¥×¥í¥»¥Ã¥µ¤È¤½¤ì¤ò»Ø¤·¼¨¤¹Ê¸»ú¤Ï¼¡¤Î¤È¤ª¤ê¡§
345 eqn (e), grap (g), pic (p), tbl (t), vgrind (v), refer (r)¡£
346 (ÌõÃí:½çÈ֤λØÄêÊýË¡¤Ï 
347 .B \-\^p "egpt"
348 ¤Ç¤¢¤ë)
349 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶­ÊÑ¿ô
350 .B MANROFFSEQ
351 ¤è¤êÍ¥À褵¤ì¤ë¡£
352 .TP
353 .B \-\^t
354 .\"O Use
355 .\"O .B /usr/bin/groff -Tps -mandoc
356 .\"O to format the manual page, passing the output to 
357 .\"O .B stdout.
358 .\"O The default output format of
359 .\"O .B /usr/bin/groff -Tps -mandoc 
360 .\"O is Postscript, refer to the manual page of
361 .\"O .B /usr/bin/groff -Tps -mandoc
362 .\"O for ways to pick an alternate format.
363 .\"O .PP
364 .\"O Depending on the selected format and the availability of printing
365 .\"O devices, the output
366 .\"O may need to be passed through some filter or another before being
367 .\"O printed.
368 man ¥Ú¡¼¥¸¤ÎÀ°·Á¤Ë
369 .B /usr/bin/groff \-Tps \-mandoc
370 ¤ò»È¤¤¡¢
371 .B stdout
372 ¤Ë½ÐÎϤ¹¤ë¡£
373 .B /usr/bin/groff \-Tps \-mandoc
374 ¤Î¥Ç¥Õ¥©¥ë¥È¤Î½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï PostScript ¤Ç¤¢¤ë¤Î¤Ç¡¢
375 Ê̤νÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÁª¤Ö¤ä¤êÊý¤Ï
376 .\"O .B /usr/bin/groff \-Tps \-mandoc
377 .BR groff (1)
378 ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸ (¤ÎÍøÍѲÄǽ¤Ê¥Ç¥Ð¥¤¥¹)¤ò»²¾È¤¹¤ë¤³¤È¡£
379 .PP
380 Áª¤Ð¤ì¤¿½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤È°õºþÁõÃÖ¤ÎǽÎϤ˱þ¤¸¤Æ¡¢
381 ½ÐÎϤϰõºþ¤¹¤ëÁ°¤Ë¤Ê¤ó¤é¤«¤Î¥Õ¥£¥ë¥¿¡¼¤òÄ̤¹É¬Íפ¬¤¢¤ë¤À¤í¤¦¡£
382 .TP
383 .\"O .B \-\^w \fRor\fP \-\-path
384 .\"O Don't actually display the man pages, but do print the location(s) of
385 .\"O the files that would be formatted or displayed. If no argument is given:
386 .\"O display (on stdout) the list of directories that is searched by
387 .\"O .B man
388 .\"O for man pages. If
389 .\"O .B manpath
390 .\"O is a link to man, then "manpath" is equivalent to "man --path".
391 .B \-\^w \fR¤Þ¤¿¤Ï\fP \-\-path
392 man ¥Ú¡¼¥¸¤òɽ¼¨¤»¤º¡¢
393 À°·Á¤Ê¤¤¤·É½¼¨¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¤Î°ÌÃÖ¤òɽ¼¨¤¹¤ë¡£
394 °ú¿ô¤òÍ¿¤¨¤Ê¤¤¤È
395 .B man
396 ¤¬ man ¥Ú¡¼¥¸¤ò¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤òɸ½à½ÐÎϤËɽ¼¨¤¹¤ë¡£
397 .B manpath
398 ¤¬
399 .B man
400 ¤Ë¥ê¥ó¥¯¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Ï "manpath" ¤Ï "man --path" ¤È
401 Ʊ¤¸¤Ë¤Ê¤ë¡£
402 .TP
403 .B \-\^W
404 .\"O Like \-\^w, but print file names one per line, without additional information.
405 .\"O This is useful in shell commands like
406 .\"O .ft CW
407 .\"O .B "man -aW man | xargs ls -l"
408 .\"O .ft
409 \-\^w ¤Ë»÷¤Æ¤¤¤ë¤¬¡¢¥Õ¥¡¥¤¥ë̾¤òÄɲþðÊó¤Ê¤·¤Ë 1 ¹Ô¤Ë 1 ¤Ä¤º¤Äɽ¼¨¤¹¤ë¡£
410 ¤³¤ì¤Ï¥·¥§¥ë¤«¤é
411 .ft CW
412 .B "man -aW man | xargs ls -l"
413 .ft
414 ¤Ê¤É¤È»È¤¦¤ÈÊØÍø¤Ç¤¢¤ë¡£
415
416 .\"O .SH "CAT PAGES"
417 .\"O Man will try to save the formatted man pages, in order to save
418 .\"O formatting time the next time these pages are needed.
419 .\"O Traditionally, formatted versions of pages in DIR/manX are
420 .\"O saved in DIR/catX, but other mappings from man dir to cat dir
421 .\"O can be specified in
422 .\"O .BR /usr/share/misc/man.conf .
423 .\"O No cat pages are saved when the required cat directory does not exist.
424 .\"O No cat pages are saved when they are formatted for a line length
425 .\"O different from 80.
426 .\"O No cat pages are saved when man.conf contains the line NOCACHE.
427 .SH "CAT ¥Ú¡¼¥¸"
428 .B man
429 ¥³¥Þ¥ó¥É¤Ï¤¹¤Ç¤ËÀ°·Á¤µ¤ì¤¿ man ¥Ú¡¼¥¸¤ò¡¢
430 ¼¡¤Ë¤½¤Î¥Ú¡¼¥¸¤¬É¬Íפˤʤ俤Ȥ­¤ÎÀ°·Á»þ´Ö¤ÎÀáÌó¤Î¤¿¤á¤ËÊݸ¤·¤è¤¦¤È¤¹¤ë¡£
431 ÅÁÅýŪ¤Ë¡¢DIR/manX ¤ÎÀ°·ÁºÑ¤ß¥Þ¥Ë¥å¥¢¥ë¤Ï DIR/catX ¤Ë
432 ¥»¡¼¥Ö¤µ¤ì¤ë¤¬¡¢
433 man ¥Ç¥£¥ì¥¯¥È¥ê¤È cat ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÊ̤Υޥåԥó¥°(ÂбþÉÕ¤±)¤ò
434 .B /usr/share/misc/man.conf
435 ¤Ç»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤ë¡£
436 »ØÄꤵ¤ì¤¿ cat ¥Ç¥£¥ì¥¯¥È¥ê¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢
437 cat ¥Ú¡¼¥¸¤Ï¥»¡¼¥Ö¤µ¤ì¤Ê¤¤¡£
438 À°·Á¤µ¤ì¤¿ cat ¥Ú¡¼¥¸¤Î 1 ¹Ô¤Îʸ»ú¿ô¤¬ 80 Ê¸»ú¤Ç¤Ê¤¤¾ì¹ç¡¢
439 cat ¥Ú¡¼¥¸¤Ï¥»¡¼¥Ö¤µ¤ì¤Ê¤¤¡£
440 man.conf ¤Ë NOCACHE ¤È½ñ¤«¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
441 cat ¥Ú¡¼¥¸¤Ï¥»¡¼¥Ö¤µ¤ì¤Ê¤¤¡£
442 .PP
443 .\"O It is possible to make
444 .\"O .B man
445 .\"O suid to a user man. Then, if a cat directory
446 .\"O has owner man and mode 0755 (only writable by man), and the cat files
447 .\"O have owner man and mode 0644 or 0444 (only writable by man, or not
448 .\"O writable at all), no ordinary user can change the cat pages or put
449 .\"O other files in the cat directory. If
450 .\"O .B man
451 .\"O is not made suid, then a cat directory should have mode 0777
452 .\"O if all users should be able to leave cat pages there.
453 .B man
454 ¥³¥Þ¥ó¥É¤ò¥æ¡¼¥¶¡¼ man ¤Ë suid ¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¡£
455 ¤½¤Î¾ì¹ç¡¢ cat ¥Ç¥£¥ì¥¯¥È¥ê¤ò½êÍ­¼Ô man¡¢¥â¡¼¥É¤ò 0755
456 (¥æ¡¼¥¶¡¼ man ¤À¤±¤¬½ñ¤­¹þ¤ß²Ä) ¤È¤·¡¢
457 cat ¥Õ¥¡¥¤¥ë¤ò½êÍ­¼Ô man¡¢¥â¡¼¥É¤ò 0644 ¤Þ¤¿¤Ï 0444
458 (¥æ¡¼¥¶¡¼ man ¤À¤±¤¬½ñ¤­¹þ¤ß²Ä¡¢¤Þ¤¿¤Ï¥æ¡¼¥¶¡¼¤¹¤Ù¤Æ¤¬½ñ¤­¹þ¤ßÉÔ²Ä)
459 ¤È¤·¤Æ¤ª¤±¤Ð¡¢
460 °ìÈ̥桼¥¶¡¼¤Ï(man ¥³¥Þ¥ó¥É¤ò»È¤ï¤º¤Ë) cat ¥Ú¡¼¥¸¤òÊѹ¹¤·¤¿¤ê¡¢
461 ¾¤Î(´Ø·¸¤Ê¤¤)¥Õ¥¡¥¤¥ë¤ò cat ¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¯¤Ê¤ë¡£
462 man ¥³¥Þ¥ó¥É¤¬ suid ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
463 ¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¡¼¤¬ cat ¥Ú¡¼¥¸¤ò cat ¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤±¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ê¤é¡¢
464 cat ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥â¡¼¥É¤ò 0777 ¤Ë¤¹¤ë¤Ù¤­¤Ç¤¢¤ë¡£
465 .PP
466 .\"O The option
467 .\"O .B \-c
468 .\"O forces reformatting a page, even if a recent cat page exists.
469 cat ¥Ú¡¼¥¸¤¬¤¢¤Ã¤¿¤È¤·¤Æ¤â¡¢¥ª¥×¥·¥ç¥ó
470 .B \-c
471 ¤ò¤Ä¤±¤ë¤È¶¯À©Åª¤Ë man ¥Ú¡¼¥¸¤òºÆÀ°·Á¤¹¤ë¡£
472
473 .\"O .SH "HTML PAGES"
474 .\"O Man will find HTML pages if they live in directories named as
475 .\"O 'html' followed by a section extension.  The last file extension is
476 .\"O expected to be ".html", thus a valid name for an HTML version of the
477 .\"O .BR ls (1)
478 .\"O man page would be
479 .\"O .IR /usr/share/man/htmlman1/ls.1.html .
480 .SH "HTML ¥Ú¡¼¥¸"
481 .B man
482 ¥³¥Þ¥ó¥É¤Ï 'html' ¤Î¸å¤Ë¥»¥¯¥·¥ç¥óÈֹ椬³¤¯¤è¤¦¤Ê̾Á°¤ò»ý¤Ä
483 ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Ë HTML ÈǤΠman ¥Ú¡¼¥¸¤¬¤¢¤ì¤Ð¡¢¤½¤ì¤ò¸«¤Ä¤±½Ð¤¹¡£
484 ¥Õ¥¡¥¤¥ë̾¤ÎËöÈø¤ËÉÕ¤¯³ÈÄ¥»Ò¤Ï¡¢ÅöÁ³¤Ê¤¬¤é¡¢".html" ¤Ç¤¢¤ë(³ÈÄ¥»Ò¤Ï ".html" ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤)¡£
485 ¤·¤¿¤¬¤Ã¤Æ¡¢
486 .BR ls (1)
487 ¤Î man ¥Ú¡¼¥¸¤Î HTML ÈǤ¬¤¢¤ì¤Ð¡¢¤½¤ÎÍ­¸ú¤Ê̾Á°¤Ï¡¢
488 .\"O ¢­¤Î¥Ñ¥¹¤Ï´Ö°ã¤¤
489 .\"O .I /usr/share/man/htmlman1/ls.1.html
490 .I /usr/share/man/html1/ls.1.html
491 ¤È¤¤¤Ã¤¿¤â¤Î¤Ë¤Ê¤ë¤À¤í¤¦¡£
492
493 .\"O .SH "SEARCH PATH FOR MANUAL PAGES"
494 .SH "MAN ¥Ú¡¼¥¸¤Î¸¡º÷¥Ñ¥¹"
495 .\"O .B man
496 .\"O uses a sophisticated method of finding manual page files, based on the
497 .\"O invocation options and environment variables, the 
498 .\"O .B /usr/share/misc/man.conf 
499 .\"O configuration file, and some built in conventions and heuristics.
500 .B man
501 ¤Ï¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¤ß¤Ä¤±¤ë¤¿¤á¤ËÀöÎý¤µ¤ì¤¿ÊýË¡¤òÍѤ¤¤ë¡£
502 ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò¤ß¤Ä¤±¤ë¤¿¤á¤Ë¡¢µ¯Æ°¥ª¥×¥·¥ç¥ó¡¦´Ä¶­ÊÑ¿ô¡¦ÀßÄê¥Õ¥¡¥¤¥ë
503 .B /usr/share/misc/man.conf 
504 ¡¦¥×¥í¥°¥é¥à¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤³¤ì¤Þ¤Ç¤ÎÅÁÅýŪ¤Ê¸¡º÷Ë¡¤ä
505 ȯ¸«Åª¤ÊÊýË¡¤¬»È¤ï¤ì¤ë¡£
506 .PP
507 .\"O First of all, when the 
508 .\"O .I name
509 .\"O argument to 
510 .\"O .B man
511 .\"O contains a slash 
512 .\"O .RB ( / ),
513 .\"O .B man
514 .\"O assumes it is a file specification itself,
515 .\"O and there is no searching involved.
516 ¤Þ¤ººÇ½é¤Ë¡¢
517 .B man
518 ¤Î°ú¤­¿ô
519 .I name
520 ¤Ë¥¹¥é¥Ã¥·¥å
521 .RB ( / )
522 ¤¬¤¢¤ë¾ì¹ç¤Ï
523 .B man
524 ¤Ï¥Õ¥¡¥¤¥ë¤Î»ØÄê¤Ç¤¢¤ë¤È²ò¼á¤·¤Æ¡¢¸¡º÷¤ò¹Ô¤ï¤Ê¤¤¡£
525 .PP
526 .\"O But in the normal case where 
527 .\"O .I name
528 .\"O doesn't contain a slash,
529 .\"O .B man
530 .\"O searches a variety of directories for a file that could be a manual page
531 .\"O for the topic named.
532 ¤·¤«¤·
533 .I name
534 ¤Ë¥¹¥é¥Ã¥·¥å¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤Ä̾ï¤Î¾ì¹ç¡¢
535 .B man
536 ¤Ï»ØÄꤵ¤ì¤¿Ì¾Á°¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë¤Ê¤ë¥Õ¥¡¥¤¥ë¤ò
537 ¤¤¤í¤¤¤í¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤Ç¸¡º÷¤¹¤ë¡£
538 .PP
539 .\"O If you specify the 
540 .\"O .BI "-M " pathlist
541 .\"O option,
542 .\"O .I pathlist 
543 .\"O is a colon-separated list of the directories that 
544 .\"O .B man 
545 .\"O searches.
546 .BI "-M " pathlist
547 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
548 .I pathlist
549 ¤¬
550 .B man
551 ¤¬¸¡º÷¤ò¹Ô¤¦ÂоݤȤʤ롣
552 .I pathlist
553 ¤Ï¥³¥í¥ó¤Ç¶èÀڤ俥ǥ£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
554 .PP
555 .\"O If you don't specify
556 .\"O .B -M
557 .\"O but set the
558 .\"O .B MANPATH
559 .\"O environment variable, the value of that variable is the list of the 
560 .\"O directories that 
561 .\"O .B man
562 .\"O searches.
563 .B -M
564 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¤¬¡¢´Ä¶­ÊÑ¿ô
565 .B MANPATH
566 ¤ÏÀßÄꤷ¤Æ¤¢¤ë¾ì¹ç¤Ï¡¢¤³¤Î´Ä¶­ÊÑ¿ô¤ÎÃͤ¬
567 .B man
568 ¤¬¸¡º÷¤ò¹Ô¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤Ç¤¢¤ë¡£
569 .PP
570 .\"O If you don't specify an explicit path list with 
571 .\"O .B -M
572 .\"O or 
573 .\"O .BR MANPATH ,
574 .\"O .B man
575 .\"O develops its own path list based on the contents of the configuration 
576 .\"O file
577 .\"O .BR /usr/share/misc/man.conf .
578 .\"O The
579 .\"O .B MANPATH
580 .\"O statements in the configuration file identify particular directories to 
581 .\"O include in the search path.
582 .B -M
583 ¤ä
584 .B MANPATH
585 ¤Ç¥Ñ¥¹¤Î¥ê¥¹¥È¤òÌÀ¼¨Åª¤Ë»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
586 .B man
587 ¤ÏÀßÄê¥Õ¥¡¥¤¥ë
588 .B /usr/share/misc/man.conf
589 ¤ÎÆâÍƤ˴ð¤Å¤¤¤Æ¥Ñ¥¹¤Î¥ê¥¹¥È¤òºîÀ®¤¹¤ë¡£
590 ÀßÄê¥Õ¥¡¥¤¥ë¤Î
591 .B MANPATH
592 ¥¹¥Æ¡¼¥È¥á¥ó¥È¤Ë¤è¤ê¡¢ÆÃÄê¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¸¡º÷¥Ñ¥¹¤ËÄɲ乤ë¤Î¤À¡£
593 .PP
594 .\"O Furthermore, the 
595 .\"O .B MANPATH_MAP 
596 .\"O statements add to the search path depending on your command search path
597 .\"O (i.e. your
598 .\"O .B PATH 
599 .\"O environment variable).  For each directory that may be in the command
600 .\"O search path, a
601 .\"O .B MANPATH_MAP
602 .\"O statement specifies a directory that should be added to the search
603 .\"O path for manual page files.
604 .\"O .B man
605 .\"O looks at the 
606 .\"O .B PATH
607 .\"O variable and adds the corresponding directories to the manual page
608 .\"O file search path.  Thus, with the proper use of
609 .\"O .BR MANPATH_MAP ,
610 .\"O when you issue the command
611 .\"O .BR "man xyz" ,
612 .\"O you get a manual page for the program that would run if you issued the
613 .\"O command 
614 .\"O .BR xyz .
615 ¤µ¤é¤Ë
616 .B MANPATH_MAP
617 ¥¹¥Æ¡¼¥È¥á¥ó¥È¤Ë¤è¤Ã¤Æ¡¢¥³¥Þ¥ó¥É¸¡º÷¥Ñ¥¹
618 (¤¹¤Ê¤ï¤Á¡¢¥æ¡¼¥¶¡¼¤Î
619 .B PATH
620 ´Ä¶­ÊÑ¿ô) ¤Ë±þ¤¸¤¿¸¡º÷¥Ñ¥¹¤¬Äɲ䵤ì¤ë¡£
621 ¥³¥Þ¥ó¥É¸¡º÷¥Ñ¥¹¤Ë¤¢¤ë³Æ¥Ç¥£¥ì¥¯¥È¥ê¤ËÂФ·¤Æ¡¢
622 .B MANPATH_MAP
623 ¥¹¥Æ¡¼¥È¥á¥ó¥È¤¬ man ¥Ú¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¸¡º÷¥Ñ¥¹¤ËÄɲ乤٤­
624 ¥Ç¥£¥ì¥¯¥È¥ê¤ò°ì¤Ä¤Å¤Ä»ØÄꤹ¤ë¡£
625 .B man
626 ¤Ï
627 .B PATH
628 ÊÑ¿ô¤òÄ´¤Ù¤Æ¡¢(
629 .B MANPATH_MAP
630 ¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë)Âбþ¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò man ¥Ú¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¸¡º÷¥Ñ¥¹¤Ë
631 Äɲ乤ë¤Î¤Ç¤¢¤ë¡£
632 ¤·¤¿¤¬¤Ã¤Æ¡¢
633 .B MANPATH_MAP
634 ¤òŬÀڤ˻ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
635 .B "man xyz"
636 ¤ò¼Â¹Ô¤¹¤ë¤È¡¢¥³¥Þ¥ó¥É
637 .B xyz
638 ¤ò¼Â¹Ô¤·¤¿¤È¤­¤ËÆ°ºî¤¹¤ë¥×¥í¥°¥é¥à¤Î man ¥Ú¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤³¤È¤Ë¤Ê¤ë¡£
639 .PP
640 .\"O In addition, for each directory in the command search path (we'll call
641 .\"O it a "command directory") for which you do
642 .\"O .I not
643 .\"O have a 
644 .\"O .B MANPATH_MAP 
645 .\"O statement,
646 .\"O .B man
647 .\"O automatically looks for a manual page directory "nearby"
648 .\"O namely as a subdirectory in the command directory itself or
649 .\"O in the parent directory of the command directory.
650 ¤Ê¤ª¡¢¥³¥Þ¥ó¥É¸¡º÷¥Ñ¥¹¤Î¥Ç¥£¥ì¥¯¥È¥ê
651 (¡Ö¥³¥Þ¥ó¥É¥Ç¥£¥ì¥¯¥È¥ê¡×¤È¸Æ¤Ö¤³¤È¤Ë¤¹¤ë) ¤ËÂФ·¤Æ
652 .B MANPATH_MAP
653 ¥¹¥Æ¡¼¥È¥á¥ó¥È¤¬\fI¸ºß¤·¤Ê¤¤\fR¾ì¹ç¡¢
654 .Bman
655 ¤Ï¤½¤¦¤·¤¿¥³¥Þ¥ó¥É¥Ç¥£¥ì¥¯¥È¥ê¤Î°ì¤Ä°ì¤Ä¤ËÂФ·¤Æ¡¢
656 ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤¬¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò¼«Æ°Åª¤Ë¡Ö¶áÎ٤ξì½ê¡×¤Ç
657 ¸¡º÷¤¹¤ë¡£¡Ö¶áÎ٤ξì½ê¡×¤È¤¤¤¦¤Î¤Ï¡¢¥³¥Þ¥ó¥É¥Ç¥£¥ì¥¯¥È¥ê
658 ¤½¤Î¤â¤Î¤ä¥³¥Þ¥ó¥É¥Ç¥£¥ì¥¯¥È¥ê¤Î¿Æ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¡¢¥µ¥Ö
659 ¥Ç¥£¥ì¥¯¥È¥ê¤È¤¤¤Ã¤¿¾ì½ê¤Ç¤¢¤ë¡£
660 .PP
661 .\"O You can disable the automatic "nearby" searches by including a
662 .\"O .B NOAUTOPATH
663 .\"O statement in 
664 .\"O .BR /usr/share/misc/man.conf .
665 ¡Ö¶áÎ٤ξì½ê¡×¤Î¼«Æ°¸¡º÷¤ò̵¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
666 .B NOAUTOPATH
667 ¥¹¥Æ¡¼¥È¥á¥ó¥È¤ò
668 .B /usr/share/misc/man.conf
669 ¤Ë»ØÄꤹ¤ì¤Ð¤è¤¤¡£
670 .PP
671 .\"O In each directory in the search path as described above, 
672 .\"O .B man
673 .\"O searches for a file named
674 .\"O .IB topic . section\fR,
675 .\"O with an optional suffix on the section number and 
676 .\"O possibly a compression suffix.
677 .\"O If it doesn't find such a file, it then looks in any subdirectories
678 .\"O named
679 .\"O .BI man N
680 .\"O or 
681 .\"O .BI cat N
682 .\"O where
683 .\"O .I N
684 .\"O is the manual section number.
685 .\"O If the file is in a 
686 .\"O .BI cat N
687 .\"O subdirectory, 
688 .\"O .B man
689 .\"O assumes it is a formatted manual page file (cat page).  Otherwise,
690 .\"O .B man
691 .\"O assumes it is unformatted.  In either case, if the filename has a
692 .\"O known compression suffix (like
693 .\"O .BR .gz ),
694 .\"O .B man
695 .\"O assumes it is gzipped.
696 ¾åµ­¤Î¸¡º÷¥Ñ¥¹¤Ë¤¢¤ë³Æ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤ª¤¤¤Æ¡¢
697 .B man
698 ¤Ï
699 .IB topic . section\fR,
700 ¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤òõ¤¹¡£
701 ¤³¤Î¥»¥¯¥·¥ç¥óÈÖ¹æ¤Ë¤Ï (1x ¤Î x ¤Î¤è¤¦¤Ê)
702 ÀÜÈø¼­¤¬¤¢¤Ã¤Æ¤â¤è¤¤¤·¡¢°µ½Ì¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹³ÈÄ¥»Ò¤¬
703 ¤µ¤é¤Ë³¤¤¤Æ¤â¤è¤¤¡£
704 ¤³¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤¬¤ß¤Ä¤«¤é¤Ê¤¤¾ì¹ç¡¢
705 .BI man N
706 ¤Þ¤¿¤Ï
707 .BI cat N
708 ¤È¤¤¤¦Ì¾Á°¤ÎÁ´¤Æ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò¸¡º÷¤¹¤ë¡£
709 ¤³¤³¤Ç
710 .I N
711 ¤Ï man ¥Ú¡¼¥¸¤Î¥»¥¯¥·¥ç¥óÈÖ¹æ¤Ç¤¢¤ë¡£
712 ¥Õ¥¡¥¤¥ë¤¬
713 .BI cat N
714 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¾ì¹ç¡¢
715 .B man
716 ¤ÏÀ°·ÁºÑ¤ß¤Î man ¥Ú¡¼¥¸¥Õ¥¡¥¤¥ë (cat ¥Ú¡¼¥¸) ¤Ç¤¢¤ë¤È¤ß¤Ê¤¹¡£
717 ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢
718 .B man
719 ¤Ï̤À°·Á¤Î man ¥Ú¡¼¥¸¤Ç¤¢¤ë¤È¤ß¤Ê¤¹¡£
720 ¤É¤Á¤é¤Î¾ì¹ç¤Ç¤â¡¢¥Õ¥¡¥¤¥ë̾¤Ë
721 .RB ( .gz
722 ¤Î¤è¤¦¤Ê) ´ûÃΤΰµ½Ì¥Õ¥¡¥¤¥ë³ÈÄ¥»Ò¤¬ÉÕ¤¤¤Æ¤¤¤ì¤Ð¡¢
723 .B man
724 ¤Ï gzip ¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤È¹Í¤¨¤ë¡£
725 .PP
726 .\"O If you want to see where (or if)
727 .\"O .B man
728 .\"O would find the manual page for a particular topic, use the 
729 .\"O .BR "--path " ( -w )
730 .\"O option.
731 .B man
732 ¤¬ÆÃÄê¤Î¥È¥Ô¥Ã¥¯¤Î man ¥Ú¡¼¥¸¤ò
733 ¤É¤³¤Ç¤ß¤Ä¤±¤ë¤« (¤Þ¤¿¤Ï¤ß¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¤Î¤«) ¤òÃΤꤿ¤¤¤È¤­¤Ï¡¢
734 .BR "--path " ( -w )
735 ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤³¤È¡£
736
737 .\"O .SH ENVIRONMENT
738 .SH ´Ä¶­ÊÑ¿ô
739 .TP
740 .B MANPATH
741 .\"O If
742 .\"O .B MANPATH
743 .\"O is set, 
744 .\"O .B man
745 .\"O uses it as the path to search for manual page files.  It overrides the
746 .\"O configuration file and the automatic search path, but is overridden by
747 .\"O the
748 .\"O .B -M
749 .\"O invocation option.  See 
750 .\"O .BR "SEARCH PATH FOR MANUAL PAGES" .
751 .B MANPATH
752 ¤òÀßÄꤹ¤ë¤È¡¢
753 man ¥Ú¡¼¥¸¥Õ¥¡¥¤¥ë¤òõ¤¹¤È¤­¤Î¥Ñ¥¹¤È¤·¤Æ»È¤ï¤ì¤ë¡£
754 ¤³¤Î´Ä¶­ÊÑ¿ô¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤ä¼«Æ°Åª¤Ë»ØÄꤵ¤ì¤ë¸¡º÷¥Ñ¥¹¤ÎÀßÄê¤ò¾å½ñ¤­¤¹¤ë¤¬¡¢
755 µ¯Æ°¥ª¥×¥·¥ç¥ó
756 .B -M
757 ¤Ç¾å½ñ¤­¤µ¤ì¤ë¡£
758 .RB ¡Ö "MAN ¥Ú¡¼¥¸¤Î¸¡º÷¥Ñ¥¹" ¡×
759 ¤ò»²¾È¤¹¤ë¤³¤È¡£
760 .TP
761 .B MANPL
762 .\"O If
763 .\"O .B MANPL
764 .\"O is set, its value is used as the display page length.
765 .\"O Otherwise, the entire man page will occupy one (long) page.
766 .B MANPL
767 ¤òÀßÄꤹ¤ë¤È¡¢É½¼¨¤¹¤ë 1 ¥Ú¡¼¥¸Åö¤¿¤ê¤Î¹Ô¿ô¤È¤·¤Æ»È¤ï¤ì¤ë¡£
768 ¤³¤Î´Ä¶­ÊÑ¿ô¤òÀßÄꤷ¤Ê¤¤¾ì¹ç¡¢man ¥Ú¡¼¥¸Á´ÂΤǠ(Ť¤) 1 ¥Ú¡¼¥¸¤Ë¤Ê¤ë¡£
769 .TP
770 .B MANROFFSEQ
771 .\"O If
772 .\"O .B MANROFFSEQ
773 .\"O is set, its value is used to determine the set of preprocessors run
774 .\"O before running
775 .\"O .B nroff
776 .\"O or
777 .\"O .BR troff .
778 .\"O By default, pages are passed through
779 .\"O the tbl preprocessor before
780 .\"O .BR nroff .
781 .B MANROFFSEQ
782 ¤òÀßÄꤹ¤ë¤È¡¢
783 .B nroff
784 ¤ä
785 .B troff
786 ¤ÎÁ°¤Ë¼Â¹Ô¤¹¤ë¥×¥ê¥×¥í¥»¥Ã¥µ¤¬¡¢¤³¤ÎÃͤò¤â¤È¤Ë¤·¤Æ·èÄꤵ¤ì¤ë¡£
787 (ÌõÃí:ÀßÄêÊýË¡¤Ï 
788 \&'MANROFFSEQ=egpt'
789 ¤Ç¤¢¤ë)
790 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢man ¥Ú¡¼¥¸¤Ï
791 .B nroff
792 ¤Î¤Þ¤¨¤Ë tbl ÍѤΥץê¥×¥í¥»¥Ã¥µ¤ËÄ̤µ¤ì¤ë¡£
793 .TP
794 .B MANSECT
795 .\"O If
796 .\"O .B MANSECT
797 .\"O is set, its value is used to determine which manual sections to search.
798 .B MANSECT
799 ¤òÀßÄꤹ¤ë¤È¡¢¤É¤Î¥Þ¥Ë¥å¥¢¥ë¥»¥¯¥·¥ç¥ó¤òõ¤¹¤«¤¬
800 ¤³¤ÎÃͤò¤â¤È¤Ë¤·¤Æ·èÄꤵ¤ì¤ë¡£
801 .TP
802 .B MANWIDTH
803 .\"O If
804 .\"O .B MANWIDTH
805 .\"O is set, its value is used as the width manpages should be displayed.
806 .\"O Otherwise the pages may be displayed over the whole width of your
807 .\"O screen.
808 .B MANWIDTH
809 ¤òÀßÄꤹ¤ë¤È¡¢¤½¤ÎÃͤòɽ¼¨¤¹¤ë man ¥Ú¡¼¥¸¤ÎÉý¤È¤·¤Æ»ÈÍѤ¹¤ë¡£
810 »ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï²èÌ̤ÎÉý°ìÇդޤǻÈÍѤ¹¤ë¡£
811 .TP
812 .B MANPAGER
813 .\"O If
814 .\"O .B MANPAGER
815 .\"O is set, its value is used as the name of the program to use to display
816 .\"O the man page.  If not, then
817 .\"O .B PAGER
818 .\"O is used. If that has no value either,
819 .\"O .B /usr/bin/less -is
820 .\"O is used.
821 .B MANPAGER
822 ¤òÀßÄꤹ¤ë¤È¡¢man ¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¥×¥í¥°¥é¥à¤È¤·¤Æ»ÈÍѤ¹¤ë¡£
823 »ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢
824 ´Ä¶­ÊÑ¿ô
825 .B PAGER
826 ¤¬»ÈÍѤµ¤ì¤ë¡£¤É¤Á¤é¤âÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï
827 .B /usr/bin/less -is
828 ¤¬»È¤ï¤ì¤ë¡£
829 .TP
830 .B BROWSER
831 .\"O The name of a browser to use for displaying HTML manual pages.  If
832 .\"O it is not set, /usr/bin/less -is is used.
833 HTMLÈÇman ¥Ú¡¼¥¸¤Îɽ¼¨¤ËÍѤ¤¤ë¥Ö¥é¥¦¥¶Ì¾¡£
834 ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï
835 .B /usr/bin/less -is
836 ¤¬»È¤ï¤ì¤ë¡£
837 .TP
838 .B HTMLPAGER
839 .\"O The command to use for rendering HTML manual pages as text.  If
840 .\"O it is not set, /bin/cat is used.
841 HTML¥Õ¥¡¥¤¥ë¤ò¥Æ¥­¥¹¥È¤ËÊÑ´¹¤¹¤ë¥³¥Þ¥ó¥É¡£
842 ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï
843 .B /bin/cat
844 ¤¬»È¤ï¤ì¤ë¡£
845 .TP
846 .B LANG
847 .\"O If
848 .\"O .B LANG
849 .\"O is set, its value defines the name of the subdirectory where man
850 .\"O first looks for man pages. Thus, the command `LANG=dk man 1 foo'
851 .\"O will cause man to look for the foo man page in .../dk/man1/foo.1,
852 .\"O and if it cannot find such a file, then in .../man1/foo.1,
853 .\"O where ... is a directory on the search path.
854 .B LANG
855 ¤òÀßÄꤹ¤ë¤È¡¢
856 .B man
857 ¥³¥Þ¥ó¥É¤Ï¤Þ¤º¤½¤Î̾Á°¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤«¤é man ¥Ú¡¼¥¸¤òõ¤¹¡£
858 ¤·¤¿¤¬¤Ã¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é 'LANG=dk man 1 foo'
859 ¤ÈÂǤÁ¹þ¤à¤È¡¢
860 .B man
861 ¥³¥Þ¥ó¥É¤Ï¤Þ¤º .../dk/man1/foo.1 ¤òõ¤·¡¢
862 ¸«¤Ä¤«¤é¤Ê¤±¤ì¤Ð .../man1/foo.1
863 ¤òõ¤¹¡£¤³¤Î ... ¤Ï¸¡º÷¥Ñ¥¹¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¢¤ë¡£
864 .TP
865 .B "NLSPATH, LC_MESSAGES, LANG"
866 .\"O The environment variables
867 .\"O .B NLSPATH
868 .\"O and
869 .\"O .B LC_MESSAGES
870 .\"O (or
871 .\"O .B LANG
872 .\"O when the latter does not exist)
873 .\"O play a role in locating the message catalog.
874 .\"O (But the English messages are compiled in, and for English no catalog
875 .\"O is required.)
876 .\"O Note that programs like
877 .\"O .BR col(1)
878 .\"O called by man also use e.g. LC_CTYPE.
879 ´Ä¶­ÊÑ¿ô
880 .B NLSPATH
881 ¤È
882 .B LC_MESSAGES
883 (¸å¼Ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð
884 .BR LANG )
885 ¤Ï¥á¥Ã¥»¡¼¥¸¥«¥¿¥í¥°¤Î°ÌÃÖ¤ò»ØÄꤹ¤ë¡£
886 (±Ñ¸ì¤Î¥á¥Ã¥»¡¼¥¸¤Ï¥³¥ó¥Ñ¥¤¥ë»þ¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢
887 ±Ñ¸ì¤Î¥«¥¿¥í¥°¤ÏɬÍפʤ¤)
888 man ¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë
889 .BR col (1)
890 ¤Î¤è¤¦¤Ê¥×¥í¥°¥é¥à¤Ï¡¢LC_CTYPE
891 ¤È¤¤¤Ã¤¿ÊÑ¿ô¤â¤Þ¤¿»È¤¦¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
892 .TP
893 .B PATH
894 .\"O .B PATH
895 .\"O helps determine the search path for manual page files.  See
896 .\"O .BR "SEARCH PATH FOR MANUAL PAGES" .
897 .B PATH
898 ¤Ï man ¥Ú¡¼¥¸¤Î¥Ç¥Õ¥©¥ë¥È¸¡º÷¥Ñ¥¹¤Î·èÄê¤ËÍøÍѤµ¤ì¤ë¡£
899 .RB ¡Ö "MAN ¥Ú¡¼¥¸¤Î¸¡º÷¥Ñ¥¹" ¡×
900 ¤ò»²¾È¤¹¤ë¤³¤È¡£
901 .TP
902 .B SYSTEM
903 .\"O .B SYSTEM
904 .\"O is used to get the default alternate system name (for use
905 .\"O with the
906 .\"O .B \-m
907 .\"O option). 
908 .B SYSTEM
909 ¤Ï
910 (¸½ºß¤Î¥·¥¹¥Æ¥à¤«¤é¡¢Â¾¤Î¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤Î¥Þ¥Ë¥å¥¢¥ë¤Ë¥¢¥¯¥»¥¹
911 ¤Ç¤­¤ë¾ì¹ç¤Ë¤Ï) Ê̤Υ·¥¹¥Æ¥à¤Î¤³¤È¤òµ­½Ò¤·¤¿ man ¥Ú¡¼¥¸·²¤ò
912 ¸¡º÷¤¹¤ë¾ì¹ç¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥·¥¹¥Æ¥à̾¤òÆÀ¤ë¤Î¤Ë»È¤ï¤ì¤ë
913 .RB ( \-m
914 ¥ª¥×¥·¥ç¥ó¤È°ì½ï¤Ë»È¤¦¤â¤Î¤ÈƱ¤¸)
915 .\"O .SH BUGS
916 .\"O The
917 .\"O .B \-t
918 .\"O option only works if a troff-like program is installed.
919 .\"O .br
920 .\"O If you see blinking \e255 or <AD> instead of hyphens,
921 .\"O put `LESSCHARSET=latin1' in your environment.
922 .SH ¥Ð¥°
923 .B \-t
924 ¥ª¥×¥·¥ç¥ó¤Ï troff ¤ä¤½¤ì¤ÈƱÅù¤Ê¥×¥í¥°¥é¥à¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë
925 ¾ì¹ç¤Î¤ßÍ­¸ú¤Ç¤¢¤ë¡£
926 .br
927 ¤â¤·¥Ï¥¤¥Õ¥ó¤Î¤«¤ï¤ê¤Ë¡¢ÅÀÌǤ¹¤ë \e255 ¤ä <AD> ¤¬É½¼¨¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï
928 ´Ä¶­ÊÑ¿ô¤Ë 'LESSCHARSET=latin1' ¤òÀßÄꤹ¤ë¤ÈÎɤ¤¡£
929 .PP
930 ÌõÃí: ÆüËܸì¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ë¤Ï
931 \&'JLESSCHARSET=japanese-euc' ¤Þ¤¿¤Ï 'LESSCHARSET=japanese-euc'
932 ¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¡¢¤³¤ÎÊýË¡¤Ç¤ÏÂбþ¤Ç¤­¤Ê¤¤¡£groff ¤Î¥ª¥×¥·¥ç¥ó¤Ç
933 \-Tnippon ¤Þ¤¿ \-Tascii ¤ò»ÈÍѤ¹¤ë¤³¤È¡£
934 .\"O .SH TIPS
935 .\"O If you add the line
936 .\"O 
937 .\"O  (global-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word))))
938 .\"O 
939 .\"O to your
940 .\"O .IR .emacs 
941 .\"O file, then hitting F1 will give you the man page for the library call
942 .\"O at the current cursor position.
943 .\"O .LP
944 .\"O To get a plain text version of a man page, without backspaces
945 .\"O and underscores, try
946 .\"O 
947 .\"O   # man foo | col -b > foo.mantxt
948 .SH ¥¦¥éµ»
949   (global-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word))))
950
951 ¤È¤¤¤¦¹Ô¤ò¼«Ê¬¤Î
952 .IR .emacs
953 ¥Õ¥¡¥¤¥ë¤ËÄɲ䷤Ƥª¤±¤Ð¡¢F1 ¤ò᤯¤È¡¢
954 ¸½ºß¤Î¥«¡¼¥½¥ë°ÌÃ֤ˤ¢¤ë¥é¥¤¥Ö¥é¥ê¥³¡¼¥ë¤Î
955 man ¥Ú¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¡£
956 .LP
957 ¥Ð¥Ã¥¯¥¹¥Ú¡¼¥¹¤È¥¢¥ó¥À¡¼¥¹¥³¥¢¤¬¤Ê¤¤
958 ¥×¥ì¡¼¥ó¥Æ¥­¥¹¥ÈÈǤΠman ¥Ú¡¼¥¸¤òÆÀ¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É
959
960   # man foo | col -b > foo.mantxt
961
962 ¤ò¼Â¹Ô¤¹¤ë¤³¤È¡£
963 .\"O .SH AUTHOR
964 .\"O John W. Eaton was the original author of
965 .\"O .BR "man" .
966 .\"O Zeyd M. Ben-Halim released man 1.2, and Andries Brouwer followed up with 
967 .\"O versions 1.3 thru 1.5p.
968 .\"O Federico Lucifredi <flucifredi@acm.org> is the current maintainer.
969 .SH Ãø¼Ô
970 .B "man"
971 ¥Ñ¥Ã¥±¡¼¥¸¤Î¸¶ºî¼Ô¤Ï John W. Eaton ¤Ç¤¢¤ë¡£
972 Zeyd M. Ben-Halim ¤¬ man 1.2 ¤ò¥ê¥ê¡¼¥¹¤·¡¢°ú¤­Â³¤¤¤Æ Andries Brouwer ¤¬
973 versions 1.3 ¤«¤é 1.5p ¤Þ¤Ç¤ò¥ê¥ê¡¼¥¹¤·¤¿¡£
974 ¸½ºß¤Î¥á¥ó¥Æ¥Ê¡¼¤Ï Federico Lucifredi <flucifredi@acm.org> ¤Ç¤¢¤ë¡£
975
976 .\"O .SH "SEE ALSO"
977 .SH ´ØÏ¢¹àÌÜ
978 apropos(1), whatis(1), less(1), groff(1), man.conf(5).
979
980 .SH ÌõÃí
981 ËÜ man ¥Ú¡¼¥¸¤Î³Æ¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤Ï¡¢man-1.6g ¤Ç
982 .IP
983 configure +fhs
984 .PP
985 ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤¿¤â¤Î¤Ç¤¹¡£
986 ¼ÂºÝ¤Î¥Ñ¥¹¤Ï¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ê¤É¤Ë¤è¤Ã¤Æ
987 °Û¤Ê¤Ã¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£