9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Chris A. Fröschl <chris@chrisfroeschl.de>
To: 9front@9front.org
Subject: [9front] [PATCH] nedmail(1): add plenty of missing commands + (theoretical) flag descriptions
Date: Sat, 17 Sep 2022 13:37:38 +0000	[thread overview]
Message-ID: <99F890A5FB8C4BCD411C145CC792511C@chrisfroeschl.de> (raw)

Theoretical 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.

diff 05b08f6665b8b0c14c0cb4caa42929db8d26c6c9 ef0ab109af2852d0f35318f6476f3d37860cc568
--- a/sys/man/1/nedmail
+++ b/sys/man/1/nedmail
@@ -157,6 +157,9 @@
 Mark message to be deleted upon exiting
 .IR nedmail .
+.BI F " [+-][aDdfrSs]
+Set message flags.
 .B f
 Append the message to the file 
 .BI /mail/box/ username / sendername
@@ -164,6 +167,9 @@
 .I sendername
 is the account name of the sender.
+.B fq
+Print mailbox f appends.
 .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.
+.B i
+Incorporate new mail.
+.BI k " [flags]
+Mark mail.
+.BI K " [flags]
+Unmark mail.
 .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.
+.BI mb " mbox"
+Switch mailboxes.
 .B p
 Print message.
 An interrupt stops the printing.
+.B P
+Print the raw message.
+.B """
+Print a quoted version of msg
+.B """"""
+Format and quote msg.
 .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.
-.B rf
+.BI rf " args 
 .B r
 but append the message and the reply to the file 
@@ -212,7 +240,7 @@
 .I sendername
 is the account name of the sender.
-.B Rf
+.B Rf " args
 .B R
 but append the message and the reply to the file 
@@ -235,6 +263,9 @@
 and the string
+.B t
+Print text formatter.
 .B q
 Put undeleted mail back in the mailbox and stop.
@@ -275,6 +306,31 @@
 .B \&=
 Print the number of the current message.
+The flags are:
+.B a
+.PD 0
+.B D
+.B d
+.B f
+.B r
+.B S
+.B s
 Here's an example of a mail session that looks at a summary

             reply	other threads:[~2022-09-17 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17 13:37 Chris A. Fröschl [this message]
2022-09-17 13:46 ` Stanley Lieber
2022-09-17 13:50   ` chris
2022-09-17 14:01   ` chris
2022-09-19  6:37     ` chris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99F890A5FB8C4BCD411C145CC792511C@chrisfroeschl.de \
    --to=chris@chrisfroeschl.de \
    --cc=9front@9front.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).