File: new.man

package info (click to toggle)
nmh 1.6-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,204 kB
  • ctags: 3,851
  • sloc: ansic: 48,922; sh: 16,422; makefile: 559; perl: 509; lex: 402; awk: 74
file content (101 lines) | stat: -rw-r--r-- 2,071 bytes parent folder | download | duplicates (2)
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% "January 17, 2009" "%nmhversion%"
.\"
.\" %nmhwarning%
.\"
.SH NAME
new \- report on folders with new messages
.PP
fnext \- set current folder to next folder with new messages
.PP
fprev \- set current folder to previous folder with new messages
.PP
unseen \- scan new messages in all folders with new messages
.SH SYNOPSIS
.HP 5
.na
.B new
.RI [ sequences ]
.RB [ \-mode
.IR mode ]
.RB [ \-folders
.IR foldersfile ]
.RB [ \-version ]
.RB [ \-help ]
.PP
.HP 5
.B fnext
is equivalent to
.B new \-mode fnext
.PP
.HP 5
.B fprev
is equivalent to
.B new \-mode fprev
.PP
.HP 5
.B unseen
is equivalent to
.B new \-mode unseen
.ad
.SH DESCRIPTION
.B New
in its default mode produces a one\-line\-per\-folder listing of all
folders containing messages in the listed
.IR sequences
or in the sequences listed in the profile entry
.RI \*(lq Unseen-Sequence \*(rq.
Each line contains the folder, the number of messages in the desired
sequences, and the message lists from the .mh_sequences 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
.IR foldersfile
containing the pre-sorted list of folders
.B new
should check, one per line.
.PP
In
.B fnext
and
.B fprev
modes,
.B new
instead changes to the next or previous matching folder, respectively.
.PP
In
.B unseen
mode,
.B new
executes
.B scan sequences
for each matching folder.
.SH FILES
.fc ^ ~
.nf
.ta \w'%etcdir%/ExtraBigFileName  'u
^$HOME/\&.mh\(ruprofile~^The user profile
.fi
.SH "PROFILE COMPONENTS"
.fc ^ ~
.nf
.ta 2.4i
.ta \w'ExtraBigProfileName  'u
^Path:~^To determine the user's nmh directory
^Current\-Folder:~^To find the default current folder
^Unseen-Sequence:~^The name of the unseen message sequence
.fi
.SH "SEE ALSO"
.IR scan (1),
.IR mh\-format (5)