File: new.man

package info (click to toggle)
nmh 1.8-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,860 kB
  • sloc: ansic: 50,445; sh: 22,697; makefile: 1,138; lex: 740; perl: 509; yacc: 265
file content (101 lines) | stat: -rw-r--r-- 2,007 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.TH NEW %manext1% 2009-01-17 "%nmhversion%"
.
.\" %nmhwarning%
.
.SH NAME
new \- report on nmh folders with new messages
.br
fnext \- set current nmh folder to next folder with new messages
.br
fprev \- set current nmh folder to previous folder with new messages
.br
unseen \- scan any new messages in all nmh folders
.SH SYNOPSIS
.HP 5
.na
.B new
.RB [ \-help ]
.RB [ \-version ]
.RI [ sequences ]
.RB [ \-mode
.IR mode ]
.RB [ \-folders
.IR foldersfile ]
.HP 5
.B fnext
is equivalent to
.B new \-mode fnext
.HP 5
.B fprev
is equivalent to
.B new \-mode fprev
.HP 5
.B unseen
is equivalent to
.B new \-mode unseen
.ad
.SH DESCRIPTION
.BR new ,
in its default mode, produces a one-line-per-folder listing of all
folders which contain messages in the specified
.IR sequences ,
or in the sequence(s) listed in the profile entry
.RI \*(lq Unseen-Sequence \*(rq.
Each line consists of the folder name, the total number of messages
in the specified sequences, and a list of messages derived from the
\&.mh_sequence file.  For example:
.PP
.RS 5
.nf
foo     11.* 40\-50
bar    380.  760\-772 824\-828
 total    391.
.fi
.RE
.PP
The `*' on foo indicates that it is the current folder.  The last line shows
the total number of messages in the desired sequences.
.PP
.B new
crawls the folder hierarchy recursively to find all folders, and prints them
in lexicographic order.  Override this behavior by providing a
.I foldersfile
containing the pre-sorted list of folders which
.B new
should check, one per line.
.PP
In
.B fnext
and
.B fprev
modes,
.B new
changes to the next or previous matching folder, respectively.
.PP
In
.B unseen
mode,
.B new
executes
.B scan
.I sequences
for each matching folder.
.SH FILES
.TP 20
$HOME/.mh_profile
The user profile
.SH "PROFILE COMPONENTS"
.PD 0
.TP 20
Path:
To determine the user's nmh directory.
.TP 20
Current\-Folder:
To find the default current folder.
.TP 20
Unseen-Sequence:
The name of the unseen message sequence.
.PD
.SH "SEE ALSO"
.IR scan (1),
.IR mh\-format (5)