1: # include   <stdio.h>
   2: 
   3: # include   "../ingres.h"
   4: # include   "../aux.h"
   5: # include   "monitor.h"
   6: 
   7: /*
   8: **  OUTPUT PROMPT CHARACTER
   9: **
  10: **	The prompt is output to the standard output.  It will not be
  11: **	output if -ss mode is set or if we are not at a newline.
  12: **
  13: **	The parameter is printed out if non-zero.
  14: **
  15: **	Uses trace flag 14
  16: */
  17: 
  18: prompt(msg)
  19: char    *msg;
  20: {
  21:     if (!Prompt || Peekch < 0)
  22:         return;
  23:     if (Nodayfile >= 0)
  24:     {
  25:         if (msg)
  26:             printf("\07%s\n", msg);
  27:         printf("* ");
  28:     }
  29: }
  30: 
  31: 
  32: /*
  33: **  PROMPT WITH CONTINUE OR GO
  34: */
  35: 
  36: cgprompt()
  37: {
  38:     prompt(Notnull ? "continue" : "go");
  39: }
Last modified: 1995-02-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2542
Valid CSS Valid XHTML 1.0 Strict