home *** CD-ROM | disk | FTP | other *** search
- --- Makefile.rtr Mon Feb 3 15:31:17 1997
- +++ Makefile Mon Feb 3 15:40:25 1997
- @@ -1,6 +1,6 @@
- # Makefile for: vis - repeatedly run command, refreshing screen
-
- -DEFINES = -DBSD
- +DEFINES = -DUSG
- CFLAGS = -O $(DEFINES)
- LIBS = -lcurses -ltermcap
- ROFF = nroff
- --- vis.c.rtr Mon Feb 3 15:31:17 1997
- +++ vis.c Mon Feb 3 15:46:45 1997
- @@ -38,9 +38,11 @@
- #include <signal.h>
- #include <sys/types.h>
-
- -#ifndef DELAY
- -#define DELAY 15 /* default delay, if not otherwise set */
- -#endif DELAY
- +#undef BSD
- +
- +#ifndef LOCAL_DELAY
- +#define LOCAL_DELAY 15 /* default delay, if not otherwise set */
- +#endif LOCAL_DELAY
- #ifndef BASELINE
- #define BASELINE 2 /* default line number for output */
- #endif BASELINE
- @@ -77,7 +79,7 @@
- extern int optind;
- extern char *optarg;
-
- -long wait_delay = DELAY; /* delay interval */
- +long wait_delay = LOCAL_DELAY; /* delay interval */
- int force = 0; /* true to force continued execution */
- int needshell = 0; /* non-zero if subshell needed */
-
- @@ -181,7 +183,7 @@
- shcmd[3] = (char *) 0;
- }
- if (doheader) {
- - if (wait_delay != DELAY) {
- + if (wait_delay != LOCAL_DELAY) {
- if (strlen(cmd) > COLS-39)
- (void) sprintf(cmd, "%.*s...", COLS-42, cmd);
- mvprintw(0, max((COLS-11)/2, strlen(cmd)+15),
-