User Tools

Site Tools


playground:vps_-_9front_-_mailing_and_faces

This is an old revision of the document!


create myface.1

xThis is a DRAFT

Adding a face

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 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 click 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

create popmail

xThis 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.1632785907.txt.gz · Last modified: 2021/09/27 23:38 by hc9