[BACK]Return to msgs.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / msgs

Diff for /src/usr.bin/msgs/Attic/msgs.1 between version 1.4 and 1.5

version 1.4, 1998/11/20 02:52:24 version 1.5, 1999/05/13 12:59:29
Line 58 
Line 58 
 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:
   .Bl -tag -width Fl
   .It Fl f
   Do not say ``No new messages.''.
   This is useful in a
   .Pa .login
   file since this is often the case here.
   .It Fl q
   Queries whether there are messages, printing
   ``There are new messages.'' if there are.
   The command ``msgs \-q'' is often used in login scripts.
   .It Fl h
   Print the first part of messages only.
   .It Fl r
   Disables the ability to save messages or enter the mailer.  It is
   assumed that the
   .Ev PAGER
   environment is set to something secure.
   .It Fl l
   Causes only locally originated messages to be reported.
   .It Ar num
   A message number can be given
   on the command line, causing
 .Nm msgs  .Nm msgs
   to start at the specified message rather than at the next message
   indicated by your
   .Pa \&.msgsrc
   file.
   Thus
   .Pp
   .Dl msgs \-h 1
   .Pp
   prints the first part of all messages.
   .It Ar \-number
   Start
   .Ar number
   messages back from the one indicated in the
   .Pa \&.msgsrc
   file, useful for reviews of recent messages.
   .It Fl p
   Pipe long messages through the program specified by the
   .Ev PAGER
   environment variable. If
   .Ev PAGER
   is not defined,
   .Xr more 1
   is used.
   .El
   .Pp
   .Nm msgs
 is normally invoked each time you login, by placing it in the file  is normally invoked each time you login, by placing it in the file
 .Pa .login  .Pa .login
 (or  (or
Line 99 
Line 148 
 .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 $PAGER, or, if $PAGER is not defined,  The specified message is piped through the program specified by the
 .Xr more 1  .  .Ev PAGER
 The commands `m', `p', and `s' all accept a numeric argument in place of the `\-'.  environment variable. If
   .Ev PAGER
   is not defined,
   .Xr more 1
   is used.
 .El  .El
 .Pp  .Pp
   The commands `m', `p', and `s' all accept a numeric argument in place of the
   .Sq \&- .
   .Pp
 .Nm msgs  .Nm msgs
 keeps track of the next message you will see by a number in the file  keeps track of the next message you will see by a number in the file
 .Pa \&.msgsrc  .Pa \&.msgsrc
Line 150 
Line 206 
 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
 Options when reading messages include:  
 .Bl -tag -width Fl  
 .It Fl f  
 Do not to say ``No new messages.''.  
 This is useful in a  
 .Pa .login  
 file since this is often the case here.  
 .It Fl q  
 Queries whether there are messages, printing  
 ``There are new messages.'' if there are.  
 The command ``msgs \-q'' is often used in login scripts.  
 .It Fl h  
 Print the first part of messages only.  
 .It Fl r  
 Disables the ability to save messages or enter the mailer.  It is  
 assumed that $PAGER is set to something secure.  
 .It Fl l  
 Causes only locally originated messages to be reported.  
 .It Ar num  
 A message number can be given  
 on the command line, causing  
 .Nm msgs  
 to start at the specified message rather than at the next message  
 indicated by your  
 .Pa \&.msgsrc  
 file.  
 Thus  
 .Pp  
 .Dl msgs \-h 1  
 .Pp  
 prints the first part of all messages.  
 .It Ar \-number  
 Start  
 .Ar number  
 messages back from the one indicated in the  
 .Pa \&.msgsrc  
 file, useful for reviews of recent messages.  
 .It Fl p  
 Pipe long messages through $PAGER, or, if $PAGER is not defined,  
 .Xr more  1  .  
 .El  
 .Pp  
 Within  Within
 .Nm msgs  .Nm msgs
 you can also go to any specific message by typing its number when  you can also go to any specific message by typing its number when
Line 204 
Line 218 
 and  and
 .Ev TERM  .Ev TERM
 environment variables for the default home directory and  environment variables for the default home directory and
 terminal type.  terminal type. If defined, the program specified by the
   .Ev PAGER
   variable is invoked as the pagination program.
 .Sh FILES  .Sh FILES
 .Bl -tag -width /var/msgs/* -compact  .Bl -tag -width /var/msgs/* -compact
 .It Pa /var/msgs/*  .It Pa /var/msgs/*
Line 213 
Line 229 
 number of next message to be presented  number of next message to be presented
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr aliases 5 ,  
 .\".Xr crontab 5 ,  
 .Xr mail 1 ,  .Xr mail 1 ,
 .Xr more 1 ,  .Xr more 1 ,
   .Xr newaliases 1 ,
 .Xr aliases 5  .Xr aliases 5
   .\".Xr crontab 5 ,
 .Sh HISTORY  .Sh HISTORY
 The  The
 .Nm msgs  .Nm msgs

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5