version 1.7, 1999/06/10 22:38:03 |
version 1.8, 2000/03/05 00:28:58 |
|
|
.Nm msgs |
.Nm msgs |
is used to read system messages. |
is used to read system messages. |
These messages are |
These messages are |
sent by mailing to the login `msgs' and should be short |
sent by mailing to the login |
|
.Dq msgs |
|
and should be short |
pieces of information which are suitable to be read once by most users |
pieces of information which are suitable to be read once by most users |
of the system. |
of the system. |
.Pp |
.Pp |
The options available are as follows: |
The options are as follows: |
.Bl -tag -width Fl |
.Bl -tag -width Fl |
.It Fl f |
.It Fl f |
Do not say ``No new messages.'' |
Do not say |
|
.Dq \&No new messages. |
This is useful in a |
This is useful in a |
.Pa .login |
.Pa .login |
file since this is often the case here. |
file since this is often the case here. |
.It Fl q |
.It Fl q |
Queries whether there are messages, printing |
Queries whether there are messages, printing |
``There are new messages.'' if there are. |
.Dq There are new messages. |
The command ``msgs \-q'' is often used in login scripts. |
if there are. |
|
The command |
|
.Ic msgs \-q |
|
is often used in login scripts. |
.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 |
|
|
.Nm msgs |
.Nm msgs |
will pick up where it last left off. |
will pick up where it last left off. |
.It Ic s |
.It Ic s |
Append the current message to the file ``Messages'' in the current directory; |
Append the current message to the file |
|
.Pa Messages |
|
in the current directory; |
`s\-' will save the previously displayed message. A `s' or `s\-' may |
`s\-' will save the previously displayed message. A `s' or `s\-' may |
be followed by a space and a file name to receive the message replacing |
be followed by a space and a file name to receive the message replacing |
the default ``Messages''. |
the default ``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 |
.Xr mail 1 |
.Xr mail 1 |
is invoked on that mailbox. |
is invoked on that mailbox. |
.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 |