Produces a one line per message scan listing.
scan [ +Folder ] [ Messages ] [ -form FormFile | -format String ] [ -noheader | -header ] [ -clear | -noclear ] [ -help ]
The scan command displays a line of information about the messages in a specified folder. Each line gives the message number, date, sender, subject, and as much of the message body as possible. By default, the scan command displays information about all of the messages in the current folder.
If a + (plus sign) is displayed after the message number, the message is the current message in the folder. If a - (minus sign) is displayed, you have replied to the message. If an * (asterisk) is displayed after the date, the Date: field was not present and the displayed date is the last date the message was changed.
The following entries are entered in the UserMhDirectory/.mh_profile file:
Alternate-Mailboxes: | Specifies the mailboxes. |
Current-Folder: | Sets the default current folder. |
Path: | Specifies the UserMhDirectory. |
scanThe system responds with a message similar to the following:
3 04/17 dale@athena Status meeting <<The weekly status meeting 5 04/20 tom@venus Due Dates <<Your project is due to 6 04/21 dawn@tech Writing Clas <<There will be a writing
scan +test 11-15The system responds with a message similar to the following:
11 04/16 karen@anchor Meeting <<Today's meeting is at 2 p.m. 12 04/18 tom@venus Luncheon <<There will be a luncheon to 14 04/20 dale@athena First Draft <<First drafts are due 15 04/21 geo@gtwn Examples <<The examples will be written
$HOME/.mh_profile | Contains the MH user profile. |
/etc/mh/scan.size | Contains a sample scan format string. |
/etc/mh/scan.time | Contains a sample scan format string. |
/etc/mh/scan.timely | Contains a sample scan format string. |
/usr/bin/scan | Contains the executable form of the scan command. |
The inc command, pick command, show command.
The .mh_alias file format, .mh_profile file format.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.