The result of using it is the same as using `-whatnowproc /bin/true':
The draft gets created and left in the draft folder. As a replacement
exists, we surely don't need keep -nowhatnowproc.
;;
comp )
options=(-form -use -nouse
;;
comp )
options=(-form -use -nouse
- -editor -noedit -whatnowproc -nowhatnowproc
+ -editor -noedit -whatnowproc
-version -help )
;;
flist* )
-version -help )
;;
flist* )
;;
forw )
options=(-annotate -noannotate -form
;;
forw )
options=(-annotate -noannotate -form
- -editor -noedit -whatnowproc
- -nowhatnowproc -build
+ -editor -noedit -whatnowproc -build
options=(-annotate -noannotate -group -nogroup -cc
-nocc -query -noquery -form -filter -nofilter
-mime -nomime -editor -noedit -whatnowproc
options=(-annotate -noannotate -group -nogroup -cc
-nocc -query -noquery -form -filter -nofilter
-mime -nomime -editor -noedit -whatnowproc
- -nowhatnowproc -build -file -version -help)
+ -build -file -version -help)
;;
rmf )
options=(-interactive -nointeractive -version -help)
;;
rmf )
options=(-interactive -nointeractive -version -help)
-K mhcomp -S / -q - 'c[-1]' -K mhfseq - \
'C[-1,-(editor|whatnowproc)]' -c - \
's[-]' -k "(editor noedit \
-K mhcomp -S / -q - 'c[-1]' -K mhfseq - \
'C[-1,-(editor|whatnowproc)]' -c - \
's[-]' -k "(editor noedit \
- form use nouse whatnowproc nowhatnowproc help)" - \
+ form use nouse whatnowproc help)" - \
'c[-1,-form]' -K mhfile -- comp
compctl -K mhfseq -x 's[+][@]' \
-K mhcomp -S / -q - 'c[-1]' -K mhfseq -\
's[-]' -k "(annotate noannotate cc nocc \
editor noedit filter nofilter form group nogroup \
'c[-1,-form]' -K mhfile -- comp
compctl -K mhfseq -x 's[+][@]' \
-K mhcomp -S / -q - 'c[-1]' -K mhfseq -\
's[-]' -k "(annotate noannotate cc nocc \
editor noedit filter nofilter form group nogroup \
- query noquery width whatnowproc nowhatnowproc help)" - 'c[-1,(cc|nocc)]' \
+ query noquery width whatnowproc help)" - 'c[-1,(cc|nocc)]' \
-k "(all to cc me)" - 'C[-1,-(filter|form)]' -K mhfile - \
'C[-1,-(editor|whatnowproc)]' -c -- repl
-k "(all to cc me)" - 'C[-1,-(filter|form)]' -K mhfile - \
'C[-1,-(editor|whatnowproc)]' -c -- repl
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-version ]
.RB [ \-help ]
.ad
.RB [ \-version ]
.RB [ \-help ]
.ad
program. See
.BR whatnow (1)
for a discussion of
program. See
.BR whatnow (1)
for a discussion of
-available options. The invocation of this program can be inhibited
-by using the
-.B \-nowhatnowproc
-switch. (In truth of fact, it is
-the
-.I whatnow
-program which starts the initial edit. Hence,
-.B \-nowhatnowproc
-will prevent any edit from occurring.)
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-version ]
.RB [ \-help ]
.ad
.RB [ \-version ]
.RB [ \-help ]
.ad
.B whatnow
program. See
.BR whatnow (1)
.B whatnow
program. See
.BR whatnow (1)
-for a discussion of available options. The invocation of this
-program can be inhibited by using the
-.B \-nowhatnowproc
-switch. (In truth of fact, it is the
-.B whatnow
-program which starts the initial edit. Hence,
-.B \-nowhatnowproc
-will prevent any edit from occurring.)
+for a discussion of available options.
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-build ]
.RB [ \-version ]
.RB [ \-help ]
.RB [ \-build ]
.RB [ \-version ]
.RB [ \-help ]
program. See
.BR whatnow (1)
for a discussion of
program. See
.BR whatnow (1)
for a discussion of
-available options. The invocation of this program can be inhibited
-by using the
-.B \-nowhatnowproc
-switch. (In truth of fact, it is
-the
-.I whatnow
-program which starts the initial edit. Hence,
-.B \-nowhatnowproc
-will prevent any edit from occurring.)
.BR nmh ,
and is only present if
.B nmh
.BR nmh ,
and is only present if
.B nmh
-was compiled with support for mh-e. It implies
-.BR \-nowhatnowproc .
+was compiled with support for mh-e.
It causes a file `draft' in the mail storage root
to be created, containing the draft message that would normally be presented
to the user for editing.
It causes a file `draft' in the mail storage root
to be created, containing the draft message that would normally be presented
to the user for editing.
+No
+.B whatnow
+program is invoked.
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
.BR nmh :
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
.BR nmh :
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-noedit ]
.RB [ \-whatnowproc
.IR program ]
.RB [ \-build ]
.RB [ \-file
.IR msgfile ]
.RB [ \-build ]
.RB [ \-file
.IR msgfile ]
program. See
.BR whatnow (1)
for a discussion of available
program. See
.BR whatnow (1)
for a discussion of available
-options. The invocation of this program can be inhibited by using the
-.B \-nowhatnowproc
-switch. (In truth of fact, it is the
-.B whatnow
-program which starts the initial edit. Hence,
-.B \-nowhatnowproc
-will
-prevent any edit from occurring.)
and is only present if
.B nmh
was compiled with support
and is only present if
.B nmh
was compiled with support
-for mh-e. It implies
-.BR \-nowhatnowproc .
It causes a file
.I reply (in the mail storage root)
to be created, containing the draft message that would normally be presented
to the user for editing.
It causes a file
.I reply (in the mail storage root)
to be created, containing the draft message that would normally be presented
to the user for editing.
+No
+.B whatnow
+programm is invoked.
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
.BR nmh :
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
.BR nmh :
{ "nouse", 0 },
#define WHATSW 5
{ "whatnowproc program", 0 },
{ "nouse", 0 },
#define WHATSW 5
{ "whatnowproc program", 0 },
-#define NWHATSW 6
- { "nowhatnowproc", 0 },
-#define VERSIONSW 7
{ "help", 0 },
{ NULL, 0 }
};
{ "help", 0 },
{ NULL, 0 }
};
int
main(int argc, char **argv)
{
int
main(int argc, char **argv)
{
- int use = NOUSE, nedit = 0, nwhat = 0;
+ int use = NOUSE, nedit = 0;
int in, out;
char *cp, *cwd, *maildir;
char *ed = NULL, *form = NULL;
int in, out;
char *cp, *cwd, *maildir;
char *ed = NULL, *form = NULL;
case WHATSW:
if (!(whatnowproc = *argp++) || *whatnowproc == '-')
adios(NULL, "missing argument to %s", argp[-2]);
case WHATSW:
if (!(whatnowproc = *argp++) || *whatnowproc == '-')
adios(NULL, "missing argument to %s", argp[-2]);
- nwhat = 0;
- continue;
- case NWHATSW:
- nwhat++;
-
- if (nwhat) {
- done(0);
- }
what_now(ed, nedit, use, drft, NULL, 0, NULLMP, NULL, cwd);
done(1);
return 1;
what_now(ed, nedit, use, drft, NULL, 0, NULLMP, NULL, cwd);
done(1);
return 1;
{ "form formfile", 0 },
#define WHATSW 5
{ "whatnowproc program", 0 },
{ "form formfile", 0 },
#define WHATSW 5
{ "whatnowproc program", 0 },
-#define NWHATSW 6
- { "nowhatnowproc", 0 },
-#define VERSIONSW 7
{ "help", 0 },
{ NULL, 0 }
};
{ "help", 0 },
{ NULL, 0 }
};
main(int argc, char **argv)
{
int anot = 0, nedit = 0;
main(int argc, char **argv)
{
int anot = 0, nedit = 0;
- int nwhat = 0, in, out;
char *cp, *cwd, *maildir, *msgnam;
char *ed = NULL, *folder = NULL;
char *form = NULL, *msg = NULL, buf[BUFSIZ], drft[BUFSIZ];
char *cp, *cwd, *maildir, *msgnam;
char *ed = NULL, *folder = NULL;
char *form = NULL, *msg = NULL, buf[BUFSIZ], drft[BUFSIZ];
if (!(whatnowproc = *argp++) || *whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
if (!(whatnowproc = *argp++) || *whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
- nwhat = 0;
- continue;
- case NWHATSW:
- nwhat++;
seq_save(mp); /* synchronize sequences */
context_save();
seq_save(mp); /* synchronize sequences */
context_save();
what_now(ed, nedit, NOUSE, drft, msgnam, 1, mp,
anot ? "Resent" : NULL, cwd);
done(1);
what_now(ed, nedit, NOUSE, drft, msgnam, 1, mp,
anot ? "Resent" : NULL, cwd);
done(1);
{ "volume number", 0 },
#define WHATSW 8
{ "whatnowproc program", 0 },
{ "volume number", 0 },
#define WHATSW 8
{ "whatnowproc program", 0 },
-#define NWHATSW 9
- { "nowhatnowproc", 0 },
-#define VERSIONSW 10
{ "help", 0 },
#ifdef MHE
{ "help", 0 },
#ifdef MHE
{
int msgp = 0, anot = 0;
int issue = 0, volume = 0;
{
int msgp = 0, anot = 0;
int issue = 0, volume = 0;
- int nedit = 0, nwhat = 0, in;
int out, msgnum;
char *cp, *cwd, *maildir;
char *digest = NULL, *ed = NULL;
int out, msgnum;
char *cp, *cwd, *maildir;
char *digest = NULL, *ed = NULL;
*whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
*whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
continue;
#ifdef MHE
case BILDSW:
buildsw++; /* fall... */
continue;
#ifdef MHE
case BILDSW:
buildsw++; /* fall... */
-#endif /* MHE */
- case NWHATSW:
- nwhat++;
case FORMSW:
if (!(form = *argp++) || *form == '-')
case FORMSW:
if (!(form = *argp++) || *form == '-')
seq_save(mp); /* synchronize sequences */
context_save(); /* save the context file */
seq_save(mp); /* synchronize sequences */
context_save(); /* save the context file */
done(0);
what_now(ed, nedit, NOUSE, drft, NULL, 0, mp,
anot ? "Forwarded" : NULL, cwd);
done(0);
what_now(ed, nedit, NOUSE, drft, NULL, 0, mp,
anot ? "Forwarded" : NULL, cwd);
{ "noquery", 0 },
#define WHATSW 15
{ "whatnowproc program", 0 },
{ "noquery", 0 },
#define WHATSW 15
{ "whatnowproc program", 0 },
-#define NWHATSW 16
- { "nowhatnowproc", 0 },
-#define VERSIONSW 17
{ "file file", 4 }, /* interface from msh */
{ "file file", 4 }, /* interface from msh */
{ "build", 5 }, /* interface from mhe */
#endif
{ "build", 5 }, /* interface from mhe */
#endif
main(int argc, char **argv)
{
int anot = 0;
main(int argc, char **argv)
{
int anot = 0;
- int nedit = 0, nwhat = 0;
char *cp, *cwd, *maildir, *file = NULL;
char *folder = NULL, *msg = NULL;
char *ed = NULL, drft[BUFSIZ], buf[BUFSIZ];
char *cp, *cwd, *maildir, *file = NULL;
char *folder = NULL, *msg = NULL;
char *ed = NULL, drft[BUFSIZ], buf[BUFSIZ];
*whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
*whatnowproc == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
continue;
#ifdef MHE
case BILDSW:
buildsw++; /* fall... */
continue;
#ifdef MHE
case BILDSW:
buildsw++; /* fall... */
-#endif /* MHE */
- case NWHATSW:
- nwhat++;
replout(in, drft, mp, mime, form, filter);
fclose(in);
replout(in, drft, mp, mime, form, filter);
fclose(in);
done(0);
what_now(ed, nedit, NOUSE, drft, msg, 0, mp, anot ? "Replied" : NULL,
cwd);
done(0);
what_now(ed, nedit, NOUSE, drft, msg, 0, mp, anot ? "Replied" : NULL,
cwd);