SHOW(1) — Unix Programmer’s Manual
NAME
show − show (list) messages
SYNOPSIS
show [ +folder ] [ msgs ] [ −pr ] [ −nopr ] [ −draft ] [ −help ] [ l or pr switches ]
DESCRIPTION
Show lists each of the specified messages to the standard output (typically, the terminal). The messages are listed exactly as they are, with no reformatting. A program called l is invoked to do the listing, and any switches not recognized by show are passed along to l.
If no “msgs” are specified, the current message is used. If more than one message is specified, l will prompt for a <return> prior to listing each message.
l will list each message, a page at a time. When the end of page is reached, l will ring the bell and wait for a <RETURN> or <CTRL-D>. If a <return> is entered, l will clear the screen before listing the next page, whereas <CTRL-D> will not. The switches to l are ‘−p#’ to indicate the page length in lines, and ‘−w#’ to indicate the width of the page in characters.
If the standard output is not a terminal, no queries are made, and each file is listed with a one-line header and two lines of separation.
If ‘−pr’ is specified, then pr(I) will be invoked rather than l, and the switches (other than ‘−draft’) will be passed along. “Show −draft” will list the file <mh-dir>/draft if it exists.
FILES
$HOME/mh_profileThe user profile
/bin/lScreen-at-a-time list program
/bin/prpr(1)
PROFILE COMPONENTS
Path:To determine the user’s MH directory
Current-Folder:To find the default current folder
DEFAULTS
‘+folder’ defaults to current
‘msgs’ defaults to cur
‘−nopr’
CONTEXT
If a folder is given, it will become the current message. The last message listed will become the current message.
4th Berkeley Distribution — 3 August 1983