c_pterm - Outputs a line of text to the terminal screen

SYNTAX

#include "worgen.h"

FUNCTION c_pterm (buf, flag)

     char               *buf;
     long               *flag

PARAMETERS

buf (input, character, length(*))

Line of text to be written to terminal screen.

flag (input, integer)

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

DESCRIPTION

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 processing
c_pterm() will automatically page, no matter which flag is set.

RETURN VALUE

c_pterm() has no return values. The routine may output other nonfatal error messages.