Prompt was not displayed in make distrib.
Check the return of system().
compat/strtonum.c would be removed by 'make clean', getting it out when running 'make distrib'.
Check the return of read().
These manpages should be .Dt 5
Small tidy-up of error checking code.