* Move sendfiles from libdir to bindir.
* Updated sendfiles manpage to reflect this change.
* Added documentation for -build and -file switches to repl and
forw manpages (patch from Peter Maydell).
* Fixed interaction between specifying -cc in profile and -group on
command-line.
+Sun Jan 2 23:42:18 2000 Ruud de Rooij <ruud@ruud.org>
+
+ * Move mhtest from bindir to libdir.
+
+ * Move sendfiles from libdir to bindir.
+
+ * Updated sendfiles manpage to reflect this change.
+
+ * Added documentation for -build and -file switches to repl and
+ forw manpages (patch from Peter Maydell).
+
+ * Fixed interaction between specifying -cc in profile and -group on
+ command-line.
+
Tue Nov 1 13:48:10 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
* Changed the version number from 1.0.3 to 1.0.2+dev. There was
done
install-scripts:
- $(top_srcdir)/mkinstalldirs $(libdir)
+ $(top_srcdir)/mkinstalldirs $(bindir)
for script in $(SCRIPTS); do \
- $(INSTALL_PROGRAM) $(srcdir)/$$script $(libdir)/$$script; \
+ $(INSTALL_PROGRAM) $(srcdir)/$$script $(bindir)/$$script; \
done
uninstall: uninstall-files uninstall-scripts
uninstall-scripts:
for script in $(SCRIPTS); do \
- rm -f $(libdir)/$$script; \
+ rm -f $(bindir)/$$script; \
done
# ========== DEPENDENCIES FOR CLEANUP ==========
\%[\-whatnowproc\ program] \%[\-nowhatnowproc]
.br
\%[\-dashstuffing] \%[\-nodashstuffing]
+.br
+\%[\-build]
+\%[\-file msgfile]
+.br
\%[\-version]
\%[\-help]
program which starts the initial edit. Hence, `\-nowhatnowproc' will
prevent any edit from occurring.)
+The `\-build' switch is intended to be used by the Emacs mh-e interface
+to \fInmh\fR, and is only present if \fInmh\fR was compiled with support
+for mh-e. It implies `\-nowhatnowproc'. It causes a file <mh\-dir>/draft
+to be created, containing the draft message that would normally be presented
+to the user for editing.
+No mail is actually sent. Note that this switch is not guaranteed to
+be present or to have the same effects in future versions of \fInmh\fR:
+it is documented here only for completeness.
+
+The `\-file\ msgfile' switch specifies the message to be forwarded as an
+exact filename rather than as an \fInmh\fR folder and message number. It is
+intended to be used by the \fImsh\fR\0(1) interface to \fInmh\fR.
+This switch implies `-noannotate'. The forwarded message is simply
+copied verbatim into the draft; the processing implied by
+the `-filter', `-mime' and `-digest' switches is bypassed, and the
+usual leading and trailing 'Forwarded Message' delimiters are not
+added.
+The same caveats apply to this option as to the `\-build' switch.
+
The `\-digest\ list', `\-issue\ number', and `\-volume\ number' switches
implement a digest facility for \fInmh\fR. Specifying these switches
enables and/or overloads the following escapes:
.br
\%[\-whatnowproc\ program] \%[\-nowhatnowproc]
.br
+\%[\-build]
+\%[-file msgfile]
+.br
\%[\-version]
\%[\-help]
.in -.5i
program which starts the initial edit. Hence, `\-nowhatnowproc' will
prevent any edit from occurring.)
+The `\-build' switch is intended to be used by the Emacs mh-e interface
+to \fInmh\fR, and is only present if \fInmh\fR was compiled with support
+for mh-e. It implies `\-nowhatnowproc'. It causes a file <mh\-dir>/reply
+to be created, containing the draft message that would normally be presented
+to the user for editing.
+No mail is actually sent. Note that this switch is not guaranteed to
+be present or to have the same effects in future versions of \fInmh\fR:
+it is documented here only for completeness.
+
+The `\-file\ msgfile' switch specifies the message to be replied to as an
+exact filename rather than as an \fInmh\fR folder and message number. It is
+intended to be used by the \fImsh\fR\0(1) interface to \fInmh\fR.
+The same caveats apply to this option as to the `\-build' switch.
+
.Fi
^%etcdir%/replcomps~^The standard reply template
^or <mh\-dir>/replcomps~^Rather than the standard template
of files and directories via electronic mail.
.sp
.in +.5i
-%libdir%/sendfiles mailpath \*(lqsubject\*(rq files\0...
+sendfiles mailpath \*(lqsubject\*(rq files\0...
.in -.5i
.sp
\fIsendfiles\fR will archive the files and directories you name
e.g.,
.sp
.in +.5i
-%libdir%/sendfiles -30 mailpath \*(lqsubject\*(rq files\0...
+sendfiles -30 mailpath \*(lqsubject\*(rq files\0...
.in -.5i
.sp
will pause 30 seconds in between each posting.
# commands to build
CMDS = ali anno burst comp dist flist folder forw mark mhbuild \
- mhlist mhmail mhn mhparam mhpath mhshow mhstore mhtest msgchk \
+ mhlist mhmail mhn mhparam mhpath mhshow mhstore msgchk \
msh packf pick prompter refile repl rmf rmm scan send show \
sortm viamail whatnow whom
# misc support binaries
MISC = ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack \
- rcvstore rcvtty slocal spost
+ rcvstore rcvtty slocal spost mhtest
# commands with 'S'pecial installation needs
SCMDS = inc
#define HELPSW 23
{ "help", 4 },
#define FILESW 24
- { "file file", -4 }, /* interface from msh */
+ { "file file", 4 }, /* interface from msh */
#ifdef MHE
#define BILDSW 25
- { "build", -5 }, /* interface from mhe */
+ { "build", 5 }, /* interface from mhe */
#endif /* MHE */
{ NULL, 0 }
#define HELPSW 26
{ "help", 4 },
#define FILESW 27
- { "file file", -4 }, /* interface from msh */
+ { "file file", 4 }, /* interface from msh */
#ifdef MHE
#define BILDSW 28
- { "build", -5 }, /* interface from mhe */
+ { "build", 5 }, /* interface from mhe */
#endif
{ NULL, 0 }
{ NULL, 0 }
};
-short ccto = 0; /* global for replsbr */
-short cccc = 0;
-short ccme = 0;
+short ccto = -1; /* global for replsbr */
+short cccc = -1;
+short ccme = -1;
short querysw = 0;
short outputlinelen = OUTPUTLINELEN;
case GROUPSW:
groupreply++;
- ccto = cccc = ccme = 1;
continue;
case NGROUPSW:
groupreply = 0;
- ccto = cccc = ccme = 0;
continue;
case ANNOSW:
}
}
+ if (ccto == -1)
+ ccto = groupreply;
+ if (cccc == -1)
+ cccc = groupreply;
+ if (ccme == -1)
+ ccme = groupreply;
+
cwd = getcpy (pwd ());
if (!context_find ("path"))