BSD 4_3_Tahoe release
[unix-history] / usr / src / ucb / ex / ex_vput.c
index 3060399..b51e027 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)ex_vput.c   7.4 (Berkeley) 6/7/85";
+static char *sccsid = "@(#)ex_vput.c   7.5 (Berkeley) 3/9/87";
 #endif not lint
 
 #include "ex.h"
 #endif not lint
 
 #include "ex.h"
@@ -31,7 +31,7 @@ vclear()
        destline = 0;
        outline = 0;
        if (inopen)
        destline = 0;
        outline = 0;
        if (inopen)
-               vclrbyte(vtube0, WCOLS * (WECHO - ZERO + 1));
+               vclrbyte(vtube0, WCOLS * (WECHO - ex_ZERO + 1));
 }
 
 /*
 }
 
 /*
@@ -58,7 +58,7 @@ vclrlin(l, tp)
 
        vigoto(l, 0);
        if ((hold & HOLDAT) == 0)
 
        vigoto(l, 0);
        if ((hold & HOLDAT) == 0)
-               putchar(tp > dol ? ((UPPERCASE || HZ) ? '^' : '~') : '@');
+               ex_putchar(tp > dol ? ((UPPERCASE || HZ) ? '^' : '~') : '@');
        if (state == HARDOPEN)
                sethard();
        vclreol();
        if (state == HARDOPEN)
                sethard();
        vclreol();
@@ -111,7 +111,7 @@ vclrech(didphys)
        bool didphys;
 {
 
        bool didphys;
 {
 
-       if (Peekkey == ATTN)
+       if (Peek_key == ATTN)
                return;
        if (hold & HOLDECH) {
                heldech = !didphys;
                return;
        if (hold & HOLDECH) {
                heldech = !didphys;
@@ -472,7 +472,7 @@ vmaktop(p, cp)
 
        if (p < 0 || vtube[p] == cp)
                return;
 
        if (p < 0 || vtube[p] == cp)
                return;
-       for (i = ZERO; i <= WECHO; i++)
+       for (i = ex_ZERO; i <= WECHO; i++)
                if (vtube[i] == cp) {
                        copy(temp, vtube[i], WCOLS);
                        copy(vtube[i], vtube[p], WCOLS);
                if (vtube[i] == cp) {
                        copy(temp, vtube[i], WCOLS);
                        copy(vtube[i], vtube[p], WCOLS);