NAME getch - read character from file SYNOPSIS c = getch (c, fd) character c filedes fd DESCRIPTION Getch reads the next character from the file specified by fd. The character is returned in ascii format both as the functional return and in the parameter c. If the end of a line has been encountered, NEWLINE is returned. If the end of the file has been encountered, EOF is returned. IMPLEMENTATION Interspersed calls to getch and getlin work properly. A common implementation is to have getlin work by repeated calls to getch. If the input file is not ascii, characters are mapped into their corresponding ascii format via a routine called "inmap". Getch is able to recognize an end-of-file marker from either a terminal or a file. SEE ALSO getc, getlin, putch, putlin, readf, writef DIAGNOSTICS None