From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE, WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8810 invoked from network); 17 Sep 2022 13:47:42 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 17 Sep 2022 13:47:42 -0000 Received: from gaff.inri.net ([168.235.71.243]) by 9front; Sat Sep 17 09:46:24 -0400 2022 Received: from smtpclient.apple ([104.59.85.219]) by gaff; Sat Sep 17 09:46:24 -0400 2022 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Stanley Lieber Mime-Version: 1.0 (1.0) Message-Id: <4D4996DE-362B-41A7-93D0-38A87376C560@stanleylieber.com> References: <99F890A5FB8C4BCD411C145CC792511C@chrisfroeschl.de> In-Reply-To: <99F890A5FB8C4BCD411C145CC792511C@chrisfroeschl.de> To: 9front@9front.org Date: Sat, 17 Sep 2022 09:46:24 -0400 X-Mailer: iPhone Mail (19H12) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: realtime information module Subject: Re: [9front] [PATCH] nedmail(1): add plenty of missing commands + (theoretical) flag descriptions Reply-To: 9front@9front.org Precedence: bulk should we document flags that don=E2=80=99t work? sl > On Sep 17, 2022, at 9:41 AM, Chris A. Fr=C3=B6schl wrote: >=20 > =EF=BB=BFTheoretical flag description was taken from > /sys/src/cmd/upas/common/common.h:13,21 . "Theoretical" because > nedmail doesn't seem to really work with most of them or use them in > other ways. Feel free to adjust if you know more. >=20 > --- > diff 05b08f6665b8b0c14c0cb4caa42929db8d26c6c9 ef0ab109af2852d0f35318f6476f= 3d37860cc568 > --- a/sys/man/1/nedmail > +++ b/sys/man/1/nedmail > @@ -157,6 +157,9 @@ > Mark message to be deleted upon exiting > .IR nedmail . > .TP > +.BI F " [+-][aDdfrSs] > +Set message flags. > +.TP > .B f > Append the message to the file=20 > .BI /mail/box/ username / sendername > @@ -164,6 +167,9 @@ > .I sendername > is the account name of the sender. > .TP > +.B fq > +Print mailbox f appends. > +.TP > .B h > Print the disposition, size in characters, reception time, sender, > and subject of the message. > @@ -174,6 +180,16 @@ > .B help > Print a summary of the commands. > .TP > +.B i > +Incorporate new mail. > +.TP > +.BI k " [flags] > +Mark mail. > +.TP > +.BI K " [flags] > +Unmark mail. > +.BI=20 > +.TP > .BI m " person ... > Forward the message as a mime attachment to the named > .IR persons . > @@ -184,10 +200,22 @@ > but allow the user to type in text to be included > with the forwarded message. > .TP > +.BI mb " mbox" > +Switch mailboxes. > +.TP > .B p > Print message. > An interrupt stops the printing. > .TP > +.B P > +Print the raw message. > +.TP > +.B """ > +Print a quoted version of msg > +.TP > +.B """""" > +Format and quote msg. > +.TP > .BI r " args > Reply to the sender of the message. > .I Marshal > @@ -203,7 +231,7 @@ > .B r > but with the original message included as an attachment. > .TP > -.B rf > +.BI rf " args=20 > Like > .B r > but append the message and the reply to the file=20 > @@ -212,7 +240,7 @@ > .I sendername > is the account name of the sender. > .TP > -.B Rf > +.B Rf " args > Like=20 > .B R > but append the message and the reply to the file=20 > @@ -235,6 +263,9 @@ > and the string > .BR att.XXXXXXXXXXX . > .TP > +.B t > +Print text formatter. > +.TP > .B q > Put undeleted mail back in the mailbox and stop. > .TP > @@ -275,6 +306,31 @@ > .TP > .B \&=3D > Print the number of the current message. > +.PD > +.PP > +The flags are: > +.TP > +.B a > +Answered > +.PD 0 > +.TP > +.B D > +Deleted > +.TP > +.B d > +Draft > +.TP > +.B f > +Flagged > +.TP > +.B r > +Recent > +.TP > +.B S > +Stored > +.TP > +.B s > +Seen > .PD > .PP > Here's an example of a mail session that looks at a summary >=20 >=20