playground:vps_-_9front_-_mailing_and_faces
This is an old revision of the document!
Table of Contents
create myface.1
x | This is a DRAFT |
Adding a face
x | Adding your face | https://9p.io/wiki/plan9/adding_your_face/index.html |
cpu% jpg -c myface.jpg | iconv -c m8 | resample -x 48 -y 48 > myface.1
cpu% jpg -c myface.jpg | resample -x 100 | crop -b 255 255 255 -i -30 | mug > myface.1
optional: | jpg -c myface.jpg | iconv -c k4 | resample -x 48 -y 48 > myface.1 |
quality control
Check the results with page
:
cpu% page myface.1
- If myface.1 looks good, install it as
/lib/face/people/$user.1
, in the/lib/face/people
directory.
Then carefully edit /lib/face/people/.dict
, adding the line:
sdf.org/$user $user.1 |
- The .dict file is maintained in alphabetical order.
cpu% acme /lib/face/people/.dict
face location
This is a people face, example only:
cpu% jpg -c USER.jpg | resample -x 100 | crop -b 255 255 255 -i -30 | mug > /lib/face/people/USER.1
This is a domains face, example only:
cpu% jpg -c sdf.jpg | resample -x 100 | crop -b 255 255 255 -i -30 | mug > /lib/face/domains/sdf.org.1
9p mail
Create the /mail/box/$user
with mail -c
. This is only necessary once; it creates the $user mbox.
cpu% mail -c
Start acme to access the mbox.
% acme
Newcol Kill Putall Dump Exit |
---|
New Cut Paste Snarf Sort Zerox Delcol |
Newcol Kill Putall Dump Exit | ||
---|---|---|
New Cut Paste Snarf Sort Zerox Delcol | ⇐ Add Mail by typing Mail . |
Newcol Kill Putall Dump Exit | ||
---|---|---|
New Cut Paste Snarf Sort Zerox Delcol Mail | ⇐ Mouse button 2 press Mail. |
Newcol Kill Putall Dump Exit |
---|
New Cut Paste Snarf Sort Zerox Delcol Mail |
/mail/fs/mbox Del Snarf : Look Put Mail Delmesg Undelmesg Next |
Newcol Kill Putall Dump Exit | ||
---|---|---|
New Cut Paste Snarf Sort Zerox Delcol Mail | ||
/mail/fs/mbox Del Snarf : Look Put Mail Delmesg Undelmesg Next | ⇐ Mouse button 2 press Mail to compose a new mail. | |
1/ | ⇐ Email messages arrive here. |
Newcol Kill Putall Dump Exit | ||
---|---|---|
New Cut Paste Snarf Sort Zerox Delcol Mail | ||
/mail/fs/mbox Del Snarf : Look Put Mail Delmesg Undelmesg Next | ||
2/ | ⇐ Email messages arrive here. | |
1/ | ||
/mail/fs/mbox/Compose.1 Del Snarf : Look Post :fmt | ⇐ Mouse button 2 press Post to send the mail; fmt to format the mail. | |
To: | ||
Subject: | ||
[blank] | ||
some text here | ⇐ Type the email text here. |
create popmail:
x | This is a DRAFT |
Incomplete notes, regarding popmail on 9p, are located here: Notes from TEA NOTE #N Sunday August 22, 2021.
playground/vps_-_9front_-_mailing_and_faces.1632788673.txt.gz · Last modified: 2021/09/28 00:24 by hc9