shell.c a few proper defines allowed for portability to freebsd with no changes to the code