progress towards unix compilation
builds on the unix
some easy warnings
more warnings
wchar.h required for gcc
Coverity 103750[5678]: Assert term->erase_char is sane
Coverity 1037416: leak
Coverity 1037417: leak
Coverity 1037418: leak
Coverity 1037415: leak
Coverity 1037420: very irrelevant leak
Coverity 1037457: leak
Coverity 10374{5[356],61}: leak
Coverity 10374{48..51}: Resource leaks
Coverity 1037447: leak
Coverity 103744[56]: leak
Coverity 103744[34]: leak
Coverity 103744[012]: leaks
Coverity 1042306: My bad
Coverity 1037397: check length before trashing memory