NO.NL - inhibit the new-line pending from the last input.

Usage:

B:
   no.nl( [unit] );
C:
   #equate no_nl no.nl
   void no_nl( [FILE *unit] );

Where:

unit
is the number of the unit to be affected. The default is the current read unit.

Description:

NO.NL suppresses the echoing of a new-line in response to the last input from a terminal. Nothing happens if "unit" is not a terminal input unit. Note that normal set-up reads from the terminal to get the command line, and so a call to NO.NL before any other terminal I/O will suppress the new-line resulting from inputting the command line.

Notes:

If NO.NL is used and there was no immediately preceding request for terminal input, it is possible that there will be a random loss of output new-line characters.

Copyright © 1996, Thinkage Ltd.