OSDN Git Service

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