home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / JSAGE / ZSUS / PROGPACK / CVIDLIB.LBR / STNDOUT.CQ / STNDOUT.C
Text File  |  2000-06-30  |  896b  |  34 lines

  1. /***********************************************************
  2.  *    Name    : STNDOUT
  3.  *
  4.  *    Usage   : stndout()
  5.  *
  6.  *    Inputs  : none. Expects vidptr to point to the ZCPR3
  7.  *          termcap entry.
  8.  *          
  9.  *    Returns : TRUE if in highlight mode else FALSE
  10.  *          
  11.  *    Date Written : 86 May 10
  12.  **********************************************************/
  13.  
  14. stndout()
  15. {
  16.     extern char *vidptr;
  17.     char *c,delay;
  18.  
  19.     c = vidptr;
  20.     if(*c <= ' ')    /* return FALSE if no terminal */
  21.     return(0);
  22.     delay = 0;
  23.     c += 23;
  24.     c = vidskp(c);    /* skip CL string */
  25.     c = vidskp(c);    /* skip CM string */
  26.     c = vidskp(c);    /* skip CE string */
  27.     if(!*c)        /* return FALSE if no standout string */
  28.     return(0);
  29.     vidout(delay,c);
  30.     return(1);        /* return TRUE when in highlight mode */
  31. }
  32.  
  33. /********************* End Of Function ********************/
  34.