Line editors like ed make much more sense when used with a printing teletype, which is what the RPi 400 would be with a little printer attached.