X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/1c15e88899094343f75aeba04122cd96a96b428e..ad7871609881e73855d0b04da49b486cd93efca7:/usr/src/usr.bin/ex/ex_subr.c diff --git a/usr/src/usr.bin/ex/ex_subr.c b/usr/src/usr.bin/ex/ex_subr.c index d845cb6b2e..b8f9e1461c 100644 --- a/usr/src/usr.bin/ex/ex_subr.c +++ b/usr/src/usr.bin/ex/ex_subr.c @@ -1,12 +1,15 @@ -/* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. The Berkeley software License Agreement - * specifies the terms and conditions for redistribution. +/*- + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. + * + * This module is believed to contain source code proprietary to AT&T. + * Use and redistribution is subject to the Berkeley Software License + * Agreement and your Software Agreement with AT&T (Western Electric). */ #ifndef lint -static char *sccsid = "@(#)ex_subr.c 7.13 (Berkeley) 5/28/90"; -#endif not lint +static char sccsid[] = "@(#)ex_subr.c 8.1 (Berkeley) 6/9/93"; +#endif /* not lint */ #include "ex.h" #include "ex_re.h" @@ -778,6 +781,7 @@ markit(addr) * in a weird state, etc. */ int _ovno; +void onemt() { signal(SIGEMT, onemt); @@ -797,6 +801,7 @@ onemt() * as they are a backup even without preservation if they * are not removed. */ +void onhup() { @@ -826,6 +831,7 @@ onhup() * Then like a normal error (with the \n before Interrupt * suppressed in visual mode). */ +void onintr() { @@ -908,6 +914,7 @@ ex_exit(i) /* * We have just gotten a susp. Suspend and prepare to resume. */ +void onsusp() { ttymode f;