version 1.8, 2000/03/05 00:28:58 |
version 1.9, 2000/03/10 19:07:22 |
|
|
.It Fl h |
.It Fl h |
Print the first part of messages only. |
Print the first part of messages only. |
.It Fl r |
.It Fl r |
Disables the ability to save messages or enter the mailer. It is |
Disables the ability to save messages or enter the mailer. |
assumed that the |
It is assumed that the |
.Ev PAGER |
.Ev PAGER |
environment is set to something secure. |
environment is set to something secure. |
.It Fl l |
.It Fl l |
|
|
.It Fl p |
.It Fl p |
Pipe long messages through the program specified by the |
Pipe long messages through the program specified by the |
.Ev PAGER |
.Ev PAGER |
environment variable. If |
environment variable. |
|
If |
.Ev PAGER |
.Ev PAGER |
is null or not defined, |
is null or not defined, |
.Xr more 1 |
.Xr more 1 |
|
|
Append the current message to the file |
Append the current message to the file |
.Pa Messages |
.Pa Messages |
in the current directory; |
in the current directory; |
`s\-' will save the previously displayed message. A `s' or `s\-' may |
.Sq s\- |
be followed by a space and a file name to receive the message replacing |
will save the previously displayed message. |
the default ``Messages''. |
An |
|
.Sq s |
|
or |
|
.Sq s\- |
|
may be followed by a space and a file name to receive the message replacing |
|
the default |
|
.Dq Messages . |
.It Ic m |
.It Ic m |
A copy of the specified message is placed in a temporary |
A copy of the specified message is placed in a temporary |
mailbox and |
mailbox and |
|
|
.It Ic p |
.It Ic p |
The specified message is piped through the program specified by the |
The specified message is piped through the program specified by the |
.Ev PAGER |
.Ev PAGER |
environment variable. If |
environment variable. |
|
If |
.Ev PAGER |
.Ev PAGER |
is not defined, |
is not defined, |
.Xr more 1 |
.Xr more 1 |
is used. |
is used. |
.El |
.El |
.Pp |
.Pp |
The commands `m', `p', and `s' all accept a numeric argument in place of the |
The commands |
|
.Ic m , |
|
.Ic p , |
|
and |
|
.Ic s |
|
all accept a numeric argument in place of the |
.Sq \&- . |
.Sq \&- . |
.Pp |
.Pp |
.Nm msgs |
.Nm msgs |
|
|
.Pp |
.Pp |
The |
The |
.Fl s |
.Fl s |
option is used for setting up the posting of messages. The line |
option is used for setting up the posting of messages. |
|
The line |
.Pp |
.Pp |
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&" |
.Dl msgs: \&"\&| /usr/bin/msgs \-s\&" |
.Pp |
.Pp |
|
|
.Fl c |
.Fl c |
option should be placed in |
option should be placed in |
.Pa /etc/crontab |
.Pa /etc/crontab |
to run every night. This will remove all messages over 21 days old. |
to run every night. |
|
This will remove all messages over 21 days old. |
A different expiration may be specified on the command line to override |
A different expiration may be specified on the command line to override |
the default. |
the default. |
.Pp |
.Pp |
|
|
and |
and |
.Ev TERM |
.Ev TERM |
environment variables for the default home directory and |
environment variables for the default home directory and |
terminal type. If defined and non-null, the |
terminal type. |
|
If defined and non-null, the |
.Ev PAGER |
.Ev PAGER |
variable is invoked as the pagination program. |
variable is invoked as the pagination program. |
.Sh FILES |
.Sh FILES |