unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



prev(1)								      prev(1)



NAME

  prev - show the previous message (only available within the message han-
  dling	system,	mh)

SYNOPSIS

  prev [+folder] [-[no]header] [-help] [-showproc program] [-noshowproc]
  [options to showproc]

OPTIONS

  -header

  -noheader
      Displays a one-line header before	the message. The header	consists of
      the name of the folder and the message number. This is the default
      behavior.	It can be suppressed with the -noheader	option.

  -help
      Prints a list of the valid options to this command.

  -showproc program [ options ]

  -noshowproc
      Specifies	an alternative program to list messages. The default is	to
      use the program defined by the showproc: entry in	the .mh_profile	file.
      As with show, you	can give options to the	showproc program at the	com-
      mand line. These are passed directly to showproc by prev.

  The defaults for this	command	are:

       +folder	defaults to the	current	folder
       -header

DESCRIPTION

  The prev command displays the	previous message in the	current	folder.	 The
  previous message is the one before the current message in the	folder.	 The
  message that is shown	becomes	the current message.

  You can specify a folder other than the current folder by using the +folder
  argument. If you specify a folder, that becomes the current folder.

RESTRICTIONS

  The prev command is really a link to the show	program. As a result, if you
  make a link to prev and that link is not called prev,	your link will act
  like show instead. To	avoid this, add	a profile-entry	for the	link to	your
  MH profile and add the argument prev to the entry.




PROFILE	COMPONENTS

  Path:	To determine your Mail directory


  showproc: Program to show the	message

EXAMPLES

  The command in the following example displays	the previous message in	the
  folder +copylog:

       $ prev +copylog

FILES

  $HOME/.mh_profile
      The user profile.

SEE ALSO

  show(1), next(1)