From 0077673e56aa9fa01e250765ea6dba1c70b631c1 Mon Sep 17 00:00:00 2001 From: Mike Heffner Date: Tue, 25 Jun 2002 05:34:27 +0000 Subject: [PATCH] Add support for the 'flipr' option per IEEE 1003.1-2001. --- usr.bin/mail/cmd3.c | 4 ++-- usr.bin/mail/mail.1 | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/usr.bin/mail/cmd3.c b/usr.bin/mail/cmd3.c index 8d21dd48ab68..312b80c187a2 100644 --- a/usr.bin/mail/cmd3.c +++ b/usr.bin/mail/cmd3.c @@ -194,7 +194,7 @@ int respond(msgvec) int *msgvec; { - if (value("Replyall") == NULL) + if (value("Replyall") == NULL && value("flipr") == NULL) return (dorespond(msgvec)); else return (doRespond(msgvec)); @@ -588,7 +588,7 @@ int Respond(msgvec) int *msgvec; { - if (value("Replyall") == NULL) + if (value("Replyall") == NULL && value("flipr") == NULL) return (doRespond(msgvec)); else return (dorespond(msgvec)); diff --git a/usr.bin/mail/mail.1 b/usr.bin/mail/mail.1 index bc865b311510..b2cc1c15fc0b 100644 --- a/usr.bin/mail/mail.1 +++ b/usr.bin/mail/mail.1 @@ -964,6 +964,14 @@ If defined, the first character of this option gives the character to use in place of .Ql ~ to denote escapes. +.It Va flipr +Reverses the sense of +.Ic reply +and +.Ic Reply +commands. +Default is +.Va noflipr . .It Va folder The name of the directory to use for storing folders of messages.