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 / STNDEND.CQ / STNDEND.C
Text File  |  2000-06-30  |  1KB  |  35 lines

  1. /***********************************************************
  2.  *    Name    : STNDEND
  3.  *
  4.  *    Usage   : stndend()
  5.  *
  6.  *    Inputs  : none. Expects vidptr to point to the ZCPR3
  7.  *          termcap entry.
  8.  *          
  9.  *    Returns : TRUE if highlight turned off. FALSE otherwise
  10.  *          
  11.  *    Date Written : 86 May 10
  12.  **********************************************************/
  13.  
  14. stndend()
  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.     c = vidskp(c);    /* skip SO string */
  28.     if(!*c)        /* return FALSE if no standout end string */
  29.     return(0);
  30.     vidout(delay,c);
  31.     return(1);        /* return TRUE when in background mode */
  32. }
  33.  
  34. /********************* End Of Function ********************/
  35.