1NMH(1)                             [nmh-1.3]                            NMH(1)
2
3
4

NAME

6       nmh - new MH message system
7

SYNOPSIS

9       any nmh command
10

DESCRIPTION

12       nmh  is  the  name  of a powerful message handling system.  Rather than
13       being a single comprehensive program, nmh consists of a  collection  of
14       fairly  simple  single-purpose  programs  to  send, retrieve, save, and
15       manipulate messages.
16
17       Unlike most mail clients in UNIX, nmh is not a closed system which must
18       be  explicitly  run,  then exited when you wish to return to the shell.
19       You may freely intersperse nmh  commands  with  other  shell  commands,
20       allowing  you to read and answer your mail while you have (for example)
21       a compilation running, or search for a file or run programs  as  needed
22       to find the answer to someone's question before answering their mail.
23
24       The  rest of this manual entry is a quick tutorial which will teach you
25       the basics of nmh.  You should read the manual entries for the individ‐
26       ual programs for complete documentation.
27
28       To  get  started  using  nmh, put the directory /usr/bin on your $PATH.
29       This is best done in one of the files: .profile,  .login,  .bashrc,  or
30       .cshrc  in  your home directory.  (Check the manual entry for the shell
31       you use, in case you don't know how to do this.)   Run  the  install-mh
32       command.  If you've never used nmh before, it will create the necessary
33       default files and directories after asking you if you wish it to do so.
34
35       inc moves mail from your system maildrop into your nmh `+inbox' folder,
36       breaking  it  up into separate files and converting it to nmh format as
37       it goes.  It prints one line for each message it processes,  containing
38       the  from field, the subject field and as much of the first line of the
39       message as will fit.  It leaves the first message it processes as  your
40       current message.  You'll need to run inc each time you wish to incorpo‐
41       rate new mail into your nmh file.
42
43       scan prints a list of the messages in your current folder.
44
45       The commands: show, next, and prev are used to read  specific  messages
46       from  the current folder.  show displays the current message, or a spe‐
47       cific message, which may be specified by its number, which you pass  as
48       an  argument to show.  next and prev display, respectively, the message
49       numerically after or before the current message.   In  all  cases,  the
50       message  displayed becomes the current message.  If there is no current
51       message, show may be called with an argument, or next may  be  used  to
52       advance to the first message.
53
54       rmm  (remove  message)  deletes  the current message.  It may be called
55       with message numbers passed as arguments, to delete specific messages.
56
57       repl is used to respond to the current message (by default).  It places
58       you  in the editor with a prototype response form.  While you're in the
59       editor, you may peruse the item you're responding  to  by  reading  the
60       file @.  After completing your response, type l to list (review) it, or
61       s to send it.
62
63       comp allows you to compose a message by putting you in the editor on  a
64       prototype message form, and then lets you send it.
65
66       All  the nmh commands may be run with the single argument: -help, which
67       causes them to print a list of the arguments they may be  invoked  with
68       and then exit.
69
70       All  the  nmh  commands  may be run with the single argument: -version,
71       which cause them to print the version number of the  nmh  distribution,
72       and then exit.
73
74       Commands which take a message number as an argument ( scan, show, repl,
75       ...)  also take one of the words: “first”, “prev”,  “cur”,  “next”,  or
76       “last”  to  indicate (respectively) the first, previous, current, next,
77       or last message in the current folder (assuming they are defined).
78
79       Commands which take a range of message numbers ( rmm, scan, show,  ...)
80       also take any of the abbreviations:
81
82            <num1>-<num2>  Indicates  all  messages  in  the  range  <num1> to
83                           <num2>, inclusive. The range must be nonempty.
84
85            <num>:+N
86
87            <num>:-N       Up to N messages beginning with  (or  ending  with)
88                           message  num.   Num  may  be any of the pre-defined
89                           symbols: first, prev, cur, next or last.
90
91            first:N
92
93            prev:N
94
95            next:N
96
97            last:N         The first, previous, next or last messages, if they
98                           exist.
99
100       There  are  many  other possibilities such as creating multiple folders
101       for different topics, and automatically refiling messages according  to
102       subject,  source,  destination, or content.  These are beyond the scope
103       of this manual entry.
104
105       Following is a list of all the nmh commands:
106
107            ali(1)         - list mail aliases
108            anno(1)        - annotate messages
109            burst(1)       - explode digests into messages
110            comp(1)        - compose a message
111            dist(1)        - redistribute a message to additional addresses
112            flist(1)       - list folders with messages in given sequence(s)
113            flists(1)      - list all folders with messages in given sequence(s)
114            folder(1)      - set/list current folder/message
115            folders(1)     - list all folders
116            forw(1)        - forward messages
117            inc(1)         - incorporate new mail
118            mark(1)        - mark messages
119            mhbuild(1)     - translate MIME composition draft
120            mhl(1)         - produce formatted listings of nmh messages
121            mhlist(1)      - list information about content of MIME messages
122            mhmail(1)      - send or read mail
123            mhn(1)         - display/list/store/cache MIME messages
124            mhparam(1)     - print nmh profile components
125            mhpath(1)      - print full pathnames of nmh messages and folders
126            mhshow(1)      - display MIME messages
127            mhstore(1)     - store contents of MIME messages into files
128            msgchk(1)      - check for messages
129            msh(1)         - nmh shell(and BBoard reader)
130            next(1)        - show the next message
131            packf(1)       - compress a folder into a single file
132            pick(1)        - select messages by content
133            prev(1)        - show the previous message
134            prompter(1)    - prompting editor front end
135            rcvdist(1)     - asynchronously redistribute new mail
136            rcvpack(1)     - append message to file
137            rcvstore(1)    - asynchronously incorporate new mail
138            rcvtty(1)      - report new mail
139            refile(1)      - file messages in other folders
140            repl(1)        - reply to a message
141            rmf(1)         - remove folder
142            rmm(1)         - remove messages
143            scan(1)        - produce a one line per message scan listing
144            send(1)        - send a message
145            sendfiles(1)   - send multiple files and directories in MIME message
146            show(1)        - show(display) messages
147            slocal(1)      - asynchronously filter and deliver new mail
148            sortm(1)       - sort messages
149            whatnow(1)     - prompting front-end for send
150            whom(1)        - report to whom a message would go
151
152            mh-alias(5)    - alias file for nmh message system
153            mh-draft(5)    - draft folder facility
154            mh-format(5)   - format file for nmh message system
155            mh-mail(5)     - message format for nmh message system
156            mh-profile(5)  - user customization for nmh message system
157            mh-sequence(5) - sequence specification for nmh message system
158            mh-tailor(5)   - mail transport customization for nmh message system
159
160            ap(8)          - parse addresses 822-style
161            conflict(8)    - search for alias/password conflicts
162            dp(8)          - parse dates 822-style
163            fmtdump(8)     - decode nmh format files
164            install-mh(8)  - initialize the nmh environment
165            post(8)        - deliver a message
166
167

FILES

169       /usr/bin                   contains nmh commands
170       /etc/nmh                   contains nmh format files
171       /usr/libexec/nmh           contains nmh library commands
172       $HOME/.mh_profile          The user profile
173
174

PROFILE COMPONENTS

176       Path:                To determine the user's nmh directory
177
178

BUGS

180       If problems are encountered with an nmh program, the problems should be
181       reported to the local maintainers of nmh.  When doing this, the name of
182       the program should be reported, along with the version information  for
183       the program.
184       To  find  out  what  version of an nmh program is being run, invoke the
185       program with the -version switch.  This information includes  the  ver‐
186       sion of nmh, the host it was generated on, and the date the program was
187       loaded.
188
189       Send bug reports and suggestions to nmh-workers@nongnu.org.
190

SEE ALSO

192       mh-chart(1)
193
194
195
196MH.6.8                            1 June 2008                           NMH(1)
Impressum