]> diplodocus.org Git - nmh/blob - man/next.man
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / man / next.man
1 .TH NEXT %manext1% 1999-04-30 "%nmhversion%"
2 .
3 .\" %nmhwarning%
4 .
5 .SH NAME
6 next \- show the next nmh message
7 .SH SYNOPSIS
8 .HP 5
9 .na
10 .B next
11 .RB [ \-help ]
12 .RB [ \-version ]
13 .RI [ +folder ]
14 .RB [ \-showproc
15 .IR program ]
16 .RB [ \-showmimeproc
17 .IR program ]
18 .RB [ \-header " | " \-noheader ]
19 .RB [ \-checkmime " | " \-nocheckmime ]
20 [switches\ for
21 .I showproc
22 or
23 .IR showmimeproc ]
24 .ad
25 .SH DESCRIPTION
26 .B next
27 performs a
28 .B show
29 on the next message in the specified
30 (or current) folder. Like
31 .BR show ,
32 it passes any switches on to
33 the program
34 .I showproc
35 or
36 .IR showmimeproc ,
37 which is called to list
38 the message. This command is almost exactly equivalent to
39 .RB \*(lq show
40 .BR next \*(rq.
41 Consult the manual entry for
42 .IR show (1)
43 for all the
44 details.
45 .SH FILES
46 .TP 20
47 $HOME/.mh_profile
48 The user profile
49 .SH "PROFILE COMPONENTS"
50 .PD 0
51 .TP 20
52 Path:
53 To determine the user's nmh directory
54 .TP 20
55 Current\-Folder:
56 To find the default current folder
57 .TP 20
58 showproc:
59 Program to show non-MIME messages
60 .TP 20
61 showmimeproc:
62 Program to show MIME messages
63 .PD
64 .SH "SEE ALSO"
65 .IR prev (1),
66 .IR show (1)
67 .SH DEFAULTS
68 .PD 0
69 .TP 20
70 +folder
71 The current folder.
72 .TP 20
73 \-checkmime
74 .TP 20
75 \-header
76 .PD
77 .SH CONTEXT
78 If a folder is specified, it will become the current folder. The message
79 that is shown (i.e., the next message in sequence) will become the
80 current message.
81 .SH BUGS
82 .B next
83 is really a link to the
84 .B show
85 program. As a result, if
86 you make a link to
87 .B next
88 and that link is not called
89 .BR next ,
90 your link will act like
91 .B show
92 instead. To circumvent this, add a
93 profile-entry for the link to your
94 .B nmh
95 profile and add the argument
96 .I next
97 to the entry.