3947840b05
Interpretation of a chunk in cut.1 was helped by: Yoshihiko Sarumaru <mistral@imasy.or.jp>, hrs
218 lines
6.3 KiB
Groff
218 lines
6.3 KiB
Groff
.\" Copyright (c) 1980, 1990, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)msgs.1 8.2 (Berkeley) 4/28/95
|
|
.\" %FreeBSD: src/usr.bin/msgs/msgs.1,v 1.19 2004/07/03 00:24:42 ru Exp %
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd April 28, 1995
|
|
.Dt MSGS 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm msgs
|
|
.Nd ¥·¥¹¥Æ¥à¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤òÆɤि¤á¤Î´Êñ¤Ê¥á¡¼¥ë¥×¥í¥°¥é¥à
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Op Fl fhlpq
|
|
.Op Ar number
|
|
.Op Ar \-number
|
|
.Nm
|
|
.Op Fl s
|
|
.Nm
|
|
.Op Fl c
|
|
.Op \-days
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥·¥¹¥Æ¥à¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤òÆɤि¤á¤Î¥×¥í¥°¥é¥à¤Ç¤¹¡£
|
|
¤³¤ì¤é¤Î¥á¥Ã¥»¡¼¥¸¤Ï¥æ¡¼¥¶ `msgs' ¤¢¤Æ¤Ë¥á¡¼¥ë¤òÁ÷¤ë¤³¤È¤ÇÁ÷¿®¤µ¤ì¤Þ¤¹¡£
|
|
¤³¤ì¤é¤Î¥á¥Ã¥»¡¼¥¸¤Ï¡¢¥æ¡¼¥¶¤¬¥·¥¹¥Æ¥à¤Ë¥í¥°¥¤¥ó¤·¤¿»þ¤Ë¡¢
|
|
¥·¥¹¥Æ¥à¤«¤é¤Î´Êñ¤Ê¥á¥Ã¥»¡¼¥¸¤ò°ìÅÙ¤À¤±É½¼¨¤¹¤ë¤Î¤ËÊØÍø¤Ç¤¹¡£
|
|
.Pp
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò
|
|
.Pa .login
|
|
¥Õ¥¡¥¤¥ë
|
|
(
|
|
.Xr sh 1
|
|
¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢
|
|
.Pa .profile
|
|
) ¤Ë½ñ¤¤¤Æ¤ª¤¯¤³¤È¤Ë¤è¤Ã¤Æ¡¢
|
|
¥í¥°¥¤¥ó¤¹¤ë¤¿¤Ó¤Ë
|
|
.Nm
|
|
¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
|
|
¤â¤·¡¢¿·¤·¤¤¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ì¤Ð¡¢Ã¯¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤«¤È¤¤¤¦¾ðÊó¤È¡¢
|
|
Subject ¤È¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¤â¤· Subject ¹Ô¤¬Ìµ¤±¤ì¤Ð¡¢ÀèƬ¤Î¶õ¹Ô¤Ç¤Ê¤¤¿ô¹Ô¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¤â¤·¡¢¤è¤ê¿¤¯¤Î¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ì¤Ð¡¢»Ä¤ê¤Î¥á¥Ã¥»¡¼¥¸Î̤ò¼¨¤·¡¢
|
|
»Ä¤ê¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤ë¤«¤É¤¦¤«¤ò¿Ò¤Í¤Þ¤¹¡£
|
|
ÊÖ»ö¤È¤·¤Æ¤Ï¡¢°Ê²¼¤Î¤â¤Î¤ò»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹:
|
|
.Bl -tag -width Fl
|
|
.It Ic y
|
|
¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Ic RETURN
|
|
y ¤ÈƱ¤¸¤Ç¤¹¡£
|
|
.It Ic n
|
|
¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò¥¹¥¥Ã¥×¤·¤Æ¡¢¼¡¤Î¥á¥Ã¥»¡¼¥¸¤Ë¹Ô¤¤Þ¤¹¡£
|
|
.It Fl
|
|
ºÇ¸å¤Ëɽ¼¨¤·¤¿¥á¥Ã¥»¡¼¥¸¤òºÆɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Ic q
|
|
.Nm
|
|
¤ò½ªÎ»¤·¤Þ¤¹¡£¼¡²ó¤Ë¤ÏÆɤޤʤ«¤Ã¤¿¥á¥Ã¥»¡¼¥¸¤òÆɤळ¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.It Ic s
|
|
¥á¥Ã¥»¡¼¥¸¤ò¥»¡¼¥Ö¤·¤Þ¤¹¡£¸½ºß¤Î¥á¥Ã¥»¡¼¥¸¤ò¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î
|
|
``Messages'' ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ËÄɲä·¤Þ¤¹¡£
|
|
`s\-' ¤Ïɽ¼¨¤¹¤ëÁ°¤Ë¥»¡¼¥Ö¤·¤Þ¤¹¡£
|
|
`s' ¤ä `s\-' ¤Ï¤½¤Î¸å¤í¤Ë¶õÇò¤ò¤Ï¤µ¤ó¤Ç¥»¡¼¥Ö¤¹¤ë¥Õ¥¡¥¤¥ë̾¤ò»ØÄê¤Ç¤¤Þ¤¹¡£
|
|
.It Ic m
|
|
»ØÄꤵ¤ì¤¿¥á¥Ã¥»¡¼¥¸¤ò¡¢°ì»þŪ¤Ê mailbox ¤È¤·¤Æ¥Õ¥¡¥¤¥ë¤ËµÏ¿¤·¡¢
|
|
.Xr mail 1
|
|
¤òµ¯Æ°¤·¤Æ¡¢µÏ¿¤·¤¿¥Õ¥¡¥¤¥ë¤ò¥á¡¼¥ë¤È¤·¤Æ°·¤¦¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
`m' , `s' ¥³¥Þ¥ó¥É¤Ï¡¢`-' ¤ÎÂå¤ï¤ê¤Ë¿ô»ú¤Î°ú¿ô¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢³Æ¥æ¡¼¥¶¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î
|
|
.Pa \&.msgsrc
|
|
¤ËµÏ¿¤µ¤ì¤Æ¤¤¤ëÈÖ¹æ¤òÆɤ߹þ¤ó¤Ç¡¢¿·¤¿¤ËÆɤà¤Ù¤¥á¥Ã¥»¡¼¥¸¤ò·èÄꤷ¤Þ¤¹¡£
|
|
.Pa /var/msgs
|
|
¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢(¥·¡¼¥±¥ó¥·¥ã¥ë¤Ê)¥á¥Ã¥»¡¼¥¸ÈÖ¹æ¤ò
|
|
¥Õ¥¡¥¤¥ë̾¤È¤·¤Æ³ÊǼ¤·¤Æ¤¤¤Þ¤¹¡£
|
|
.Pa /var/msgs/bounds
|
|
¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
|
|
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥á¥Ã¥»¡¼¥¸¤Î°ìÈÖ¾®¤µ¤ÊÈÖ¹æ¤ÈÂ礤ÊÈÖ¹æ¤òµÏ¿¤·¤Æ¤¤¤Þ¤¹¡£
|
|
¤³¤ì¤Ë¤è¤ê¡¢
|
|
.Nm
|
|
¤Ï¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ë¤«¤É¤¦¤«¡¢¤¿¤À¤Á¤ËȽÄê¤Ç¤¤Þ¤¹¡£
|
|
.Pa bounds
|
|
¤ÎÆâÍƤ¬²õ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¤³¤È¤Ç¡¢¼¡²ó
|
|
.Fl s
|
|
¥ª¥×¥·¥ç¥óÉÕ¤¤Çµ¯Æ°¤µ¤ì¤¿¤È¤¤Ë¡¢¿·¤·¤¯
|
|
.Pa bounds
|
|
¤òºîÀ®¤·¤Þ¤¹¡£
|
|
.Nm
|
|
¤¬
|
|
.Fl s
|
|
°Ê³°¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤵ¤ì¤Æ¼Â¹Ô¤µ¤ì¤¿¾ì¹ç¡¢
|
|
.Pa /var/msgs/bounds
|
|
¤¬Â¸ºß¤·¤Ê¤¤¤È¥¨¥é¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
.Fl s
|
|
¥ª¥×¥·¥ç¥ó¤Ï¡¢¥á¥Ã¥»¡¼¥¸¤ÎÇÛÁ÷¤òÀßÄꤹ¤ë»þ¤Ë»È¤¤¤Þ¤¹¡£
|
|
.Pp
|
|
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&"
|
|
.Pp
|
|
¤È¤¤¤¦¹Ô¤ò
|
|
.Pa /etc/mail/aliases
|
|
¤ËÁÞÆþ¤·¤Æ (
|
|
.Xr newaliases 1
|
|
»²¾È)¡¢¥á¥Ã¥»¡¼¥¸¤òÅêÈ¡¤Ç¤¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fl c
|
|
¥ª¥×¥·¥ç¥ó¤Ï
|
|
.Pa /var/msgs
|
|
¤ò¥¯¥ê¥¢¤¹¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£
|
|
.Nm
|
|
¤ò
|
|
.Fl c
|
|
¤Ä¤¤Ç¼Â¹Ô¤¹¤ë¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Î¥¨¥ó¥È¥ê¤ò¡¢
|
|
.Pa /etc/periodic/daily
|
|
(
|
|
.Xr periodic 8
|
|
»²¾È)
|
|
¤Ëµ½Ò¤·¤Æ¡¢ËèÈռ¹Ԥ¹¤ë¤è¤¦¤Ë¤¹¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£
|
|
¤³¤ì¤Ç¡¢21 Æü¤è¤ê¸Å¤¤¥á¥Ã¥»¡¼¥¸¤ò¾Ã¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
¥Ç¥Õ¥©¥ë¥È¤ÎÆüÉÕ¤òÊѹ¹¤¹¤ë¤Ë¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
|
|
ËÜ¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¥¹¡¼¥Ñ¥æ¡¼¥¶¤Ç¤¢¤ë¤³¤È¤¬É¬ÍפǤ¹¡£
|
|
.Pp
|
|
¥á¥Ã¥»¡¼¥¸¤òÆɤà»þ¤Î¥ª¥×¥·¥ç¥ó¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹:
|
|
.Bl -tag -width Fl
|
|
.It Fl f
|
|
``No new messages.'' ¤òɽ¼¨¤·¤Þ¤»¤ó¡£¤³¤ì¤Ï¡¢
|
|
.Pa .login
|
|
¥Õ¥¡¥¤¥ë¤Ê¤É¤Ë
|
|
.Nm
|
|
¤ò½ñ¤¤¤Æ¤ª¤¯¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£
|
|
.It Fl q
|
|
¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ë¾ì¹ç¤Ë¡¢``There are new messages.'' ¤Èɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·
|
|
¤Þ¤¹¡£
|
|
.Pa .login
|
|
¥Õ¥¡¥¤¥ë¤Ê¤É¤Ë ``msgs \-q'' ¤È½ñ¤¤¤Æ¤ª¤¯¤ÈÊØÍø¤Ç¤¹¡£
|
|
.It Fl h
|
|
¥á¥Ã¥»¡¼¥¸¤ÎºÇ½é¤ÎÉôʬ¤À¤±¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Fl l
|
|
¥í¡¼¥«¥ë¤Ëºî¤é¤ì¤¿¥á¥Ã¥»¡¼¥¸¤À¤±¤òÊó¹ð¤·¤Þ¤¹¡£
|
|
.It Ar num
|
|
¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éÈÖ¹æ¤òÍ¿¤¨¤ë¤È¡¢
|
|
.Pa \&.msgsrc
|
|
¤ËµÏ¿¤µ¤ì¤Æ¤¤¤ëÈÖ¹æ¤ò»È¤ï¤º¤Ë¡¢»ØÄꤷ¤¿ÈÖ¹æ°Ê¹ß¤Î¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¤Ä¤Þ¤ê¡¢
|
|
.Pp
|
|
.Dl msgs \-h 1
|
|
.Pp
|
|
¤Ï¡¢¤¹¤Ù¤Æ¤Î¥á¥Ã¥»¡¼¥¸¤Î¤Ï¤¸¤á¤ÎÉôʬ¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Ar \-number
|
|
.Pa \&.msgsrc
|
|
¤ËµÏ¿¤µ¤ì¤Æ¤¤¤ëÈÖ¹æ¤è¤ê
|
|
.Ar number
|
|
ʬ¤À¤±Ìá¤Ã¤¿¥á¥Ã¥»¡¼¥¸¤«¤éɽ¼¨¤·¤Þ¤¹¡£ºÇ¶á¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤ë¤Î¤ËÊØÍø¤Ç¤¹¡£
|
|
.It Fl p
|
|
Ť¤¥á¥Ã¥»¡¼¥¸¤Ï¡¢
|
|
.Xr more 1
|
|
¤ò»È¤¤¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Nm
|
|
¤Î¥³¥Þ¥ó¥ÉÂÐÏå⡼¥É¤Î»þ¤Ë¡¢¥³¥Þ¥ó¥É¤ÎÂå¤ï¤ê¤ËÈÖ¹æ¤òÆþÎϤ¹¤ë¤³¤È¤Ç¡¢
|
|
»ØÄꤷ¤¿ÈÖ¹æ¤Î¥á¥Ã¥»¡¼¥¸¤Ë°ÜÆ°¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Sh ´Ä¶ÊÑ¿ô
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ÈüËö¥¿¥¤¥×¤òÃΤ뤿¤á¤Ë¡¢
|
|
.Ev HOME
|
|
¤È
|
|
.Ev TERM
|
|
¤ò»²¾È¤·¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /var/msgs/* -compact
|
|
.It Pa /var/msgs/*
|
|
¥á¥Ã¥»¡¼¥¸¥Ç¡¼¥¿¥Ù¡¼¥¹
|
|
.It Pa ~/.msgsrc
|
|
¼¡¤Î¥á¥Ã¥»¡¼¥¸ÈÖ¹æ¤òµÏ¿¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr mail 1 ,
|
|
.Xr more 1 ,
|
|
.Xr aliases 5 ,
|
|
.Xr periodic 8
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï¡¢
|
|
.Bx 3.0
|
|
¤«¤éÅо줷¤Þ¤·¤¿¡£
|