4.3BSD-UWisc/man/catl/next.l




NEXT(1)             UNIX Programmer's Manual              NEXT(1)



NAME
     next - show the next message

SYNOPSIS
     next [+folder] [-header] [-noheader] [-showproc program]
          [-noshowproc] [switches for _s_h_o_w_p_r_o_c] [-help]
9     _N_e_x_t performs a _s_h_o_w on the next message in the specified
     (or current) folder.  Like _s_h_o_w, it passes any switches on
     to the program _s_h_o_w_p_r_o_c, which is called to list the mes-
     sage.  This command is almost exactly equivalent to "show
     next".  Consult the manual entry for _s_h_o_w (1) for all the
     details.

FILES
     $HOME/.mh_profile                  The user profile

PROFILE COMPONENTS
     Path:                To determine the user's MH directory
     Current-Folder:      To find the default current folder
     showproc:            Program to show the message

SEE ALSO
     show(1), prev(1)

DEFAULTS
     `+folder' defaults to the current folder
     `-format'
     `-header'

CONTEXT
     If a folder is specified, it will become the current folder.
     The message that is shown (i.e., the next message in
     sequence) will become the current message.

BUGS
     _n_e_x_t is really a link to the _s_h_o_w program.  As a result, if
     you make a link to _n_e_x_t and that link is not called _n_e_x_t,
     your link will act like _s_h_o_w instead.  To circumvent this,
     add a profile-entry for the link to your _M_H profile and add
     the argument _n_e_x_t to the entry.











9


Printed 1/10/87                MH                               1