On Tue, 22 Dec 1998, Michael J. Ghormley wrote: > James Cameron wrote: > > > It's gets(), surely? If it is the ANSI C function, it is defined as > > using getc() until it receives an end of line marker. Are you sending > > characters followed by a carriage return? > > I have no knowledge of this flavor of C, but shouldn't he be sending a > NULL (0x00) value to terminate an ASCII string? Could that be the > problem? gets will insert the NUL (not NULL) itself as per ANSI C, as soon as it sees an end of line character (usually '\n'). It is possible that it sees a '\r' instead. On a PC, pressing the rightmost Enter key should do this (?). Peter