X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/9cc49269aad7fd556ecd8d0037d20df5a06a1c8f..16fb70223874bbe6f9fdad5f40247e6b0e6dd7dd:/usr/src/usr.bin/ex/ex_put.c diff --git a/usr/src/usr.bin/ex/ex_put.c b/usr/src/usr.bin/ex/ex_put.c index 1f3c509493..4bcdd0094b 100644 --- a/usr/src/usr.bin/ex/ex_put.c +++ b/usr/src/usr.bin/ex/ex_put.c @@ -1,5 +1,5 @@ /* Copyright (c) 1980 Regents of the University of California */ -static char *sccsid = "@(#)ex_put.c 6.1 %G%"; +static char *sccsid = "@(#)ex_put.c 6.4 %G%"; #include "ex.h" #include "ex_tty.h" #include "ex_vis.h" @@ -1031,20 +1031,6 @@ setty(f) if (tty.c_lflag & ICANON) ttcharoff(); tty = f; -#endif -#ifdef TIMEBOMB - /* - * The following is a TEMPORARY hack to help track down a bug. - * It is never intended to get off Ernie CoVax. - */ - if (f == normf && nlttyc.t_suspc == '\377') { - printf("\n\nPlease tell mark suspc is 377, and let him know\n"); - printf("what you just did. Did you hit del?\n"); - nlttyc.t_suspc = CTRL(z); - nlttyc.t_dsuspc = CTRL(y); - nlttyc.t_flushc = CTRL(o); - nlttyc.t_lnextc = CTRL(v); - } #endif sTTY(1); return (ot); @@ -1114,39 +1100,3 @@ noonl() putchar(Outchar != termchar ? ' ' : '\n'); } - -#ifdef SIGTSTP -/* - * We have just gotten a susp. Suspend and prepare to resume. - */ -onsusp() -{ - ttymode f; - - f = setty(normf); - vnfl(); - putpad(TE); - flush(); - - signal(SIGTSTP, SIG_DFL); - kill(0, SIGTSTP); - - /* the pc stops here */ - - signal(SIGTSTP, onsusp); - vcontin(0); - setty(f); - if (!inopen) - error(0); - else { - if (vcnt < 0) { - vcnt = -vcnt; - if (state == VISUAL) - vclear(); - else if (state == CRTOPEN) - vcnt = 0; - } - vdirty(0, LINES); - vrepaint(cursor); - } -}