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 .
 .TP
+.BI F " [+-][aDdfrSs]
+Set message flags.
+.TP
 .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.
 .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 
+.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 
 Like
 .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.
 .TP
-.B Rf
+.B Rf " args
 Like 
 .B R
 but append the message and the reply to the file 
@@ -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 \&=
 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


             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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* 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 \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).