翻訳ドキュメント管理用
Revision | 0741cf7d0ec153c657c7506445e86a17a5a384de (tree) |
---|---|
Zeit | 2021-01-19 11:18:51 |
Autor | cyoichi <cyoichi@user...> |
Commiter | cyoichi |
util-linux: mesg.1, whereis.1, write.1 to 2.36
modified: manual/util-linux/ChangeLog
modified: manual/util-linux/original/man1/mesg.1
modified: manual/util-linux/original/man1/whereis.1
modified: manual/util-linux/original/man1/write.1
new file: manual/util-linux/po4a/man1/mesg.patch
new file: manual/util-linux/po4a/man1/mesg.po
new file: manual/util-linux/po4a/man1/whereis.patch
new file: manual/util-linux/po4a/man1/whereis.po
new file: manual/util-linux/po4a/man1/write.patch
new file: manual/util-linux/po4a/man1/write.po
modified: manual/util-linux/release/man1/mesg.1
modified: manual/util-linux/release/man1/whereis.1
modified: manual/util-linux/release/man1/write.1
modified: manual/util-linux/translation_list
modified: www/index.m4
modified: www/news/index.m4
@@ -1,5 +1,9 @@ | ||
1 | -Mon Dec 21 16:00:53 JST 2020 Chonan Yoichi <cyoichi@maple.ocn.ne.jp> | |
1 | +Tue Jan 19 10:47:22 JST 2021 Chonan Yoichi <cyoichi@maple.ocn.ne.jp> | |
2 | + | |
3 | + * release/man1/{mesg.1,whereis.1,write.1}: | |
4 | + util-linux 2.36 に更新。 | |
2 | 5 | |
6 | +Mon Dec 21 16:00:53 JST 2020 Chonan Yoichi <cyoichi@maple.ocn.ne.jp> | |
3 | 7 | |
4 | 8 | * release/man1/{logger.1,renice.1,wall.1}: |
5 | 9 | util-linux 2.36 に更新。 |
@@ -102,17 +102,17 @@ An error has occurred. | ||
102 | 102 | .RE |
103 | 103 | .SH FILES |
104 | 104 | .I /dev/[pt]ty[pq]? |
105 | -.SH "SEE ALSO" | |
106 | -.BR login (1), | |
107 | -.BR talk (1), | |
108 | -.BR write (1), | |
109 | -.BR wall (1), | |
110 | -.BR xterm (1) | |
111 | 105 | .SH HISTORY |
112 | 106 | A |
113 | 107 | .B mesg |
114 | 108 | command appeared in Version 6 AT&T UNIX. |
115 | 109 | |
110 | +.SH SEE ALSO | |
111 | +.BR login (1), | |
112 | +.BR talk (1), | |
113 | +.BR write (1), | |
114 | +.BR wall (1), | |
115 | +.BR xterm (1) | |
116 | 116 | .SH AVAILABILITY |
117 | 117 | The mesg command is part of the util-linux package and is available from |
118 | 118 | https://www.kernel.org/pub/linux/utils/util-linux/. |
@@ -63,7 +63,7 @@ the command line. Any new search restriction resets the search mask. | ||
63 | 63 | For example, |
64 | 64 | .RS |
65 | 65 | .sp |
66 | -.B "whereis -bm ls tr -m gcc" | |
66 | +.B "whereis \-bm ls tr \-m gcc" | |
67 | 67 | .sp |
68 | 68 | .RE |
69 | 69 | searches for "ls" and "tr" binaries and man pages, and for "gcc" man pages only. |
@@ -72,14 +72,13 @@ The options \fB\-B\fP, \fB\-M\fP and \fB\-S\fP reset search paths for the | ||
72 | 72 | subsequent \fIname\fP patterns. For example, |
73 | 73 | .RS |
74 | 74 | .sp |
75 | -.B "whereis -m ls -M /usr/share/man/man1 -f cal" | |
75 | +.B "whereis \-m ls \-M /usr/share/man/man1 \-f cal" | |
76 | 76 | .sp |
77 | 77 | .RE |
78 | 78 | searches for "ls" man pages in all default paths, but for "cal" in |
79 | 79 | the /usr/share/man/man1 directory only. |
80 | 80 | |
81 | 81 | .SH OPTIONS |
82 | -.TP | |
83 | 82 | .IP \fB\-b\fP |
84 | 83 | Search for binaries. |
85 | 84 | .IP \fB\-m\fP |
@@ -131,19 +130,7 @@ Display help text and exit. | ||
131 | 130 | .TP |
132 | 131 | \fB\-V\fR, \fB\-\-version\fR |
133 | 132 | Display version information and exit. |
134 | -.SH EXAMPLE | |
135 | -To find all files in | |
136 | -.I /usr/\:bin | |
137 | -which are not documented | |
138 | -in | |
139 | -.I /usr/\:man/\:man1 | |
140 | -or have no source in | |
141 | -.IR /usr/\:src : | |
142 | -.IP | |
143 | -.B cd /usr/bin | |
144 | -.br | |
145 | -.B whereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f * | |
146 | -.SH "FILE SEARCH PATHS" | |
133 | +.SH FILE SEARCH PATHS | |
147 | 134 | By default |
148 | 135 | .B whereis |
149 | 136 | tries to find files from hard-coded paths, which are defined with glob |
@@ -161,10 +148,21 @@ and | ||
161 | 148 | .B \-S |
162 | 149 | are displayed with |
163 | 150 | .BR \-l . |
164 | -.PP | |
165 | 151 | .SH ENVIRONMENT |
166 | 152 | .IP WHEREIS_DEBUG=all |
167 | 153 | enables debug output. |
154 | +.SH EXAMPLES | |
155 | +To find all files in | |
156 | +.I /usr/\:bin | |
157 | +which are not documented | |
158 | +in | |
159 | +.I /usr/\:man/\:man1 | |
160 | +or have no source in | |
161 | +.IR /usr/\:src : | |
162 | +.IP | |
163 | +.B cd /usr/bin | |
164 | +.br | |
165 | +.B whereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f * | |
168 | 166 | .SH AVAILABILITY |
169 | 167 | The whereis command is part of the util-linux package and is available from |
170 | 168 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
@@ -88,14 +88,14 @@ The traditional protocol for writing to someone is that the string `\-o', | ||
88 | 88 | either at the end of a line or on a line by itself, means that it's the |
89 | 89 | other person's turn to talk. The string `oo' means that the person |
90 | 90 | believes the conversation to be over. |
91 | -.SH "SEE ALSO" | |
92 | -.BR mesg (1), | |
93 | -.BR talk (1), | |
94 | -.BR who (1) | |
95 | 91 | .SH HISTORY |
96 | 92 | A |
97 | 93 | .B write |
98 | 94 | command appeared in Version 6 AT&T UNIX. |
95 | +.SH SEE ALSO | |
96 | +.BR mesg (1), | |
97 | +.BR talk (1), | |
98 | +.BR who (1) | |
99 | 99 | .SH AVAILABILITY |
100 | 100 | The write command is part of the util-linux package and is available from |
101 | 101 | https://www.kernel.org/pub/linux/utils/util-linux/. |
@@ -0,0 +1,18 @@ | ||
1 | +--- mesg.1.orig 2021-01-12 10:55:58.536831159 +0900 | |
2 | ++++ mesg.1 2021-01-12 10:59:23.486311902 +0900 | |
3 | +@@ -36,6 +36,15 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" %FreeBSD: src/usr.bin/mesg/mesg.1,v 1.7 1999/08/28 01:03:59 peter Exp % | |
9 | ++.\" $FreeBSD: doc/ja_JP.eucJP/man/man1/mesg.1,v 1.6 2001/05/14 01:07:26 horikawa Exp $ | |
10 | ++.\" | |
11 | ++.\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> | |
12 | ++.\" Updated & Modified (util-linux 2.36) Mon Jan 11 12:25:59 JST 2021 | |
13 | ++.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
14 | ++.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
15 | ++.\" | |
16 | + .TH MESG 1 "July 2014" util\-linux "User Commands" | |
17 | + .SH 名前 | |
18 | + mesg \- 他のユーザから来たメッセージを表示する (表示しない) |
@@ -0,0 +1,282 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-12-16 14:15+0900\n" | |
10 | +"PO-Revision-Date: 2021-01-14 11:29+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: mesg.1:34 | |
20 | +#, no-wrap | |
21 | +msgid "MESG" | |
22 | +msgstr "MESG" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: mesg.1:34 | |
26 | +#, no-wrap | |
27 | +msgid "July 2014" | |
28 | +msgstr "July 2014" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: mesg.1:34 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: mesg.1:34 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: mesg.1:35 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: mesg.1:37 | |
50 | +msgid "mesg - display (or do not display) messages from other users" | |
51 | +msgstr "mesg - 他のユーザから来たメッセージを表示する (表示しない)" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: mesg.1:37 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: mesg.1:41 | |
61 | +msgid "B<mesg> [option] [B<n>|B<y>]" | |
62 | +msgstr "B<mesg> [option] [B<n>|B<y>]" | |
63 | + | |
64 | +#. type: SH | |
65 | +#: mesg.1:41 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: mesg.1:51 | |
72 | +msgid "" | |
73 | +"The B<mesg> utility is invoked by a user to control write access others have " | |
74 | +"to the terminal device associated with standard error output. If write " | |
75 | +"access is allowed, then programs such as B<talk>(1) and B<write>(1) may " | |
76 | +"display messages on the terminal." | |
77 | +msgstr "" | |
78 | +"ユーザは B<mesg> ユーティリティを実行することで、\n" | |
79 | +"標準エラー出力と結びついている自分の端末デバイスに対して他のユーザが持つ書き込み権限を制御することができる。\n" | |
80 | +"端末への書き込みが許可されていると、他のユーザが実行する B<talk>(1) や\n" | |
81 | +"B<write>(1) のようなプログラムが、その端末にメッセージを表示できるようになるのだ。\n" | |
82 | + | |
83 | +#. type: Plain text | |
84 | +#: mesg.1:58 | |
85 | +msgid "" | |
86 | +"Traditionally, write access is allowed by default. However, as users become " | |
87 | +"more conscious of various security risks, there is a trend to remove write " | |
88 | +"access by default, at least for the primary login shell. To make sure your " | |
89 | +"ttys are set the way you want them to be set, B<mesg> should be executed in " | |
90 | +"your login scripts." | |
91 | +msgstr "" | |
92 | +"伝統的には、書き込みは許可するのがデフォルトである。\n" | |
93 | +"しかしながら、ユーザがセキュリティ上の様々なリスクをより意識するようになるにつれて、\n" | |
94 | +"少なくとも最初のログインシェルに対しては、デフォルトでは書き込みを許可しない傾向にある。\n" | |
95 | +"自分の tty の設定状態を確実に自分の望むようにするには、\n" | |
96 | +"B<mesg> をログインスクリプトで実行するべきである。\n" | |
97 | + | |
98 | +#. type: Plain text | |
99 | +#: mesg.1:67 | |
100 | +msgid "" | |
101 | +"The B<mesg> utility silently exits with error status 2 if not executed on " | |
102 | +"terminal. In this case execute B<mesg> is pointless. The command line " | |
103 | +"option B<--verbose> forces mesg to print a warning in this situation. This " | |
104 | +"behaviour has been introduced in version 2.33." | |
105 | +msgstr "" | |
106 | +"B<mesg>\n" | |
107 | +"ユーティリティは、端末で実行されない場合 (訳注: たとえば、B<at> や B<cron>\n" | |
108 | +"から実行される場合)、何のメッセージも出さずにエラーステータス\n" | |
109 | +"2 で終了する。この場合、B<mesg>\n" | |
110 | +"の実行は意味がない。だが、この状況でも、コマンドラインオプション\n" | |
111 | +"B<--verbose> を付ければ、B<mesg>\n" | |
112 | +"が警告メッセージを出力するようになる。こうした動作は、バージョン\n" | |
113 | +"2.33 で採用されたものである。\n" | |
114 | + | |
115 | +#. type: SH | |
116 | +#: mesg.1:67 | |
117 | +#, no-wrap | |
118 | +msgid "ARGUMENTS" | |
119 | +msgstr "引き数" | |
120 | + | |
121 | +#. type: TP | |
122 | +#: mesg.1:68 | |
123 | +#, no-wrap | |
124 | +msgid "B<n>" | |
125 | +msgstr "B<n>" | |
126 | + | |
127 | +#. type: Plain text | |
128 | +#: mesg.1:71 | |
129 | +msgid "Disallow messages." | |
130 | +msgstr "メッセージを許可しない。" | |
131 | + | |
132 | +#. type: TP | |
133 | +#: mesg.1:71 | |
134 | +#, no-wrap | |
135 | +msgid "B<y>" | |
136 | +msgstr "B<y>" | |
137 | + | |
138 | +#. type: Plain text | |
139 | +#: mesg.1:74 | |
140 | +msgid "Allow messages to be displayed." | |
141 | +msgstr "メッセージの表示を許可する。" | |
142 | + | |
143 | +#. type: Plain text | |
144 | +#: mesg.1:78 | |
145 | +msgid "" | |
146 | +"If no arguments are given, B<mesg> shows the current message status on " | |
147 | +"standard error output." | |
148 | +msgstr "" | |
149 | +"引き数を指定しない場合、B<mesg>\n" | |
150 | +"は、現在のメッセージ受け入れ状態を標準エラー出力に表示する。\n" | |
151 | + | |
152 | +#. type: SH | |
153 | +#: mesg.1:78 | |
154 | +#, no-wrap | |
155 | +msgid "OPTIONS" | |
156 | +msgstr "オプション" | |
157 | + | |
158 | +#. type: TP | |
159 | +#: mesg.1:79 | |
160 | +#, no-wrap | |
161 | +msgid "B<-v>,B< --verbose>" | |
162 | +msgstr "B<-v>,B< --verbose>" | |
163 | + | |
164 | +#. type: Plain text | |
165 | +#: mesg.1:82 | |
166 | +msgid "Explain what is being done." | |
167 | +msgstr "何をやっているかを説明する。" | |
168 | + | |
169 | +#. type: TP | |
170 | +#: mesg.1:82 | |
171 | +#, no-wrap | |
172 | +msgid "B<-V>,B< --version>" | |
173 | +msgstr "B<-V>,B< --version>" | |
174 | + | |
175 | +#. type: Plain text | |
176 | +#: mesg.1:85 | |
177 | +msgid "Display version information and exit." | |
178 | +msgstr "バージョン情報を表示して終了する。" | |
179 | + | |
180 | +#. type: TP | |
181 | +#: mesg.1:85 | |
182 | +#, no-wrap | |
183 | +msgid "B<-h>,B< --help>" | |
184 | +msgstr "B<-h>,B< --help>" | |
185 | + | |
186 | +#. type: Plain text | |
187 | +#: mesg.1:88 | |
188 | +msgid "Display help text and exit." | |
189 | +msgstr "ヘルプを表示して終了する。" | |
190 | + | |
191 | +#. type: SH | |
192 | +#: mesg.1:88 | |
193 | +#, no-wrap | |
194 | +msgid "EXIT STATUS" | |
195 | +msgstr "終了ステータス" | |
196 | + | |
197 | +#. type: Plain text | |
198 | +#: mesg.1:92 | |
199 | +msgid "The B<mesg> utility exits with one of the following values:" | |
200 | +msgstr "B<mesg> ユーティリティは、次の値の一つで終了する。" | |
201 | + | |
202 | +#. type: TP | |
203 | +#: mesg.1:93 | |
204 | +#, no-wrap | |
205 | +msgid "B<\\ 0>" | |
206 | +msgstr "B<\\ 0>" | |
207 | + | |
208 | +#. type: Plain text | |
209 | +#: mesg.1:96 | |
210 | +msgid "Messages are allowed." | |
211 | +msgstr "メッセージは許可されている。" | |
212 | + | |
213 | +#. type: TP | |
214 | +#: mesg.1:96 | |
215 | +#, no-wrap | |
216 | +msgid "B<\\ 1>" | |
217 | +msgstr "B<\\ 1>" | |
218 | + | |
219 | +#. type: Plain text | |
220 | +#: mesg.1:99 | |
221 | +msgid "Messages are not allowed." | |
222 | +msgstr "メッセージは許可されていない。" | |
223 | + | |
224 | +#. type: TP | |
225 | +#: mesg.1:99 | |
226 | +#, no-wrap | |
227 | +msgid "B<E<gt>1>" | |
228 | +msgstr "B<E<gt>1>" | |
229 | + | |
230 | +#. type: Plain text | |
231 | +#: mesg.1:102 | |
232 | +msgid "An error has occurred." | |
233 | +msgstr "エラーが発生した。" | |
234 | + | |
235 | +#. type: SH | |
236 | +#: mesg.1:103 | |
237 | +#, no-wrap | |
238 | +msgid "FILES" | |
239 | +msgstr "ファイル" | |
240 | + | |
241 | +#. type: Plain text | |
242 | +#: mesg.1:105 | |
243 | +msgid "I</dev/[pt]ty[pq]?>" | |
244 | +msgstr "I</dev/[pt]ty[pq]?>" | |
245 | + | |
246 | +#. type: SH | |
247 | +#: mesg.1:105 | |
248 | +#, no-wrap | |
249 | +msgid "HISTORY" | |
250 | +msgstr "歴史" | |
251 | + | |
252 | +#. type: Plain text | |
253 | +#: mesg.1:109 | |
254 | +msgid "A B<mesg> command appeared in Version 6 AT&T UNIX." | |
255 | +msgstr "B<mesg> コマンドは、AT&T UNIX Version 6 で初登場した。" | |
256 | + | |
257 | +#. type: SH | |
258 | +#: mesg.1:110 | |
259 | +#, no-wrap | |
260 | +msgid "SEE ALSO" | |
261 | +msgstr "関連項目" | |
262 | + | |
263 | +#. type: Plain text | |
264 | +#: mesg.1:116 | |
265 | +msgid "B<login>(1), B<talk>(1), B<write>(1), B<wall>(1), B<xterm>(1)" | |
266 | +msgstr "B<login>(1), B<talk>(1), B<write>(1), B<wall>(1), B<xterm>(1)" | |
267 | + | |
268 | +#. type: SH | |
269 | +#: mesg.1:116 | |
270 | +#, no-wrap | |
271 | +msgid "AVAILABILITY" | |
272 | +msgstr "入手方法" | |
273 | + | |
274 | +#. type: Plain text | |
275 | +#: mesg.1:118 | |
276 | +msgid "" | |
277 | +"The mesg command is part of the util-linux package and is available from " | |
278 | +"https://www.kernel.org/pub/linux/utils/util-linux/." | |
279 | +msgstr "" | |
280 | +"この mesg コマンドは、util-linux パッケージの一部であり、\n" | |
281 | +"https://www.kernel.org/pub/linux/utils/util-linux/\n" | |
282 | +"から入手できる。" |
@@ -0,0 +1,72 @@ | ||
1 | +--- whereis.1.orig 2021-01-14 10:26:20.580871334 +0900 | |
2 | ++++ whereis.1 2021-01-14 10:26:35.217155002 +0900 | |
3 | +@@ -35,6 +35,16 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" Japanese Version Copyright (c) 2001-2021 Yuichi SATO | |
9 | ++.\" and 2021 Yoichi Chonan | |
10 | ++.\" all rights reserved. | |
11 | ++.\" Translated Sat Feb 17 03:19:58 JST 2001 | |
12 | ++.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp> | |
13 | ++.\" Updated & Modified (util-linux 2.36) Mon Jan 11 11:53:59 JST 2021 | |
14 | ++.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
15 | ++.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
16 | ++.\" | |
17 | + .TH WHEREIS 1 "October 2014" util\-linux "User Commands" | |
18 | + .SH 名前 | |
19 | + whereis \- コマンドのバイナリ、ソース、マニュアルファイルがどこにあるかを突き止める | |
20 | +@@ -49,7 +59,11 @@ | |
21 | + を使用したことによる \fBs.\fP という接頭辞への対応も行われる。\fBwhereis\fP | |
22 | + は、それから、検索対象のプログラムなどを Linux の標準的な場所と、\fB$PATH\fP | |
23 | + や \fB$MANPATH\fP によって指定されている場所で見つけ出そうとする。 | |
24 | +-.sp | |
25 | ++.IP "[\fB訳注\fP]" 8 | |
26 | ++「\fBs.\fP という接頭辞への対応」というのは、たとえば、ls | |
27 | ++のソースファイルの探索を求められたときに、ls.c だけでなく、s.ls.c | |
28 | ++といったファイルも捜しに行くようにすることである。 | |
29 | ++.PP | |
30 | + 検索対象の限定 (オプション \fB\-b\fP, \fB\-m\fP, \fB\-s\fP) | |
31 | + は累加式であり、コマンドラインで後に続く \fIname\fP というパターンに適用される。 | |
32 | + なお、検索対象の限定をやり直すと、検索の条件が再設定されることになる。たとえば、 | |
33 | +@@ -84,6 +98,13 @@ | |
34 | + 1 つではないことである。従って、'\fBwhereis \-m \-u *\fP' というコマンドは、 | |
35 | + カレントディレクトリのファイルのうちで、文書ファイルがまったく存在しないか、2 | |
36 | + つ以上存在するものを求めることになる。 | |
37 | ++.RS | |
38 | ++.IP "[\fB訳注\fP]" | |
39 | ++この説明は古くなっているのではないかと思う。実際には、手元の | |
40 | ++util-linux 2.36 で '\fBwhereis -m -u *\fP' | |
41 | ++を実行しても、文書ファイルのまったく存在しないものについては、何も表示されない。2 | |
42 | ++つ以上存在するものだけが表示される。 | |
43 | ++.RE | |
44 | + .IP "\fB\-B \fP\fIlist\fP" | |
45 | + \fBwhereis\fP がバイナリを捜す場所を限定する。\fIlist\fP | |
46 | + は、ホワイトスペース (訳注: スペースやタブ) で区切ったディレクトリのリストである。 | |
47 | +@@ -120,15 +141,19 @@ | |
48 | + .IP WHEREIS_DEBUG=all | |
49 | + デバッグ出力を有効にする。 | |
50 | + .SH 用例 | |
51 | +-\fI/usr/\:bin\fP にあるファイルの内、\fI/usr/\:man/\:man1\fP にマニュアルがないか、 | |
52 | +-\fI/usr/\:src\fP にソースのないものをすべて見つけ出す。 | |
53 | ++\fI/usr/bin\fP にあるファイルの内、\fI/usr/man/man1\fP にマニュアルがないか、 | |
54 | ++\fI/usr/src\fP にソースのないものをすべて見つけ出す。 | |
55 | + .IP | |
56 | + \fBcd /usr/bin\fP | |
57 | + .br | |
58 | + \fBwhereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f *\fP | |
59 | ++.IP "[\fB訳注\fP]" | |
60 | ++上記のコマンドは、少なくとも手元の util-linux 2.36 | |
61 | ++では、指定したディレクトリにマニュアルやソースがないものの表示はせず、たとえば | |
62 | ++passwd.1.gz と passwd.1ssl.gz のように、そうしたものが | |
63 | ++2 つ以上ある場合だけ表示するようだ。\fB-u\fP オプションの訳注も参照。なお、 | |
64 | ++当方の場合、マニュアルがあるのは、/usr/share/man/man1 である。 | |
65 | + .SH 入手方法 | |
66 | +-このコマンドは util\-linux パッケージの一部であり、 | |
67 | +-.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util\-linux/ | |
68 | +-Linux Kernel Archive | |
69 | +-.UE | |
70 | ++このコマンドは util\-linux パッケージの一部であり、Linux Kernel Archive | |
71 | ++<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
72 | + から入手できる。 |
@@ -0,0 +1,378 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-12-10 11:05+0900\n" | |
10 | +"PO-Revision-Date: 2021-01-18 11:28+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: whereis.1:33 | |
20 | +#, no-wrap | |
21 | +msgid "WHEREIS" | |
22 | +msgstr "WHEREIS" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: whereis.1:33 | |
26 | +#, no-wrap | |
27 | +msgid "October 2014" | |
28 | +msgstr "October 2014" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: whereis.1:33 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: whereis.1:33 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: whereis.1:34 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: whereis.1:36 | |
50 | +msgid "whereis - locate the binary, source, and manual page files for a command" | |
51 | +msgstr "whereis - コマンドのバイナリ、ソース、マニュアルファイルがどこにあるかを突き止める" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: whereis.1:36 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: whereis.1:42 | |
61 | +msgid "B<whereis> [options] [B<-BMS> I<directory>... B<-f>] I<name>..." | |
62 | +msgstr "B<whereis> [options] [B<-BMS> I<directory>... B<-f>] I<name>..." | |
63 | + | |
64 | +#. type: SH | |
65 | +#: whereis.1:42 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: whereis.1:59 | |
72 | +msgid "" | |
73 | +"B<whereis> locates the binary, source and manual files for the specified " | |
74 | +"command names. The supplied names are first stripped of leading pathname " | |
75 | +"components and any (single) trailing extension of the form B<.>I<ext> (for " | |
76 | +"example: B<.c>) Prefixes of B<s.> resulting from use of source code control " | |
77 | +"are also dealt with. B<whereis> then attempts to locate the desired program " | |
78 | +"in the standard Linux places, and in the places specified by B<$PATH> and " | |
79 | +"B<$MANPATH>." | |
80 | +msgstr "" | |
81 | +"B<whereis> は、指定されたコマンド名について、\n" | |
82 | +"そのバイナリ、ソース、マニュアルファイルがどこにあるかを突き止める。\n" | |
83 | +"B<whereis> に渡された名前は、まず先行するパス名の部分が取り除かれ、\n" | |
84 | +"次に、末尾に B<.>I<ext> の形を取る拡張子 (たとえば、B<.c> など) があれば、それも\n" | |
85 | +"(ひとつだけ) 取り除かれる。ソースコードコントロールシステム (SCCS)\n" | |
86 | +"を使用したことによる B<s.> という接頭辞への対応も行われる。B<whereis>\n" | |
87 | +"は、それから、検索対象のプログラムなどを Linux の標準的な場所と、B<$PATH>\n" | |
88 | +"や B<$MANPATH> によって指定されている場所で見つけ出そうとする。\n" | |
89 | + | |
90 | +#. type: Plain text | |
91 | +#: whereis.1:64 | |
92 | +msgid "" | |
93 | +"The search restrictions (options B<-b>, B<-m> and B<-s>) are cumulative and " | |
94 | +"apply to the subsequent I<name> patterns on the command line. Any new " | |
95 | +"search restriction resets the search mask. For example," | |
96 | +msgstr "" | |
97 | +"検索対象の限定 (オプション B<-b>, B<-m>, B<-s>)\n" | |
98 | +"は累加式であり、コマンドラインで後に続く I<name> というパターンに適用される。\n" | |
99 | +"なお、検索対象の限定をやり直すと、検索の条件が再設定されることになる。たとえば、" | |
100 | + | |
101 | +#. type: Plain text | |
102 | +#: whereis.1:67 | |
103 | +msgid "B<whereis -bm ls tr -m gcc>" | |
104 | +msgstr "B<whereis -bm ls tr -m gcc>" | |
105 | + | |
106 | +#. type: Plain text | |
107 | +#: whereis.1:70 | |
108 | +msgid "" | |
109 | +"searches for \"ls\" and \"tr\" binaries and man pages, and for \"gcc\" man " | |
110 | +"pages only." | |
111 | +msgstr "" | |
112 | +"は、\"ls\" と \"tr\" については、バイナリファイルと man\n" | |
113 | +"ページを見つけようとし、\"gcc\" については、man ページだけを捜す。\n" | |
114 | + | |
115 | +#. type: Plain text | |
116 | +#: whereis.1:73 | |
117 | +msgid "" | |
118 | +"The options B<-B>, B<-M> and B<-S> reset search paths for the subsequent " | |
119 | +"I<name> patterns. For example," | |
120 | +msgstr "" | |
121 | +"オプション B<-B>, B<-M>, B<-S> は、後に続く I<name>\n" | |
122 | +"というパターンに対する検索パスを設定し直す。たとえば、\n" | |
123 | + | |
124 | +#. type: Plain text | |
125 | +#: whereis.1:76 | |
126 | +msgid "B<whereis -m ls -M /usr/share/man/man1 -f cal>" | |
127 | +msgstr "B<whereis -m ls -M /usr/share/man/man1 -f cal>" | |
128 | + | |
129 | +#. type: Plain text | |
130 | +#: whereis.1:80 | |
131 | +msgid "" | |
132 | +"searches for \"ls\" man pages in all default paths, but for \"cal\" in the " | |
133 | +"/usr/share/man/man1 directory only." | |
134 | +msgstr "" | |
135 | +"は、\"ls\" の man ページは、デフォルトのパスのすべてで捜すが、\"cal\"\n" | |
136 | +"については、/usr/share/man/man1 ディレクトリのみで検索する。\n" | |
137 | + | |
138 | +#. type: SH | |
139 | +#: whereis.1:81 | |
140 | +#, no-wrap | |
141 | +msgid "OPTIONS" | |
142 | +msgstr "オプション" | |
143 | + | |
144 | +#. type: IP | |
145 | +#: whereis.1:82 | |
146 | +#, no-wrap | |
147 | +msgid "B<-b>" | |
148 | +msgstr "B<-b>" | |
149 | + | |
150 | +#. type: Plain text | |
151 | +#: whereis.1:84 | |
152 | +msgid "Search for binaries." | |
153 | +msgstr "バイナリを検索する。" | |
154 | + | |
155 | +#. type: IP | |
156 | +#: whereis.1:84 | |
157 | +#, no-wrap | |
158 | +msgid "B<-m>" | |
159 | +msgstr "B<-m>" | |
160 | + | |
161 | +#. type: Plain text | |
162 | +#: whereis.1:86 | |
163 | +msgid "Search for manuals." | |
164 | +msgstr "マニュアルを検索する。" | |
165 | + | |
166 | +#. type: IP | |
167 | +#: whereis.1:86 | |
168 | +#, no-wrap | |
169 | +msgid "B<-s>" | |
170 | +msgstr "B<-s>" | |
171 | + | |
172 | +#. type: Plain text | |
173 | +#: whereis.1:88 | |
174 | +msgid "Search for sources." | |
175 | +msgstr "ソースを検索する。" | |
176 | + | |
177 | +#. type: IP | |
178 | +#: whereis.1:88 | |
179 | +#, no-wrap | |
180 | +msgid "B<-u>" | |
181 | +msgstr "B<-u>" | |
182 | + | |
183 | +#. type: Plain text | |
184 | +#: whereis.1:95 | |
185 | +msgid "" | |
186 | +"Only show the command names that have unusual entries. A command is said to " | |
187 | +"be unusual if it does not have just one entry of each explicitly requested " | |
188 | +"type. Thus 'B<whereis -m -u *>' asks for those files in the current " | |
189 | +"directory which have no documentation file, or more than one." | |
190 | +msgstr "" | |
191 | +"検出結果が異例であるコマンド名についてのみ表示する。\n" | |
192 | +"ここで異例というのは、明示的に調査を要求した各タイプについて、検出結果がただ\n" | |
193 | +"1 つではないことである。従って、'B<whereis -m -u *>' というコマンドは、\n" | |
194 | +"カレントディレクトリのファイルのうちで、文書ファイルがまったく存在しないか、2\n" | |
195 | +"つ以上存在するものを求めることになる。\n" | |
196 | + | |
197 | +#. type: IP | |
198 | +#: whereis.1:95 | |
199 | +#, no-wrap | |
200 | +msgid "B<-B >I<list>" | |
201 | +msgstr "B<-B >I<list>" | |
202 | + | |
203 | +#. type: Plain text | |
204 | +#: whereis.1:99 | |
205 | +msgid "" | |
206 | +"Limit the places where B<whereis> searches for binaries, by a " | |
207 | +"whitespace-separated list of directories." | |
208 | +msgstr "" | |
209 | +"B<whereis> がバイナリを捜す場所を限定する。I<list>\n" | |
210 | +"は、ホワイトスペース (訳注: スペースやタブ) で区切ったディレクトリのリストである。\n" | |
211 | + | |
212 | +#. type: IP | |
213 | +#: whereis.1:99 | |
214 | +#, no-wrap | |
215 | +msgid "B<-M >I<list>" | |
216 | +msgstr "B<-M >I<list>" | |
217 | + | |
218 | +#. type: Plain text | |
219 | +#: whereis.1:104 | |
220 | +msgid "" | |
221 | +"Limit the places where B<whereis> searches for manuals and documentation in " | |
222 | +"Info format, by a whitespace-separated list of directories." | |
223 | +msgstr "" | |
224 | +"B<whereis> がマニュアルや info 形式の文書を捜す場所を限定する。I<list>\n" | |
225 | +"は、ホワイトスペースで区切ったディレクトリのリストである。\n" | |
226 | + | |
227 | +#. type: IP | |
228 | +#: whereis.1:104 | |
229 | +#, no-wrap | |
230 | +msgid "B<-S >I<list>" | |
231 | +msgstr "B<-S >I<list>" | |
232 | + | |
233 | +#. type: Plain text | |
234 | +#: whereis.1:108 | |
235 | +msgid "" | |
236 | +"Limit the places where B<whereis> searches for sources, by a " | |
237 | +"whitespace-separated list of directories." | |
238 | +msgstr "" | |
239 | +"B<whereis> がソースを捜す場所を限定する。I<list>\n" | |
240 | +"は、ホワイトスペースで区切ったディレクトリのリストである。\n" | |
241 | + | |
242 | +#. type: IP | |
243 | +#: whereis.1:108 | |
244 | +#, no-wrap | |
245 | +msgid "B<-f>" | |
246 | +msgstr "B<-f>" | |
247 | + | |
248 | +#. type: Plain text | |
249 | +#: whereis.1:117 | |
250 | +msgid "" | |
251 | +"Terminates the directory list and signals the start of filenames. It " | |
252 | +"I<must> be used when any of the B<-B>, B<-M>, or B<-S> options is used." | |
253 | +msgstr "" | |
254 | +"ディレクトリのリストは直前で終わり、ここからファイル名が始まると知らせる。B<-B>,\n" | |
255 | +"B<-M>, B<-S> オプションの何れかを使用するときは、これをI<使わなければならない>。\n" | |
256 | + | |
257 | +#. type: IP | |
258 | +#: whereis.1:117 | |
259 | +#, no-wrap | |
260 | +msgid "B<-l>" | |
261 | +msgstr "B<-l>" | |
262 | + | |
263 | +#. type: Plain text | |
264 | +#: whereis.1:127 | |
265 | +msgid "" | |
266 | +"Output the list of effective lookup paths that B<whereis> is using. When " | |
267 | +"none of B<-B>, B<-M>, or B<-S> is specified, the option will output the " | |
268 | +"hard-coded paths that the command was able to find on the system." | |
269 | +msgstr "" | |
270 | +"B<whereis> が実際に使用している検索パスのリストを表示する。B<-B>, B<-M>,\n" | |
271 | +"B<-S> のどれも指定されていない場合にこのオプションが表示するのは、\n" | |
272 | +"ハードコードされたパスのうちで、B<whereis>\n" | |
273 | +"がシステム上で見つけることのできたものである。\n" | |
274 | + | |
275 | +#. type: TP | |
276 | +#: whereis.1:127 | |
277 | +#, no-wrap | |
278 | +msgid "B<-h>, B<--help>" | |
279 | +msgstr "B<-h>, B<--help>" | |
280 | + | |
281 | +#. type: Plain text | |
282 | +#: whereis.1:130 | |
283 | +msgid "Display help text and exit." | |
284 | +msgstr "ヘルプを表示して終了する。" | |
285 | + | |
286 | +#. type: TP | |
287 | +#: whereis.1:130 | |
288 | +#, no-wrap | |
289 | +msgid "B<-V>, B<--version>" | |
290 | +msgstr "B<-V>, B<--version>" | |
291 | + | |
292 | +#. type: Plain text | |
293 | +#: whereis.1:133 | |
294 | +msgid "Display version information and exit." | |
295 | +msgstr "バージョン情報を表示して終了する。" | |
296 | + | |
297 | +#. type: SH | |
298 | +#: whereis.1:133 | |
299 | +#, no-wrap | |
300 | +msgid "FILE SEARCH PATHS" | |
301 | +msgstr "ファイルを検索するパス" | |
302 | + | |
303 | +#. type: Plain text | |
304 | +#: whereis.1:151 | |
305 | +msgid "" | |
306 | +"By default B<whereis> tries to find files from hard-coded paths, which are " | |
307 | +"defined with glob patterns. The command attempts to use the contents of " | |
308 | +"B<$PATH> and B<$MANPATH> environment variables as default search path. The " | |
309 | +"easiest way to know what paths are in use is to add the B<-l> listing " | |
310 | +"option. Effects of the B<-B>, B<-M>, and B<-S> are displayed with B<-l>." | |
311 | +msgstr "" | |
312 | +"デフォルトで B<whereis>\n" | |
313 | +"は、ハードコードされたパスを使って、ファイルを見つけようとするが、\n" | |
314 | +"このパスは、グロブのパターンで定義されている。また、\n" | |
315 | +"B<whereis> は、環境変数 B<$PATH> と B<$MANPATH>\n" | |
316 | +"の内容をデフォルトの検索パスとして使用しようとする。\n" | |
317 | +"どんなパスが使われているかを知る一番簡単な方法は、\n" | |
318 | +"リストオプションの B<-l> を付け足すことである。B<-l> を使えば、B<-B>,\n" | |
319 | +"B<-M>, B<-S> の効果も表示される。\n" | |
320 | + | |
321 | +#. type: SH | |
322 | +#: whereis.1:151 | |
323 | +#, no-wrap | |
324 | +msgid "ENVIRONMENT" | |
325 | +msgstr "環境変数" | |
326 | + | |
327 | +#. type: IP | |
328 | +#: whereis.1:152 | |
329 | +#, no-wrap | |
330 | +msgid "WHEREIS_DEBUG=all" | |
331 | +msgstr "WHEREIS_DEBUG=all" | |
332 | + | |
333 | +#. type: Plain text | |
334 | +#: whereis.1:154 | |
335 | +msgid "enables debug output." | |
336 | +msgstr "デバッグ出力を有効にする。" | |
337 | + | |
338 | +#. type: SH | |
339 | +#: whereis.1:154 | |
340 | +#, no-wrap | |
341 | +msgid "EXAMPLES" | |
342 | +msgstr "用例" | |
343 | + | |
344 | +#. type: Plain text | |
345 | +#: whereis.1:162 | |
346 | +msgid "" | |
347 | +"To find all files in I</usr/\\:bin> which are not documented in " | |
348 | +"I</usr/\\:man/\\:man1> or have no source in I</usr/\\:src>:" | |
349 | +msgstr "" | |
350 | +"I</usr/\\:bin> にあるファイルの内、I</usr/\\:man/\\:man1> にマニュアルがないか、\n" | |
351 | +"I</usr/\\:src> にソースのないものをすべて見つけ出す。\n" | |
352 | + | |
353 | +#. type: Plain text | |
354 | +#: whereis.1:164 | |
355 | +msgid "B<cd /usr/bin>" | |
356 | +msgstr "B<cd /usr/bin>" | |
357 | + | |
358 | +#. type: Plain text | |
359 | +#: whereis.1:166 | |
360 | +msgid "B<whereis -u -ms -M /usr/man/man1 -S /usr/src -f *>" | |
361 | +msgstr "B<whereis -u -ms -M /usr/man/man1 -S /usr/src -f *>" | |
362 | + | |
363 | +#. type: SH | |
364 | +#: whereis.1:166 | |
365 | +#, no-wrap | |
366 | +msgid "AVAILABILITY" | |
367 | +msgstr "入手方法" | |
368 | + | |
369 | +#. type: Plain text | |
370 | +#: whereis.1:170 | |
371 | +msgid "" | |
372 | +"The whereis command is part of the util-linux package and is available from " | |
373 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/> " | |
374 | +"Linux Kernel Archive E<.UE .>" | |
375 | +msgstr "" | |
376 | +"このコマンドは util-linux パッケージの一部であり、\n" | |
377 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/>\n" | |
378 | +"Linux Kernel Archive E<.UE> から入手できる。\n" |
@@ -0,0 +1,18 @@ | ||
1 | +--- write.1.orig 2021-01-12 11:22:24.815347402 +0900 | |
2 | ++++ write.1 2021-01-12 11:24:48.775336146 +0900 | |
3 | +@@ -39,6 +39,15 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" %FreeBSD: src/usr.bin/write/write.1,v 1.7.2.1 2000/12/08 15:14:18 ru Exp % | |
9 | ++.\" $FreeBSD$ | |
10 | ++.\" | |
11 | ++.\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> | |
12 | ++.\" Updated & Modified (util-linux 2.36) Tue Jan 12 11:24:28 JST 2021 | |
13 | ++.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
14 | ++.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
15 | ++.\" | |
16 | + .TH WRITE 1 "March 1995" util\-linux "User Commands" | |
17 | + .SH 名前 | |
18 | + write \- 他のユーザにメッセージを送る |
@@ -0,0 +1,192 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-12-16 09:52+0900\n" | |
10 | +"PO-Revision-Date: 2021-01-13 15:15+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoici@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: write.1:37 | |
20 | +#, no-wrap | |
21 | +msgid "WRITE" | |
22 | +msgstr "WRITE" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: write.1:37 | |
26 | +#, no-wrap | |
27 | +msgid "March 1995" | |
28 | +msgstr "March 1995" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: write.1:37 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: write.1:37 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: write.1:38 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: write.1:40 | |
50 | +msgid "write - send a message to another user" | |
51 | +msgstr "write - 他のユーザにメッセージを送る" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: write.1:40 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: write.1:44 | |
61 | +msgid "B<write> I<user> [I<ttyname>]" | |
62 | +msgstr "B<write> I<user> [I<ttyname>]" | |
63 | + | |
64 | +#. type: SH | |
65 | +#: write.1:44 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: write.1:48 | |
72 | +msgid "" | |
73 | +"B<write> allows you to communicate with other users, by copying lines from " | |
74 | +"your terminal to theirs." | |
75 | +msgstr "" | |
76 | +"B<write> は、あなたが端末に入力した行を他の人の端末にコピーすることによって、\n" | |
77 | +"他のユーザと会話ができるようにする。\n" | |
78 | + | |
79 | +#. type: Plain text | |
80 | +#: write.1:52 | |
81 | +msgid "" | |
82 | +"When you run the B<write> command, the user you are writing to gets a " | |
83 | +"message of the form:" | |
84 | +msgstr "" | |
85 | +"B<write>\n" | |
86 | +"コマンドを実行すると、宛先のユーザは次のような形のメッセージを受け取る。\n" | |
87 | + | |
88 | +#. type: Plain text | |
89 | +#: write.1:55 | |
90 | +msgid "Message from yourname@yourhost on yourtty at hh:mm ..." | |
91 | +msgstr "Message from yourname@yourhost on yourtty at hh:mm ..." | |
92 | + | |
93 | +#. type: Plain text | |
94 | +#: write.1:61 | |
95 | +msgid "" | |
96 | +"Any further lines you enter will be copied to the specified user's " | |
97 | +"terminal. If the other user wants to reply, they must run B<write> as well." | |
98 | +msgstr "" | |
99 | +"あなたが続けて入力する行は、1 行入力するたびに宛先の端末にコピーされる。\n" | |
100 | +"もし宛先の人が返事をしたいと思ったら、その人もやはり B<write>\n" | |
101 | +"を実行しなければならない。\n" | |
102 | + | |
103 | +#. type: Plain text | |
104 | +#: write.1:66 | |
105 | +msgid "" | |
106 | +"When you are done, type an end-of-file or interrupt character. The other " | |
107 | +"user will see the message B<EOF> indicating that the conversation is over." | |
108 | +msgstr "" | |
109 | +"用件が済んだら、ファイル終端文字か割り込み文字を入力する\n" | |
110 | +"(訳注: 前者は Control-d、後者は Control-c)。宛先には、会話の終りを示す\n" | |
111 | +"B<EOF> という文字が表示される。\n" | |
112 | + | |
113 | +#. type: Plain text | |
114 | +#: write.1:76 | |
115 | +msgid "" | |
116 | +"You can prevent people (other than the superuser) from writing to you with " | |
117 | +"the B<mesg>(1) command. Some commands, for example B<nroff>(1) and " | |
118 | +"B<pr>(1), may automatically disallow writing, so that the output they " | |
119 | +"produce isn't overwritten." | |
120 | +msgstr "" | |
121 | +"他のユーザからのメッセージを拒否したいときは\n" | |
122 | +"(ただしスーパユーザからのメッセージは拒否できない)、B<mesg>(1)\n" | |
123 | +"を使えばよい。コマンドの中には、たとえば B<nroff>(1) や B<pr>(1)\n" | |
124 | +"のように、書き込みを自動的に拒否するものもある。\n" | |
125 | +"それは、自分の生成する出力が上書きされてしまわないように、そうしているのである。\n" | |
126 | + | |
127 | +#. type: Plain text | |
128 | +#: write.1:86 | |
129 | +msgid "" | |
130 | +"If the user you want to write to is logged in on more than one terminal, you " | |
131 | +"can specify which terminal to write to by giving the terminal name as the " | |
132 | +"second operand to the B<write> command. Alternatively, you can let B<write> " | |
133 | +"select one of the terminals - it will pick the one with the shortest idle " | |
134 | +"time. This is so that if the user is logged in at work and also dialed up " | |
135 | +"from home, the message will go to the right place." | |
136 | +msgstr "" | |
137 | +"メッセージを送りたい相手が、2 つ以上の端末にログインしている場合は、\n" | |
138 | +"どの端末にメッセージを送るかを、B<write> コマンドの\n" | |
139 | +"2 番目の引き数で指定することができる。あるいは、端末の選択を\n" | |
140 | +"B<write> に任せてしまってもよい。その場合、B<write>\n" | |
141 | +"は、アイドル時間が最も短い端末を選ぶことになる。そうすることで、\n" | |
142 | +"職場でログインしているユーザが、同時に自宅からもモデムでログインしているといった場合でも、\n" | |
143 | +"メッセージが適切な方に届くようにするのである。\n" | |
144 | + | |
145 | +#. type: Plain text | |
146 | +#: write.1:91 | |
147 | +msgid "" | |
148 | +"The traditional protocol for writing to someone is that the string `-o', " | |
149 | +"either at the end of a line or on a line by itself, means that it's the " | |
150 | +"other person's turn to talk. The string `oo' means that the person believes " | |
151 | +"the conversation to be over." | |
152 | +msgstr "" | |
153 | +"B<write> コマンドでやりとりするときの伝統的な約束では、行末の `-o'\n" | |
154 | +"や `-o' だけの行は、「あなたが話す番ですよ」という意味になる。`oo'\n" | |
155 | +"は、「会話を終りにしましょう」ということである。\n" | |
156 | + | |
157 | +#. type: SH | |
158 | +#: write.1:91 | |
159 | +#, no-wrap | |
160 | +msgid "HISTORY" | |
161 | +msgstr "歴史" | |
162 | + | |
163 | +#. type: Plain text | |
164 | +#: write.1:95 | |
165 | +msgid "A B<write> command appeared in Version 6 AT&T UNIX." | |
166 | +msgstr "B<write> コマンドは AT&T UNIX Version 6 で初登場した。" | |
167 | + | |
168 | +#. type: SH | |
169 | +#: write.1:95 | |
170 | +#, no-wrap | |
171 | +msgid "SEE ALSO" | |
172 | +msgstr "関連項目" | |
173 | + | |
174 | +#. type: Plain text | |
175 | +#: write.1:99 | |
176 | +msgid "B<mesg>(1), B<talk>(1), B<who>(1)" | |
177 | +msgstr "B<mesg>(1), B<talk>(1), B<who>(1)" | |
178 | + | |
179 | +#. type: SH | |
180 | +#: write.1:99 | |
181 | +#, no-wrap | |
182 | +msgid "AVAILABILITY" | |
183 | +msgstr "入手方法" | |
184 | + | |
185 | +#. type: Plain text | |
186 | +#: write.1:101 | |
187 | +msgid "" | |
188 | +"The write command is part of the util-linux package and is available from " | |
189 | +"https://www.kernel.org/pub/linux/utils/util-linux/." | |
190 | +msgstr "" | |
191 | +"この write コマンドは、util-linux パッケージの一部であり、\n" | |
192 | +"https://www.kernel.org/pub/linux/utils/util-linux/ から入手できる。\n" |
@@ -31,69 +31,86 @@ | ||
31 | 31 | .\" |
32 | 32 | .\" @(#)mesg.1 8.1 (Berkeley) 6/6/93 |
33 | 33 | .\" |
34 | -.\" Fri Mar 10 20:31:02 1995, modified for standard man macros, | |
35 | -.\" faith@cs.unc.edu | |
34 | +.\"******************************************************************* | |
36 | 35 | .\" |
36 | +.\" This file was generated with po4a. Translate the source file. | |
37 | +.\" | |
38 | +.\"******************************************************************* | |
37 | 39 | .\" |
38 | -.\" " | |
39 | 40 | .\" %FreeBSD: src/usr.bin/mesg/mesg.1,v 1.7 1999/08/28 01:03:59 peter Exp % |
40 | 41 | .\" $FreeBSD: doc/ja_JP.eucJP/man/man1/mesg.1,v 1.6 2001/05/14 01:07:26 horikawa Exp $ |
42 | +.\" | |
41 | 43 | .\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> |
44 | +.\" Updated & Modified (util-linux 2.36) Mon Jan 11 12:25:59 JST 2021 | |
45 | +.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
46 | +.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
42 | 47 | .\" |
43 | -.TH MESG 1 "10 March 1995" "Linux 1.2" "Linux Programmer's Manual" | |
44 | -.SH 名称 | |
45 | -mesg \- 他ユーザからのメッセージを表示する (表示しない) | |
48 | +.TH MESG 1 "July 2014" util\-linux "User Commands" | |
49 | +.SH 名前 | |
50 | +mesg \- 他のユーザから来たメッセージを表示する (表示しない) | |
46 | 51 | .SH 書式 |
47 | -.B mesg [ n ] [ y ] | |
48 | -.SH 解説 | |
49 | -.B mesg | |
50 | -は、他ユーザからのメッセージの書き込みを許すかどうかを | |
51 | -決めるためのユーティリティです。 | |
52 | -メッセージは、標準エラー出力と結びついている端末デバイスに出力されます。 | |
53 | -書き込みが許可されていれば、 | |
54 | -.BR talk (1) | |
55 | -や | |
56 | -.BR write (1) | |
57 | -などのプログラムを使って端末にメッセージを送ることができます。 | |
58 | -.PP | |
59 | -伝統的に、デフォルトでは書き込みは許可されています。 | |
60 | -しかし、ユーザーが様々なセキュリティリスクに敏感になるにつれ、 | |
61 | -少なくとも最初のログインシェルではデフォルトでは書き込みを許可しない傾向があります。 | |
62 | -自分の端末の設定を確実に行うためには、 | |
63 | -.B mesg | |
64 | -をログインスクリプトで実行するべきです。 | |
52 | +\fBmesg\fP [option] [\fBn\fP|\fBy\fP] | |
53 | +.SH 説明 | |
54 | +ユーザは \fBmesg\fP ユーティリティを実行することで、 | |
55 | +標準エラー出力と結びついている自分の端末デバイスに対して他のユーザが持つ書き込み権限を制御することができる。 | |
56 | +端末への書き込みが許可されていると、他のユーザが実行する \fBtalk\fP(1) や | |
57 | +\fBwrite\fP(1) のようなプログラムが、その端末にメッセージを表示できるようになるのだ。 | |
65 | 58 | .PP |
66 | -オプションは以下のとおりです。 | |
67 | -.TP | |
68 | -.B n | |
69 | -メッセージを表示しません。 | |
70 | -.B y | |
71 | -メッセージを表示します。 | |
59 | +伝統的には、書き込みは許可するのがデフォルトである。 | |
60 | +しかしながら、ユーザがセキュリティ上の様々なリスクをより意識するようになるにつれて、 | |
61 | +少なくとも最初のログインシェルに対しては、デフォルトでは書き込みを許可しない傾向にある。 | |
62 | +自分の tty の設定状態を確実に自分の望むようにするには、 | |
63 | +\fBmesg\fP をログインスクリプトで実行するべきである。 | |
72 | 64 | .PP |
73 | -引数なしで起動された場合、 | |
74 | -.B mesg | |
75 | -は現在のメッセージ表示の許可・不許可についての設定を、 | |
76 | -標準エラー出力に出力します。 | |
65 | +\fBmesg\fP | |
66 | +ユーティリティは、端末で実行されない場合 (訳注: たとえば、\fBat\fP や \fBcron\fP | |
67 | +から実行される場合)、何のメッセージも出さずにエラーステータス | |
68 | +2 で終了する。この場合、\fBmesg\fP | |
69 | +の実行は意味がない。だが、この状況でも、コマンドラインオプション | |
70 | +\fB\-\-verbose\fP を付ければ、\fBmesg\fP | |
71 | +が警告メッセージを出力するようになる。こうした動作は、バージョン | |
72 | +2.33 で採用されたものである。 | |
73 | +.SH 引き数 | |
74 | +.TP | |
75 | +\fBn\fP | |
76 | +メッセージを許可しない。 | |
77 | +.TP | |
78 | +\fBy\fP | |
79 | +メッセージの表示を許可する。 | |
77 | 80 | .PP |
78 | -.TP | |
79 | -.B mesg | |
80 | -は以下のうちのいずれかを戻り値として返します。 | |
81 | -.PP | |
82 | -.I "\ 0" | |
83 | -メッセージを表示します。 | |
84 | -.I "\ 1" | |
85 | -メッセージを表示しません。 | |
86 | -.I "\>1" | |
87 | -エラーが発生しました。 | |
88 | -.SH 関連ファイル | |
89 | -.I /dev/[pt]ty[pq]? | |
90 | -.SH 関連項目 | |
91 | -.BR biff (1), | |
92 | -.BR talk (1), | |
93 | -.BR write (1), | |
94 | -.BR wall (1), | |
95 | -.BR login (1), | |
96 | -.BR xterm (1) | |
81 | +引き数を指定しない場合、\fBmesg\fP | |
82 | +は、現在のメッセージ受け入れ状態を標準エラー出力に表示する。 | |
83 | +.SH オプション | |
84 | +.TP | |
85 | +\fB\-v\fP,\fB \-\-verbose\fP | |
86 | +何をやっているかを説明する。 | |
87 | +.TP | |
88 | +\fB\-V\fP,\fB \-\-version\fP | |
89 | +バージョン情報を表示して終了する。 | |
90 | +.TP | |
91 | +\fB\-h\fP,\fB \-\-help\fP | |
92 | +ヘルプを表示して終了する。 | |
93 | +.SH 終了ステータス | |
94 | +\fBmesg\fP ユーティリティは、次の値の一つで終了する。 | |
95 | +.RS 4 | |
96 | +.TP | |
97 | +\fB\ 0\fP | |
98 | +メッセージは許可されている。 | |
99 | +.TP | |
100 | +\fB\ 1\fP | |
101 | +メッセージは許可されていない。 | |
102 | +.TP | |
103 | +\fB>1\fP | |
104 | +エラーが発生した。 | |
105 | +.RE | |
106 | +.SH ファイル | |
107 | +\fI/dev/[pt]ty[pq]?\fP | |
97 | 108 | .SH 歴史 |
98 | -.B mesg | |
99 | -コマンドは Version 6 AT&T UNIX から登場しました。 | |
109 | +\fBmesg\fP コマンドは、AT&T UNIX Version 6 で初登場した。 | |
110 | + | |
111 | +.SH 関連項目 | |
112 | +\fBlogin\fP(1), \fBtalk\fP(1), \fBwrite\fP(1), \fBwall\fP(1), \fBxterm\fP(1) | |
113 | +.SH 入手方法 | |
114 | +この mesg コマンドは、util\-linux パッケージの一部であり、 | |
115 | +https://www.kernel.org/pub/linux/utils/util\-linux/ | |
116 | +から入手できる。 |
@@ -30,120 +30,130 @@ | ||
30 | 30 | .\" SUCH DAMAGE. |
31 | 31 | .\" |
32 | 32 | .\" @(#)whereis.1 from UCB 4.2 |
33 | +.\"******************************************************************* | |
33 | 34 | .\" |
34 | -.\" Japanese Version Copyright (c) 2001 Yuichi SATO | |
35 | +.\" This file was generated with po4a. Translate the source file. | |
36 | +.\" | |
37 | +.\"******************************************************************* | |
38 | +.\" | |
39 | +.\" Japanese Version Copyright (c) 2001-2021 Yuichi SATO | |
40 | +.\" and 2021 Yoichi Chonan | |
35 | 41 | .\" all rights reserved. |
36 | 42 | .\" Translated Sat Feb 17 03:19:58 JST 2001 |
37 | 43 | .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp> |
44 | +.\" Updated & Modified (util-linux 2.36) Mon Jan 11 11:53:59 JST 2021 | |
45 | +.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
46 | +.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
38 | 47 | .\" |
39 | -.TH WHEREIS 1 "8 May 1994" | |
48 | +.TH WHEREIS 1 "October 2014" util\-linux "User Commands" | |
40 | 49 | .SH 名前 |
41 | -whereis \- コマンドのバイナリ・ソース・man ページの場所を示す | |
50 | +whereis \- コマンドのバイナリ、ソース、マニュアルファイルがどこにあるかを突き止める | |
42 | 51 | .SH 書式 |
43 | -.B whereis | |
44 | -[ | |
45 | -.B \-bmsu | |
46 | -] [ | |
47 | -.B \-BMS | |
48 | -.IR directory .\|.\|. | |
49 | -.B \-f | |
50 | -] | |
51 | -\fIfilename\fP\| | |
52 | -\&.\|.\|. | |
53 | -.IX "whereis command" "" "\fLwhereis\fP \(em find program" | |
54 | -.IX find "program \(em \fLwhereis\fP" | |
55 | -.IX "locate program" "" "locate program \(em \fLwhereis\fP" | |
56 | -.IX command locate "" "locate \(em \fLwhereis\fP" | |
52 | +\fBwhereis\fP [options] [\fB\-BMS\fP \fIdirectory\fP... \fB\-f\fP] \fIname\fP... | |
57 | 53 | .SH 説明 |
58 | -.B whereis | |
59 | -は指定したファイルのソース・バイナリ・man ページセクションの場所を示す。 | |
60 | -与えられた名前は、最初に始めのパス名の部分が取り除かれ、次に | |
61 | -.BR .c | |
62 | -のような | |
63 | -.BI . ext | |
64 | -という形式の拡張子が取り除かれる。 | |
65 | -ソースコード管理に使われている | |
66 | -.B s. | |
67 | -というプレフィックスがついたファイルも表示される。 | |
68 | -.B whereis | |
69 | -は、標準的な Linux ファイル階層中で指定したプログラムを探す。 | |
54 | +\fBwhereis\fP は、指定されたコマンド名について、 | |
55 | +そのバイナリ、ソース、マニュアルファイルがどこにあるかを突き止める。 | |
56 | +\fBwhereis\fP に渡された名前は、まず先行するパス名の部分が取り除かれ、 | |
57 | +次に、末尾に \fB.\fP\fIext\fP の形を取る拡張子 (たとえば、\fB.c\fP など) があれば、それも | |
58 | +(ひとつだけ) 取り除かれる。ソースコードコントロールシステム (SCCS) | |
59 | +を使用したことによる \fBs.\fP という接頭辞への対応も行われる。\fBwhereis\fP | |
60 | +は、それから、検索対象のプログラムなどを Linux の標準的な場所と、\fB$PATH\fP | |
61 | +や \fB$MANPATH\fP によって指定されている場所で見つけ出そうとする。 | |
62 | +.IP "[\fB訳注\fP]" 8 | |
63 | +「\fBs.\fP という接頭辞への対応」というのは、たとえば、ls | |
64 | +のソースファイルの探索を求められたときに、ls.c だけでなく、s.ls.c | |
65 | +といったファイルも捜しに行くようにすることである。 | |
66 | +.PP | |
67 | +検索対象の限定 (オプション \fB\-b\fP, \fB\-m\fP, \fB\-s\fP) | |
68 | +は累加式であり、コマンドラインで後に続く \fIname\fP というパターンに適用される。 | |
69 | +なお、検索対象の限定をやり直すと、検索の条件が再設定されることになる。たとえば、 | |
70 | +.RS | |
71 | +.sp | |
72 | +\fBwhereis \-bm ls tr \-m gcc\fP | |
73 | +.sp | |
74 | +.RE | |
75 | +は、"ls" と "tr" については、バイナリファイルと man | |
76 | +ページを見つけようとし、"gcc" については、man ページだけを捜す。 | |
77 | +.sp | |
78 | +オプション \fB\-B\fP, \fB\-M\fP, \fB\-S\fP は、後に続く \fIname\fP | |
79 | +というパターンに対する検索パスを設定し直す。たとえば、 | |
80 | +.RS | |
81 | +.sp | |
82 | +\fBwhereis \-m ls \-M /usr/share/man/man1 \-f cal\fP | |
83 | +.sp | |
84 | +.RE | |
85 | +は、"ls" の man ページは、デフォルトのパスのすべてで捜すが、"cal" | |
86 | +については、/usr/share/man/man1 ディレクトリのみで検索する。 | |
87 | + | |
70 | 88 | .SH オプション |
71 | -.TP | |
72 | -\fB\-b | |
73 | -バイナリのみを探す。 | |
74 | -.TP | |
75 | -.B \-m | |
76 | -man ページセクションのみを探す。 | |
77 | -.TP | |
78 | -.B \-s | |
79 | -ソースのみを探す。 | |
80 | -.TP | |
81 | -.B \-u | |
82 | -通常とは異なるエントリを探す。 | |
83 | -要求されるタイプの 1 つのエントリがファイルにない場合、 | |
84 | -通常とは異なるファイルと呼ばれる。 | |
85 | -よって、 | |
86 | -.RB ` "whereis\ \ \-m\ \ \-u\ \ *" ' | |
87 | -は、カレントディレクトリのファイルから man ページがないものを探す。 | |
88 | -.TP | |
89 | -.B \-B | |
90 | -.B whereis | |
91 | -がバイナリを探すディレクトリを変更または制限する。 | |
92 | -.TP | |
93 | -.B \-M | |
94 | -.B whereis | |
95 | -が man ページセクションを探すディレクトリを変更または制限する。 | |
96 | -.TP | |
97 | -.B \-S | |
98 | -.B whereis | |
99 | -がソースを探すディレクトリを変更または制限する。 | |
100 | -.TP | |
101 | -.B \-f | |
102 | -直前のディレクトリリストを終了させ、 | |
103 | -ファイル名指定の開始であることを示す。 | |
104 | -.BR \-B , | |
105 | -.BR \-M , | |
106 | -.B \-S | |
107 | -オプションのいずれかを使う場合は、 | |
108 | -このオプションを | |
109 | -.IR 使わなければならない 。 | |
110 | -.SH 例 | |
111 | -.B /usr/bin | |
112 | -にあるファイルから | |
113 | -.B /usr/man/man1 | |
114 | -に man ページがなく | |
115 | -.BR /usr/src | |
116 | -にソースがあるようなもの探す。 | |
89 | +.IP \fB\-b\fP | |
90 | +バイナリを検索する。 | |
91 | +.IP \fB\-m\fP | |
92 | +マニュアルを検索する。 | |
93 | +.IP \fB\-s\fP | |
94 | +ソースを検索する。 | |
95 | +.IP \fB\-u\fP | |
96 | +検出結果が異例であるコマンド名についてのみ表示する。 | |
97 | +ここで異例というのは、明示的に調査を要求した各タイプについて、検出結果がただ | |
98 | +1 つではないことである。従って、'\fBwhereis \-m \-u *\fP' というコマンドは、 | |
99 | +カレントディレクトリのファイルのうちで、文書ファイルがまったく存在しないか、2 | |
100 | +つ以上存在するものを求めることになる。 | |
101 | +.RS | |
102 | +.IP "[\fB訳注\fP]" | |
103 | +この説明は古くなっているのではないかと思う。実際には、手元の | |
104 | +util-linux 2.36 で '\fBwhereis -m -u *\fP' | |
105 | +を実行しても、文書ファイルのまったく存在しないものについては、何も表示されない。2 | |
106 | +つ以上存在するものだけが表示される。 | |
107 | +.RE | |
108 | +.IP "\fB\-B \fP\fIlist\fP" | |
109 | +\fBwhereis\fP がバイナリを捜す場所を限定する。\fIlist\fP | |
110 | +は、ホワイトスペース (訳注: スペースやタブ) で区切ったディレクトリのリストである。 | |
111 | +.IP "\fB\-M \fP\fIlist\fP" | |
112 | +\fBwhereis\fP がマニュアルや info 形式の文書を捜す場所を限定する。\fIlist\fP | |
113 | +は、ホワイトスペースで区切ったディレクトリのリストである。 | |
114 | +.IP "\fB\-S \fP\fIlist\fP" | |
115 | +\fBwhereis\fP がソースを捜す場所を限定する。\fIlist\fP | |
116 | +は、ホワイトスペースで区切ったディレクトリのリストである。 | |
117 | +.IP \fB\-f\fP | |
118 | +ディレクトリのリストは直前で終わり、ここからファイル名が始まると知らせる。\fB\-B\fP, | |
119 | +\fB\-M\fP, \fB\-S\fP オプションの何れかを使用するときは、これを\fI使わなければならない\fP。 | |
120 | +.IP \fB\-l\fP | |
121 | +\fBwhereis\fP が実際に使用している検索パスのリストを表示する。\fB\-B\fP, \fB\-M\fP, | |
122 | +\fB\-S\fP のどれも指定されていない場合にこのオプションが表示するのは、 | |
123 | +ハードコードされたパスのうちで、\fBwhereis\fP | |
124 | +がシステム上で見つけることのできたものである。 | |
125 | +.TP | |
126 | +\fB\-h\fP, \fB\-\-help\fP | |
127 | +ヘルプを表示して終了する。 | |
128 | +.TP | |
129 | +\fB\-V\fP, \fB\-\-version\fP | |
130 | +バージョン情報を表示して終了する。 | |
131 | +.SH ファイルを検索するパス | |
132 | +デフォルトで \fBwhereis\fP | |
133 | +は、ハードコードされたパスを使って、ファイルを見つけようとするが、 | |
134 | +このパスは、グロブのパターンで定義されている。また、 | |
135 | +\fBwhereis\fP は、環境変数 \fB$PATH\fP と \fB$MANPATH\fP | |
136 | +の内容をデフォルトの検索パスとして使用しようとする。 | |
137 | +どんなパスが使われているかを知る一番簡単な方法は、 | |
138 | +リストオプションの \fB\-l\fP を付け足すことである。\fB\-l\fP を使えば、\fB\-B\fP, | |
139 | +\fB\-M\fP, \fB\-S\fP の効果も表示される。 | |
140 | +.SH 環境変数 | |
141 | +.IP WHEREIS_DEBUG=all | |
142 | +デバッグ出力を有効にする。 | |
143 | +.SH 用例 | |
144 | +\fI/usr/bin\fP にあるファイルの内、\fI/usr/man/man1\fP にマニュアルがないか、 | |
145 | +\fI/usr/src\fP にソースのないものをすべて見つけ出す。 | |
117 | 146 | .IP |
118 | -.nf | |
119 | -.ft B | |
120 | -example% cd /usr/bin | |
121 | -example% whereis \-u \-M /usr/man/man1 \-S /usr/src \-f * | |
122 | -.fi | |
123 | -.ft R | |
124 | -.SH ファイル | |
125 | -.TP 20 | |
126 | -.B /{bin,sbin,etc} | |
127 | -.TP | |
128 | -.B /usr/{lib,bin,old,new,local,games,include,etc,src,man,sbin, | |
129 | -.B X386,TeX,g++-include} | |
130 | -.TP | |
131 | -.B /usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs} | |
132 | -.SH 関連項目 | |
133 | -.BR chdir (2V) | |
134 | -.SH バグ | |
135 | -.B whereis | |
136 | -は実行を速くするために | |
137 | -.BR chdir (2V) | |
138 | -を使うので、 | |
139 | -.BR \-M , | |
140 | -.BR \-S , | |
141 | -.B \-B | |
142 | -に指定するパス名はフルパスでなければならない; | |
143 | -つまりパス名は | |
144 | -.RB ` / ' | |
145 | -で始まっていなければならない。 | |
146 | -.PP | |
147 | -.B whereis | |
148 | -はハードコードされたパスを持っているので、 | |
149 | -探しているものとは違うものが見つかるかもしれない。 | |
147 | +\fBcd /usr/bin\fP | |
148 | +.br | |
149 | +\fBwhereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f *\fP | |
150 | +.IP "[\fB訳注\fP]" | |
151 | +上記のコマンドは、少なくとも手元の util-linux 2.36 | |
152 | +では、指定したディレクトリにマニュアルやソースがないものの表示はせず、たとえば | |
153 | +passwd.1.gz と passwd.1ssl.gz のように、そうしたものが | |
154 | +2 つ以上ある場合だけ表示するようだ。\fB-u\fP オプションの訳注も参照。なお、 | |
155 | +当方の場合、マニュアルがあるのは、/usr/share/man/man1 である。 | |
156 | +.SH 入手方法 | |
157 | +このコマンドは util\-linux パッケージの一部であり、Linux Kernel Archive | |
158 | +<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
159 | +から入手できる。 |
@@ -34,70 +34,65 @@ | ||
34 | 34 | .\" |
35 | 35 | .\" @(#)write.1 8.1 (Berkeley) 6/6/93 |
36 | 36 | .\" |
37 | -.\" Modified for Linux, Sun Mar 12 10:21:01 1995, faith@cs.unc.edu | |
37 | +.\"******************************************************************* | |
38 | +.\" | |
39 | +.\" This file was generated with po4a. Translate the source file. | |
40 | +.\" | |
41 | +.\"******************************************************************* | |
38 | 42 | .\" |
39 | 43 | .\" %FreeBSD: src/usr.bin/write/write.1,v 1.7.2.1 2000/12/08 15:14:18 ru Exp % |
40 | 44 | .\" $FreeBSD$ |
45 | +.\" | |
41 | 46 | .\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> |
47 | +.\" Updated & Modified (util-linux 2.36) Tue Jan 12 11:24:28 JST 2021 | |
48 | +.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
49 | +.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
42 | 50 | .\" |
43 | -.TH WRITE 1 "12 March 1995" "" "Linux Programmer's Manual" | |
44 | -.SH 名称 | |
45 | -write \- 別のユーザにメッセージを送る | |
51 | +.TH WRITE 1 "March 1995" util\-linux "User Commands" | |
52 | +.SH 名前 | |
53 | +write \- 他のユーザにメッセージを送る | |
46 | 54 | .SH 書式 |
47 | -.BI write " user " [ ttyname ] | |
48 | -.SH 解説 | |
49 | -.B write | |
50 | -は、あなたの端末入力行を他の端末に送ることで、 | |
51 | -他のユーザとのコミュニケーションを可能にします。 | |
55 | +\fBwrite\fP \fIuser\fP [\fIttyname\fP] | |
56 | +.SH 説明 | |
57 | +\fBwrite\fP は、あなたが端末に入力した行を他の人の端末にコピーすることによって、 | |
58 | +他のユーザと会話ができるようにする。 | |
52 | 59 | .PP |
53 | -.RS | |
54 | -Message from yourname@yourhost on yourtty at hh:mm ... | |
55 | -.RE | |
56 | -.PP | |
57 | -.B write | |
58 | -を使ってメッセージを書くと、指定されたユーザは次のような | |
59 | -書き出しで始まるメッセージを受け取ります: | |
60 | +\fBwrite\fP | |
61 | +コマンドを実行すると、宛先のユーザは次のような形のメッセージを受け取る。 | |
60 | 62 | .PP |
61 | 63 | .RS |
62 | 64 | Message from yourname@yourhost on yourtty at hh:mm ... |
63 | 65 | .RE |
64 | 66 | .PP |
65 | -この後の行は、1行入力するたびにその内容が相手の端末にコピーされます。 | |
66 | -もし相手が返事をしたいと思ったら、その人も | |
67 | -.B write | |
68 | -を実行して同じようにメッセージを送る必要があります。 | |
67 | +あなたが続けて入力する行は、1 行入力するたびに宛先の端末にコピーされる。 | |
68 | +もし宛先の人が返事をしたいと思ったら、その人もやはり \fBwrite\fP | |
69 | +を実行しなければならない。 | |
69 | 70 | .PP |
70 | -メッセージを送り終わったら、ファイルの終り文字か割り込み文字を入力します。 | |
71 | -相手には、通信の終りを表す | |
72 | -.B EOF | |
73 | -が表示されます。 | |
71 | +用件が済んだら、ファイル終端文字か割り込み文字を入力する | |
72 | +(訳注: 前者は Control\-d、後者は Control\-c)。宛先には、会話の終りを示す | |
73 | +\fBEOF\fP という文字が表示される。 | |
74 | 74 | .PP |
75 | 75 | 他のユーザからのメッセージを拒否したいときは |
76 | -(ただしスーパユーザからのメッセージは拒否できません)、 | |
77 | -.BR mesg (1) | |
78 | -を使います。 | |
79 | -.BR nroff (1) | |
80 | -や | |
81 | -.BR pr (1) | |
82 | -といったコマンドは自動的に書き込むのを拒否するので、 | |
83 | -あなたの出力は上書きされません。 | |
76 | +(ただしスーパユーザからのメッセージは拒否できない)、\fBmesg\fP(1) | |
77 | +を使えばよい。コマンドの中には、たとえば \fBnroff\fP(1) や \fBpr\fP(1) | |
78 | +のように、書き込みを自動的に拒否するものもある。 | |
79 | +それは、自分の生成する出力が上書きされてしまわないように、そうしているのである。 | |
84 | 80 | .PP |
85 | -2つ以上の端末にログインしているユーザにメッセージを送りたい場合には、 | |
86 | -どの端末にメッセージを送るかを、 | |
87 | -.B write | |
88 | -の2番目の引数で指定することができます。 | |
89 | -端末名を指定しなければ、もっともアイドル時間の短い端末が選択されます。 | |
90 | -事務所でログインしたままになっているユーザが、今は自宅からモデムでログイン | |
91 | -している場合などは、これによって正しい端末が選択されるでしょう。 | |
81 | +メッセージを送りたい相手が、2 つ以上の端末にログインしている場合は、 | |
82 | +どの端末にメッセージを送るかを、\fBwrite\fP コマンドの | |
83 | +2 番目の引き数で指定することができる。あるいは、端末の選択を | |
84 | +\fBwrite\fP に任せてしまってもよい。その場合、\fBwrite\fP | |
85 | +は、アイドル時間が最も短い端末を選ぶことになる。そうすることで、 | |
86 | +職場でログインしているユーザが、同時に自宅からもモデムでログインしているといった場合でも、 | |
87 | +メッセージが適切な方に届くようにするのである。 | |
92 | 88 | .PP |
93 | -.B write | |
94 | -コマンドで人とやりとりする時には、次のようなプロトコルが使われてきました。 | |
95 | -行末の `\-o' あるいは、`\-o'だけの行は、あなたが話す番ですよ、という意味であり、 | |
96 | -`oo'は、会話を終りにしましょうという意味になります。 | |
97 | -.SH 関連項目 | |
98 | -.BR mesg (1), | |
99 | -.BR talk (1), | |
100 | -.BR who (1) | |
89 | +\fBwrite\fP コマンドでやりとりするときの伝統的な約束では、行末の `\-o' | |
90 | +や `\-o' だけの行は、「あなたが話す番ですよ」という意味になる。`oo' | |
91 | +は、「会話を終りにしましょう」ということである。 | |
101 | 92 | .SH 歴史 |
102 | -.B write | |
103 | -コマンドは Version 6 AT&T UNIX から登場しました。 | |
93 | +\fBwrite\fP コマンドは AT&T UNIX Version 6 で初登場した。 | |
94 | +.SH 関連項目 | |
95 | +\fBmesg\fP(1), \fBtalk\fP(1), \fBwho\fP(1) | |
96 | +.SH 入手方法 | |
97 | +この write コマンドは、util\-linux パッケージの一部であり、 | |
98 | +https://www.kernel.org/pub/linux/utils/util\-linux/ から入手できる。 |
@@ -31,7 +31,7 @@ | ||
31 | 31 | ×:util-linux:2.34:0000/00/00:lslogins:1::::: |
32 | 32 | ×:util-linux:2.34:0000/00/00:lsmem:1::::: |
33 | 33 | ☆:util-linux:2.12r=>2.34:0000/00/00:mcookie:1:2001/02/11::sato@complex.eng.hokudai.ac.jp:Yuichi SATO: |
34 | -☆:util-linux:2.12r=>2.34:0000/00/00:mesg:1:2005/06/05::argrath@ub32.org:Kentaro Shirakata:http://www.jp.freebsd.org/man-jp/ | |
34 | +○:util-linux:2.36:2014/07/00:mesg:1:2021/01/19::cyoichi@maple.ocn.ne.jp:Chonan Yoichi:http://www.jp.freebsd.org/man-jp/ | |
35 | 35 | ☆:util-linux:2.12r=>2.34:0000/00/00:more:1:2001/09/14::argrath@ub32.org:Kentaro Shirakata: |
36 | 36 | ×:util-linux:2.34:0000/00/00:mountpoint:1::::: |
37 | 37 | ☆:util-linux:2.12r=>2.34:0000/00/00:namei:1:2001/02/11::sato@complex.eng.hokudai.ac.jp:Yuichi SATO:file timestamp 1999/06/09 |
@@ -57,8 +57,8 @@ | ||
57 | 57 | ×:util-linux:2.34:0000/00/00:uuidgen:1::::: |
58 | 58 | ×:util-linux:2.34:0000/00/00:uuidparse:1::::: |
59 | 59 | ○:util-linux:2.36:2013/08/00:wall:1:2020/12/21::cyoichi@maple.ocn.ne.jp:Chonan Yoichi:http://www.jp.freebsd.org/man-jp/ |
60 | -☆:util-linux:2.12r=>2.34:0000/00/00:whereis:1:2001/03/12::sato@complex.eng.hokudai.ac.jp:Yuichi SATO: | |
61 | -☆:util-linux:2.12r=>2.34:0000/00/00:write:1:2005/06/05::argrath@ub32.org:Kentaro Shirakata:http://www.jp.freebsd.org/man-jp/ | |
60 | +○:util-linux:2.36:2014/10/00:whereis:1:2021/01/19::cyoichi@maple.ocn.ne.jp:Chonan Yoichi: | |
61 | +○:util-linux:2.36:1995/03/00:write:1:2021/01/19::cyoichi@maple.ocn.ne.jp:Chonan Yoichi:http://www.jp.freebsd.org/man-jp/ | |
62 | 62 | ×:util-linux:2.34:0000/00/00:libblkid:3::::: |
63 | 63 | ×:util-linux:2.34:0000/00/00:adjtime_config:5::::: |
64 | 64 | ☆:util-linux:2.12r=>2.34:0000/00/00:fstab:5:2005/06/04::ysato444@yahoo.co.jp:Yuichi SATO: |
@@ -36,6 +36,9 @@ JM プロジェクトは、主に Linux 関連のマニュアルページの日 | ||
36 | 36 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
37 | 37 | <H2><A NAME="WHATSNEW">新着情報</A></H2> |
38 | 38 | <UL> |
39 | + <LI>_LINK(INDEX/linux.html#util-linux, util-linux 2.36 の mesg.1 whereis.1 write.1 の man pages の翻訳)を公開しました。 | |
40 | + <SMALL>(2021/01/19)</SMALL> | |
41 | + | |
39 | 42 | <LI>_LINK(INDEX/linux.html#util-linux, util-linux 2.36 の logger.1 renice.1 wall.1 の man pages の翻訳)を公開しました。 |
40 | 43 | <SMALL>(2020/12/22)</SMALL> |
41 | 44 |
@@ -15,6 +15,16 @@ _HEADER(JM 新着情報) | ||
15 | 15 | |
16 | 16 | m4_dnl This is an anchor for ml2cvs. DON'T REMOVE. |
17 | 17 | m4_dnl ML2CVS ADD HERE |
18 | + <H2><A NAME="20210119">2021/01/19</A></H2> | |
19 | + <DL> | |
20 | + <DT>_LINK(../INDEX/linux.html,util-linux 2.36 の mesg.1 whereis.1 write.1 のマニュアル)を公開しました。</DT> | |
21 | + <DD> | |
22 | + _UPD_PAGE(util-linux, mesg.1) | |
23 | + _UPD_PAGE(util-linux, whereis.1) | |
24 | + _UPD_PAGE(util-linux, write.1) | |
25 | + </DD> | |
26 | + </DL> | |
27 | + | |
18 | 28 | <H2><A NAME="20201222">2020/12/22</A></H2> |
19 | 29 | <DL> |
20 | 30 | <DT>_LINK(../INDEX/linux.html,util-linux 2.36 の logger.1 renice.1 wall.1 のマニュアル)を公開しました。</DT> |