Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/root/acme/msgs/guide

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


This program is similar to Acme's Mail (see ../mail)
but understands Plan B mail boxes instead.
It is intended as an Acme user interface for users of
mail2fs (i.e., Plan B mail boxes).

You may install mail2fs with contrib/install nemo/mail2fs.

By convention, /mail/box/$user/msgs is the main
mailbox. (see the mail2fs man page, msgs(1) ).
Everything is kept there.
Thus, all relative paths for mail
work within acme and most mail2fs scripts will
be happy.

Virtual folders are created by using text
files (e.g., /mail/box/$user/msgs/9fans)
containing text for msgs as shown when listing a
mailbox. That is, copying lines from the output of
msgs (or Msgs) to a file would create a virtual folder
in that mail containing the msgs listed in the text.
(You may edit a virtual folder at will).

This directory contains some helper scripts, for use within
Acme. Examples follow. See the msgs(1) section on
reading mail within Acme.

# open your inbox (/mail/box/$user/msgs)
Msgs

# open ALL msgs in your inbox (spam, deleted, ....)
Msgs -a

# open ALL msgs for 200908
Msgs -a msgs 200908

# open a virtual folder for 9fans (/mail/box/$user/msgs/9fans)
Msgs 9fans

For most of the scripts shown below in the examples, you may
select some lines (or all the text :, ) and execute the
command to operate on the selected messages. You may also
execute the command in a message window to operate just on that
message.  To use them you might
	Local bind -b /acme/msgs /bin

archive all 9fans msgs and add them to the 9fans virtual folder:
	|grep 9fans |Arch >>9fans


mark all msgs with money in the subject as spam.
	|grep money |Spam

reply to Sheldom
	Edit /sheldom/ +- |Reply

delete all messages (they are kept in the file system, marked for deletion).
	:,	(button 3)
	|Delmesg


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].