spost does not support it and I wonder if we need it.
Remove the undocumented -idanno switch, actually a no-op, from spost.
If the
.B \-annotate
switch is given, the message being distributed will
-be annotated with the lines:
+be annotated with the line:
Resent:\ date
- Resent:\ addrs
-where each address list contains as many lines as required. This
-annotation will be done only if the message is sent directly from
+This annotation will be done only if the message is sent directly from
.BR dist .
If the message is not sent immediately from
.BR dist ,
If the
.B \-annotate
switch is given, each message being forwarded will
-be annotated with the lines:
+be annotated with the line:
.PP
.RS 5
.nf
Forwarded:\ date
-Forwarded:\ addrs
.fi
.RE
.PP
-where each address list contains as many lines as required. This
-annotation will be done only if the message is sent directly from
+This annotation will be done only if the message is sent directly from
.BR forw .
If the message is not sent immediately from
.BR forw ,
If the
.B \-annotate
switch is given, the message being replied\-to will
-be annotated with the lines
+be annotated with the line:
.PP
.RS 5
.nf
Replied:\ date
-Replied:\ addrs
.fi
.RE
.PP
-where the address list contains one line for each addressee.
The annotation will be done only if the message is sent directly from
.BR repl .
If the message is not sent immediately from
{
pid_t child_id;
int i, status, fd, fd2;
- char backup[BUFSIZ], buf[BUFSIZ];
+ char backup[BUFSIZ];
fd = pushsw ? tmp_fd() : NOTOK;
fd2 = NOTOK;
vec[vecp++] = drft;
- if (annotext) {
- if ((fd2 = tmp_fd()) != NOTOK) {
- vec[vecp++] = "-idanno";
- snprintf(buf, sizeof(buf), "%d", fd2);
- vec[vecp++] = buf;
- } else {
- admonish(NULL, "unable to create file for annotation list");
- }
+ if (annotext && (fd2 = tmp_fd()) == NOTOK) {
+ admonish(NULL, "unable to create file for annotation list");
}
if (distfile && distout(drft, distfile, backup) == NOTOK)
done(1);
if (is_selected(mp, msgnum)) {
if (debugsw)
advise(NULL, "annotate message %d", msgnum);
- annotate(m_name (msgnum), annotext, cp, inplace,
+ annotate(m_name(msgnum), annotext, cp, inplace,
1, -2, 0);
}
}
{ "nopush", -6 },
#define LIBSW 20
{ "library directory", -7 },
-#define ANNOSW 21
- { "idanno number", -6 },
{ NULL, 0 }
};
if (context_foil(cp) == -1)
done(1);
continue;
-
- case ANNOSW:
- /* -idanno switch ignored */
- if (!(cp = *argp++) || *cp == '-')
- adios(NULL, "missing argument to %s",
- argp[-2]);
- continue;
}
}
if (msg)