Almost done. A few bugs to fix. Compiles and ansi compliant. Getting message APPLICATION TERMINATED WITH THE EXIT STRING: Hangup (signal 1)