Add a file.
Update $EDITOR, install gnu ed.