home *** CD-ROM | disk | FTP | other *** search
- /*
- * PARMON.C
- *
- * Monitor parnet debug junk
- */
-
- #include "defs.h"
-
- void
- main(ac, av)
- int ac;
- char *av[];
- {
- PubPort *port = (PubPort *)FindPort(PORTNAME);
- char buf[32];
-
- buf[0] = 0;
- if (port == NULL) {
- puts("couldn't find port");
- exit(1);
- }
- for (;;) {
- /*
- if (strcmp(port->DebugBuf, buf) != 0) {
- strcpy(buf, port->DebugBuf);
- printf("%s\n", buf);
- }
- Delay(5L);
- */
-
- printf("%s\n",port->DebugBuf);
- Chk_Abort();
- }
- }
-
-