thirdculture-werc/sites/plan9.stanleylieber.com/mother
2025-08-22 01:50:41 +00:00
..
img initial import 2025-08-22 01:50:41 +00:00
facemother initial import 2025-08-22 01:50:41 +00:00
index.md initial import 2025-08-22 01:50:41 +00:00
mkfile initial import 2025-08-22 01:50:41 +00:00
mother initial import 2025-08-22 01:50:41 +00:00
README initial import 2025-08-22 01:50:41 +00:00

mother
======

Mother is an [rc(1)](http://man.9front.org/1/rc) script that provides
an experience similar to
[nedmail(1)](http://man.9front.org/1/nedmail).

Download it [here](http://only9fans.com/sl/mother/HEAD/info.html).

help
----

	usage: mother [ -d ] [ -f mbox ] [ -p msg ] [ -r ]

	Commands are of the form [<range>] <command> [args]
	<range> := <addr> | <addr>,<addr>
	<command> :=
	a		reply to sender and recipients
	b		print the next ten headers
	d		mark for deletion
	e ...		enter message (args passed to upas/marshal)
	g/regexp/cmd	grep headlines for regexp and run cmd on matches
	h		print message headline (,h for all)
	help		print this help message
	m ...		forward mail to address(es)
	mb ...		change to specified mailbox
	p		print the processed message
	P		print the raw message
	q		quit
	r		reply to message
	s ...		store message in specified mailbox
	u		remove deletion mark
	y		synchronize with mail box
	"		print message in quoted form, suitable for reply
	|cmd		pipe the processed message to a command
	||cmd		pipe the raw message to a command
	!cmd		run a command

extensions
----------

A script may be used in conjunction with
[faces(1)](http://man.9front.org/1/faces) and the
[plumber(4)](http://man.9front.org/4/plumber) to open individual
messages (or the entire mailbox) by clicking mb1 on a face in the
[faces(1)](http://man.9front.org/1/faces) window.  Each click produces
a new window containing the selected message.

The script:
[facemother](https://plan9.stanleylieber.com/rc/facemother) <- read
and modify as needed before using

The plumber rule:

	# faces -> new mail window for message
	type	is	text
	data	matches	'[a-zA-Z¡-￿0-9_\-./]+'
	data	matches	'/mail/fs/[a-zA-Z¡-￿0-9/]+/[0-9]+'
	plumb	to	showmail
	plumb	start	window -r 646 117 1366 676 facemother $0

screenshots
-----------

![ello.co](img/ello.co.png)