]> diplodocus.org Git - nmh/blob - docs/historical/2.9BSD/man/scan.1
Added test of encoded Resent-To: and Resent-cc:.
[nmh] / docs / historical / 2.9BSD / man / scan.1
1 .SC SCAN
2 .TH SCAN 1 "3 August 1983"
3 .UC 4
4 .SH NAME
5 scan \- produce a one-line-per-message scan listing
6 .SH SYNOPSIS
7 .B scan
8 [ +folder ] [ msgs ] [ \-ff ] [ \-header ] [ \-help ]
9 [ \-noff ] [ \-noheader ]
10 .SH DESCRIPTION
11 \fIScan\fR produces a one-line-per-message listing of the specified
12 messages.
13 Each \fIscan\fR line contains the message number (name),
14 the date, the \*(lqFrom\*(rq field, the \*(lqSubject\*(rq field, and, if room
15 allows, some of the body of the message.
16 For example:
17 .nf
18
19 .ta .5i 1.2i 2.6i
20 ^ #~^^Date~^^ From~^Subject\ \ \ \ \[\*(<<Body]
21 ^15+~^^7/\05~^^Dcrocker~^nned \*(<<Last week I asked some of
22 ^16\ \-~^^7/\05~^^dcrocker~^message id format \*(<<I recommend
23 ^18~^^7/\06~^^Obrien~^Re: Exit status from mkdir
24 ^19~^^7/\07~^^Obrien~^"scan" listing format in MH
25 .re
26
27 .fi
28 The `+' on message 15 indicates that it is the current message.
29 The `\-' on message 16 indicates that it has been
30 replied to, as indicated by a \*(lqReplied:\*(rq component produced by
31 an `\-annotate' switch to the \fIrepl\fR command.
32 .PP
33 If there is sufficient room left on the \fIscan\fR line after the
34 subject, the line will be filled with text from the body,
35 preceded by \*(<<.
36 \fIScan\fR actually reads each of the specified
37 messages and parses them to extract the desired fields.
38 During parsing, appropriate error messages will be produced if
39 there are format errors in any of the messages.
40 .PP
41 The `\-header' switch produces a header line prior to the \fIscan\fR
42 listing, and the `\-f\&f' switch will cause a form feed to be
43 output at the end of the \fIscan\fR listing.
44 .SH FILES
45 .nf
46 .ta \w'$HOME/\*.mh\(ruprofile 'u
47 ^$HOME/\*.mh\(ruprofile~^The user profile
48 .fi
49 .SH "PROFILE COMPONENTS"
50 .nf
51 .ta \w'Current-Folder: 'u
52 Path: To determine the user's MH directory
53 Current-Folder: To find the default current folder
54 .fi
55 .SH DEFAULTS
56 .nf
57 `+folder' defaults to current
58 `msgs' defaults to all
59 `\-nof\&f'
60 `\-noheader'
61 .fi
62 .SH CONTEXT
63 If a folder is given, it will become current.
64 The current message is unaffected.