1NEW(1) General Commands Manual NEW(1)
2
3
4
6 new - report on nmh folders with new messages
7 fnext - set current nmh folder to next folder with new messages
8 fprev - set current nmh folder to previous folder with new messages
9 unseen - scan any new messages in all nmh folders
10
12 new [-help] [-version] [sequences] [-mode mode] [-folders foldersfile]
13
14 fnext is equivalent to new -mode fnext
15
16 fprev is equivalent to new -mode fprev
17
18 unseen is equivalent to new -mode unseen
19
21 new, in its default mode, produces a one-line-per-folder listing of all
22 folders which contain messages in the specified sequences, or in the
23 sequence(s) listed in the profile entry “Unseen-Sequence”. Each line
24 consists of the folder name, the total number of messages in the speci‐
25 fied sequences, and a list of messages derived from the .mh_sequence
26 file. For example:
27
28 foo 11.* 40-50
29 bar 380. 760-772 824-828
30 total 391.
31
32 The `*' on foo indicates that it is the current folder. The last line
33 shows the total number of messages in the desired sequences.
34
35 new crawls the folder hierarchy recursively to find all folders, and
36 prints them in lexicographic order. Override this behavior by provid‐
37 ing a foldersfile containing the pre-sorted list of folders which new
38 should check, one per line.
39
40 In fnext and fprev modes, new changes to the next or previous matching
41 folder, respectively.
42
43 In unseen mode, new executes scan sequences for each matching folder.
44
46 $HOME/.mh_profile The user profile
47
49 Path: To determine the user's nmh directory.
50 Current-Folder: To find the default current folder.
51 Unseen-Sequence: The name of the unseen message sequence.
52
54 scan(1), mh-format(5)
55
56
57
58nmh-1.8 2009-01-17 NEW(1)