]> diplodocus.org Git - nmh/commitdiff
Added mention of "Reply to <address>?" prompt to repl(1) man
authorDavid Levine <levinedl@acm.org>
Wed, 28 May 2014 02:35:23 +0000 (21:35 -0500)
committerDavid Levine <levinedl@acm.org>
Wed, 28 May 2014 02:35:23 +0000 (21:35 -0500)
page and code, as comment.  Suggested by Norm so that scripts
can depend on it.

man/repl.man
uip/replsbr.c

index fe87c856597517fba1ff7e83edf05f65b868e35a..af41525bc7380ebc238a5550bcd74a866712ce0b 100644 (file)
@@ -179,8 +179,15 @@ switch modifies the action of
 switch by
 interactively asking you if each address that normally would be placed in
 the \*(lqTo:\*(rq and \*(lqcc:\*(rq list should actually be sent a copy.
-This is useful for special\-purpose replies.  Note that the position of
-the
+This is useful for special\-purpose replies.  The prompt format is
+.PP
+.RS 5
+Reply to
+.IR address ?
+.RE
+.PP
+That prompt will not change, so that scripts can rely on it.  Note
+that the position of the
 .B \-cc
 and
 .B \-nocc
index 6a906b44b838a98c9dbf062916890517debd83fe..46ae7dc3368ebd7225d7b69c8eeae81cf6cb0847 100644 (file)
@@ -400,6 +400,8 @@ insert (struct mailname *np)
        return 0;
 
     if (querysw) {
+        /* Don't change the "Reply to %s? " prompt format, so that
+           scripts can rely on it. */
        snprintf (buffer, sizeof(buffer), "Reply to %s? ", adrformat (np));
        if (!gans (buffer, anoyes))
        return 0;