summaryrefslogtreecommitdiff
path: root/usr.bin/msgs/msgs.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/msgs/msgs.1')
-rw-r--r--usr.bin/msgs/msgs.134
1 files changed, 18 insertions, 16 deletions
diff --git a/usr.bin/msgs/msgs.1 b/usr.bin/msgs/msgs.1
index 4aa9330658c..2506be953fa 100644
--- a/usr.bin/msgs/msgs.1
+++ b/usr.bin/msgs/msgs.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgs.1,v 1.2 1996/06/26 05:37:17 deraadt Exp $
+.\" $OpenBSD: msgs.1,v 1.3 1998/09/26 19:55:10 aaron Exp $
.\" $NetBSD: msgs.1,v 1.5 1995/09/28 06:57:39 tls Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -51,14 +51,14 @@
.Op Fl c
.Op \-days
.Sh DESCRIPTION
-.Nm Msgs
+.Nm msgs
is used to read system messages.
These messages are
sent by mailing to the login `msgs' and should be short
pieces of information which are suitable to be read once by most users
of the system.
.Pp
-.Nm Msgs
+.Nm msgs
is normally invoked each time you login, by placing it in the file
.Pa .login
(or
@@ -72,38 +72,39 @@ If there is more to the message, you will be told how
long it is and asked whether you wish to see the rest of the message.
The possible responses are:
.Bl -tag -width Fl
-.It Fl y
+.It Ic y
Type the rest of the message.
.It Ic RETURN
-Synonym for y.
-.It Fl n
+Synonym for
+.Ic y .
+.It Ic n
Skip this message
and go on to the next message.
-.It Fl
+.It Ic \&-
Redisplay the last message.
-.It Fl q
+.It Ic q
Drop out of
.Nm msgs ;
the next time
.Nm msgs
will pick up where it last left off.
-.It Fl s
+.It Ic s
Append the current message to the file ``Messages'' in the current directory;
`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
the default ``Messages''.
-.It Fl m
+.It Ic m
A copy of the specified message is placed in a temporary
mailbox and
.Xr mail 1
is invoked on that mailbox.
-.It Fl p
+.It Ic p
The specified message is piped through $PAGER, or, if $PAGER is not defined,
.Xr more 1 .
The commands `m', `p', and `s' all accept a numeric argument in place of the `\-'.
.El
.Pp
-.Nm Msgs
+.Nm msgs
keeps track of the next message you will see by a number in the file
.Pa \&.msgsrc
in your home directory.
@@ -140,7 +141,7 @@ to enable posting of messages.
The
.Fl c
option is used for performing cleanup on
-.Pa /var/msgs.
+.Pa /var/msgs .
An entry with the
.Fl c
option should be placed in
@@ -166,7 +167,7 @@ Print the first part of messages only.
Disables the ability to save messages or enter the mailer. It is
assumed that $PAGER is set to something secure.
.It Fl l
-Option causes only locally originated messages to be reported.
+Causes only locally originated messages to be reported.
.It Ar num
A message number can be given
on the command line, causing
@@ -197,7 +198,7 @@ you can also go to any specific message by typing its number when
.Nm msgs
requests input as to what to do.
.Sh ENVIRONMENT
-.Nm Msgs
+.Nm msgs
uses the
.Ev HOME
and
@@ -215,7 +216,8 @@ number of next message to be presented
.Xr aliases 5 ,
.\".Xr crontab 5 ,
.Xr mail 1 ,
-.Xr more 1
+.Xr more 1 ,
+.Xr aliases 5
.Sh HISTORY
The
.Nm msgs