# 2.11BSD#431 - /usr/ingres/source/monitor/prompt.c

##### Functions

    cgprompt          X
    prompt            X

       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: }

#### Defined functions

cgprompt defined in line 36; used 7 times

- in /usr/ingres/source/monitor/eval.c line 64
- in /usr/ingres/source/monitor/monitor.c line 124-134(3)
- in /usr/ingres/source/monitor/print.c line 38
- in /usr/ingres/source/monitor/xwait.c line 32, 52

prompt defined in line 18; used 7 times

- in line 38
- in /usr/ingres/source/monitor/clrline.c line 40
- in /usr/ingres/source/monitor/go.c line 82
- in /usr/ingres/source/monitor/include.c line 70
- in /usr/ingres/source/monitor/monitor.c line 166-171(2), 260

Last modified: 1995-02-04 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 951 |