progress towards unix compilation
builds on the unix
some easy warnings
wchar.h required for gcc
Coverity 103750[5678]: Assert term->erase_char is sane
asserts for clang --analyze
Silence incorrect clang -Wconditional-uninitialized
-Wunreachable-code
C89 cough