#include "worgen.h"
FUNCTION c_pterm (buf, flag)
char *buf; long *flag
Line of text to be written to terminal screen.
Flag allowing the application program to control the paging mechanism for terminal output.
= 0: Do not page <> 0: After text line is written, query usesr
The c_pterm() routine is used to output one line of text to the terminal screen allowing the user to issue the following commands:
h: list valid terminal commands l: output one line of data to terminal p: terminal data is to be paged s: terminal data is to be scrolled b: terminal data is output starting at the beginning /: search for the specified string c: continue processing without writing output to the terminal q: quit processingc_pterm() will automatically page, no matter which flag is set.
c_pterm() has no return values. The routine may output other nonfatal error messages.