From: David Levine Date: Wed, 28 May 2014 02:35:23 +0000 (-0500) Subject: Added mention of "Reply to
?" prompt to repl(1) man X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/475fef2edee9db3c63fc089df76f8e93e3d598cd?ds=sidebyside;hp=-c Added mention of "Reply to
?" prompt to repl(1) man page and code, as comment. Suggested by Norm so that scripts can depend on it. --- 475fef2edee9db3c63fc089df76f8e93e3d598cd diff --git a/man/repl.man b/man/repl.man index fe87c856..af41525b 100644 --- a/man/repl.man +++ b/man/repl.man @@ -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 diff --git a/uip/replsbr.c b/uip/replsbr.c index 6a906b44..46ae7dc3 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -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;