home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / TEL23SRC.ZIP / ENGINE / TMP_LOOK.C < prev    next >
Encoding:
Text File  |  1991-04-04  |  773 b   |  19 lines

  1.  
  2.     if (ginon && current->termstate==TEKTYPE) {    /* check for GIN mode for tektronics */
  3.         ch=n_chkchar();
  4.         if (ch!= -1) {
  5.             if ((ch!='\r')&&(ch!='\n')) lch=ch;
  6.               else if (lch!= -1) {    /* send gin data string */
  7.                 mousecl(&m1,&m2,&m3,&m4);               /* get the mouse's position */
  8.                 VGgindata(current->vs,m3,m4,(char) lch,gindata);    /* send the mouse cursor */
  9.                                                     /* position to be translated */
  10.                                                     /* by VGgindata and the */
  11.                                                     /* information returned */
  12.                                                     /* in gindata */
  13.                 RSsendstring(current->vs,gindata,5);    /* return GIN data across network */
  14.                 lch=-1;                                    /* clear last char buffer */
  15.                 resetgin();                                /* reset GIN mode */
  16.                 }                                            /* end if */
  17.           }                                                /* end if */
  18.     }
  19.