OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / netkit / draft / man1 / write.1
1 .\" Copyright (c) 1989 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" This code is derived from software contributed to Berkeley by
5 .\" Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory.
6 .\"
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
9 .\" are met:
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\"    notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\"    notice, this list of conditions and the following disclaimer in the
14 .\"    documentation and/or other materials provided with the distribution.
15 .\" 3. All advertising materials mentioning features or use of this software
16 .\"    must display the following acknowledgement:
17 .\"     This product includes software developed by the University of
18 .\"     California, Berkeley and its contributors.
19 .\" 4. Neither the name of the University nor the names of its contributors
20 .\"    may be used to endorse or promote products derived from this software
21 .\"    without specific prior written permission.
22 .\"
23 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .\" SUCH DAMAGE.
34 .\"
35 .\" Portions of the code documented by this man page are 
36 .\" Copyright (C) 1991 by the Massachusetts Institute of Technology.
37 .\" Please see the file COPYING for details.
38 .\"
39 .\"
40 .\"     @(#)write.1     6.5 (Berkeley) 4/24/91
41 .\"
42 .\" Modified for Linux, Mon Mar  8 18:22:44 1993, faith@cs.unc.edu
43 .\" Modified to describe network write, Apr 29 1996, dholland@hcs.harvard.edu
44 .\"
45 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
46 .\"         all rights reserved.
47 .\" Translated Wed Nov 22 17:46:02 JST 2000
48 .\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
49 .\"
50 .\"WORD:        protocol        ¼è¤ê·è¤á
51 .\"
52 .Dd August 15, 1999
53 .Dt WRITE 1
54 .Os "Linux NetKit (0.17)"
55 .\"O .Sh NAME
56 .Sh Ì¾Á°
57 .Nm write
58 .\"O .Nd send a message to another user
59 .Nd Â¾¤Î¥æ¡¼¥¶¡¼¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë
60 .\"O .Sh SYNOPSIS
61 .Sh ½ñ¼°
62 .Nm write
63 .Ar user[@host]
64 .Op Ar ttyname
65 .\"O .Sh DESCRIPTION
66 .Sh ÀâÌÀ
67 .\"O .Nm Write
68 .\"O allows you to communicate with other users, by copying lines from your
69 .\"O terminal to theirs, possibly across the netwoerk.
70 .Nm write
71 ¤Ï¡¢¥Í¥Ã¥È¥ï¡¼¥¯±Û¤·¤Ë¥æ¡¼¥¶¡¼¤ÎüËö¤Î¹Ô¤ò
72 ¾¤Î¥æ¡¼¥¶¡¼¤ÎüËö¤Ë¥³¥Ô¡¼¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢
73 ¾¤Î¥æ¡¼¥¶¡¼¤È¤ÎÄÌ¿®¤ò²Äǽ¤Ë¤¹¤ë¡£
74 .Pp
75 .\"O When you run the
76 .\"O .Nm write
77 .\"O command, the user you are writing to gets a message of the form:
78 .Nm write
79 ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢
80 Áê¼ê¤Î¥æ¡¼¥¶¡¼¤Ï°Ê²¼¤Î·Á¼°¤Î¥á¥Ã¥»¡¼¥¸¤ò¼õ¤±¼è¤ë¡£
81 .Pp
82 .Dl Message from yourname@yourhost on yourtty at hh:mm ...
83 .Pp
84 .\"O Any further lines you enter will be copied to the specified user's
85 .\"O terminal as you finish typing them.
86 .\"O If the other user wants to reply, they must run
87 .\"O .Nm write
88 .\"O as well.
89 ¤³¤Î¸å¤ËÆþÎϤµ¤ì¤¿¹Ô¤Ï¡¢»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤ÎüËö¤Ë
90 ÆþÎϤ¬½ª¤ë¤´¤È¤Ë¥³¥Ô¡¼¤µ¤ì¤ë¡£
91 Áê¼ê¤Î¥æ¡¼¥¶¡¼¤¬ÊÖÅú¤·¤¿¤¤¾ì¹ç¤Ï¡¢Æ±ÍͤË
92 .Nm write
93 ¤ò¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
94 .Pp
95 .\"O When you are done, type an end-of-file or interrupt character.
96 .\"O The other user will see the message
97 .\"O .Ql EOF
98 .\"O indicating that the
99 .\"O conversation is over.
100 ¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ê½ª¤Ã¤¿¤é¡¢end-of-file ¤«¥¤¥ó¥¿¥é¥×¥Èʸ»ú¤òÆþÎϤ¹¤ë¤³¤È¡£
101 Áê¼ê¤Î¥æ¡¼¥¶¡¼¤Ï¡¢²ñÏ䬽ª¤Ã¤¿¤³¤È¤òɽ¤¹
102 .Ql EOF
103 ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤ò¼õ¤±¼è¤ë¡£
104 .Pp
105 .\"O You can prevent people (other than the super-user) from writing to you
106 .\"O with the
107 .\"O .Xr mesg 1
108 .\"O command.
109 .\"O Some commands, for example
110 .\"O .Xr nroff 1
111 .\"O and
112 .\"O .Xr pr 1 ,
113 .\"O disallow writing automatically, so that your output isn't overwritten.
114 ¥æ¡¼¥¶¡¼¤Ï (¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼°Ê³°¤Î) Â¾¤Î¥æ¡¼¥¶¡¼¤¬
115 ¥á¥Ã¥»¡¼¥¸¤ò½ñ¤­¹þ¤à¤Î¤ò
116 .Xr mesg 1
117 ¥³¥Þ¥ó¥É¤ò»È¤Ã¤ÆËɤ°¤³¤È¤¬¤Ç¤­¤ë¡£
118 .Xr nroff 1
119 ¤ä
120 .Xr pr 1
121 ¤È¤¤¤Ã¤¿¥³¥Þ¥ó¥É¤Ï¡¢¥æ¡¼¥¶¡¼¤Î½ÐÎϤ¬¾å½ñ¤­¤µ¤ì¤Ê¤¤¤è¤¦¤Ë¡¢
122 ¼«Æ°Åª¤Ë½ñ¤­¹þ¤ß¤òÉԲĤˤ¹¤ë¡£
123 .Pp
124 .\"O If the user you want to write to is logged in on more than one terminal,
125 .\"O you can specify which terminal to write to by specifying the terminal
126 .\"O name as the second operand to the
127 .\"O .Nm write
128 .\"O command.
129 .\"O Alternatively, you can let
130 .\"O .Nm write
131 .\"O select one of the terminals \- it will pick the one with the shortest
132 .\"O idle time.
133 .\"O This is so that if the user is logged in at work and also dialed up from
134 .\"O home, the message will go to the right place.
135 ¥á¥Ã¥»¡¼¥¸¤ò½ñ¤­¹þ¤ß¤¿¤¤Áê¼ê¤Î¥æ¡¼¥¶¡¼¤¬
136 Ê£¿ô¤ÎüËö¤Ë¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¾ì¹ç¡¢
137 .Nm write
138 ¥³¥Þ¥ó¥É¤Î 2 ÈÖÌܤΰú¤­¿ô¤È¤·¤ÆüËö̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢
139 ¤É¤ÎüËö¤Ë½ñ¤­¹þ¤à¤«¤ò»ØÄê¤Ç¤­¤ë¡£
140 µÕ¤Ë¡¢¥æ¡¼¥¶¡¼¤Ï½ñ¤­¹þ¤àüËö¤ò
141 .Nm write
142 ¤ËÁª¤Ð¤»¤ë¤³¤È¤¬¤Ç¤­¤ë \- ¤³¤Î¾ì¹ç¡¢¥¢¥¤¥É¥ë»þ´Ö¤¬ºÇ¤âû¤¤Ã¼Ëö¤òÁªÂò¤¹¤ë¡£
143 ¥æ¡¼¥¶¡¼¤¬¿¦¾ì¤Ç¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¾ì¹ç¤ä¡¢
144 ¼«Â𤫤é¥À¥¤¥ä¥ë¥¢¥Ã¥×¤ÇÀܳ¤·¤Æ¤¤¤ë¾ì¹ç¤Ç¤â¡¢
145 ¤³¤ÎÁªÂòÊý¼°¤Ë¤è¤ê¥á¥Ã¥»¡¼¥¸¤ÏŬÀÚ¤ÊüËö¤ËÁ÷¤é¤ì¤ë¡£
146 .Pp
147 .\"O The traditional protocol for writing to someone is that the string
148 .\"O .Ql \-o ,
149 .\"O either at the end of a line or on a line by itself, means that it's the
150 .\"O other person's turn to talk.
151 .\"O The string
152 .\"O .Ql oo
153 .\"O means that the person believes the conversation to be over. When this
154 .\"O protocol fails or is not used, you may find the "reprint" character,
155 .\"O normally ^R, useful.
156 狼¤Ë¥á¥Ã¥»¡¼¥¸¤ò½ñ¤¯ºÝ¤ÎÅÁÅýŪ¤Ê¼è¤ê·è¤á¤È¤·¤Æ¤Ï¡¢
157 ¼¡¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ë¡£
158 ʸ»úÎó
159 .Ql \-o
160 ¤¬¹ÔËö¤äñÆȤǰì¹Ô¤Ë¤¢¤ë¾ì¹ç¡¢
161 ¤½¤ì¤ÏÁê¼ê¤Î¥æ¡¼¥¶¡¼¤ÎÏä¹È֤ˤʤ俤³¤È¤ò°ÕÌ£¤¹¤ë¡£
162 ʸ»úÎó
163 .Ql oo
164 ¤Ï¡¢¥æ¡¼¥¶¡¼¤¬²ñÏ䬽ªÎ»¤·¤¿¤È¹Í¤¨¤Æ¤¤¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
165 ¤³¤Î¼è¤ê·è¤á¤¬¼ºÇÔ¤·¤¿¾ì¹ç¤ä»È¤ï¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
166 ¡ÖºÆÉÁ²è¡×ʸ»ú (Ä̾ï¤Ï ^R) ¤¬ÌòΩ¤Ä¤³¤È¤Ëµ¤¤Å¤¯¤«¤â¤·¤ì¤Ê¤¤¡£
167 .Pp
168 .\"O An additional protocol that has developed locally: when conversing
169 .\"O with more than one person, place an identifier in parentheses, such 
170 .\"O as (d), at the beginning of each line. This serves to distinguish
171 .\"O messages coming from different people, and also serves to indicate to
172 .\"O the person at the other end that they should do the same.
173 ¥í¡¼¥«¥ë¤ÇȯŸ¤·¤¿Â¾¤Î¼è¤ê·è¤á¤È¤·¤Æ¤Ï¡¢¼¡¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ë¡£
174 Ê£¿ô¤Î¥æ¡¼¥¶¡¼¤Ç²ñÏäò¤¹¤ë¾ì¹ç¡¢
175 ³Æ¹Ô¤ÎÀèƬ¤Ë (d) ¤È¤¤¤Ã¤¿³ç¸Ì¤ËÆþ¤Ã¤¿¼±Ê̾ðÊó¤òÃÖ¤¯¡£
176 ¤³¤ì¤ÏÊ£¿ô¤Î¥æ¡¼¥¶¡¼¤«¤éÍ褿¥á¥Ã¥»¡¼¥¸¤ò¶èÊ̤¹¤ë¤È¤È¤â¤Ë¡¢
177 Áê¼ê¤Î¥æ¡¼¥¶¡¼¤Ë¤âƱ¤¸¤è¤¦¤Ë¤¹¤Ù¤­¤Ç¤¢¤ë¤È¶µ¤¨¤ëƯ¤­¤¬¤¢¤ë¡£
178 .\"O .Sh SEE ALSO
179 .Sh ´ØÏ¢¹àÌÜ
180 .Xr mesg 1 ,
181 .Xr talk 1 ,
182 .Xr finger 1 ,
183 .Xr rwho 1 ,
184 .Xr who 1
185 .\"O .Sh HISTORY
186 .Sh ÍúÎò
187 .\"O A
188 .\"O .Nm
189 .\"O command appeared in
190 .\"O .At v6 .
191 .\"O The network aware 
192 .\"O .Nm
193 .\"O was developed by MIT in conjunction with Project Athena.
194 .Nm
195 ¥³¥Þ¥ó¥É¤Ï
196 .At v6
197 ¤ÇÅо줷¤¿¡£
198 ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î¿Í¡¹¤Ï
199 .Nm
200 ¤¬ Project Athena ¤Ë´ØÏ¢¤·¤Æ MIT ¤Ç³«È¯¤µ¤ì¤¿¤³¤È¤òÃΤäƤ¤¤ë¡£
201 .Sh ËÝÌõ¼Ô¼Õ¼­
202 ¤³¤Î man ¥Ú¡¼¥¸¤ÎËÝÌõ¤Ë¤¢¤¿¤ê¡¢
203 FreeBSD jpman project <http://www.jp.freebsd.org/man-jp/>
204 ¤Ë¤è¤ëËÝÌõ¤ò»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤¿¡£