=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/tty.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/mg/tty.c 2002/01/18 08:37:08 1.11 +++ src/usr.bin/mg/tty.c 2002/02/05 20:47:32 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.11 2002/01/18 08:37:08 art Exp $ */ +/* $OpenBSD: tty.c,v 1.12 2002/02/05 20:47:32 art Exp $ */ /* * Terminfo display driver @@ -39,6 +39,7 @@ static int insdel; /* Do we have both insert & delete line? */ static char *scroll_fwd; /* How to scroll forward. */ +#ifdef I_WANT_SIGNAL_RACES static void winchhandler(int); static void @@ -46,6 +47,7 @@ { refresh(0,0); } +#endif /* * Initialize the terminal when the editor @@ -69,7 +71,9 @@ panic(p); } +#ifdef I_WANT_SIGNAL_RACES signal(SIGWINCH, winchhandler); +#endif scroll_fwd = scroll_forward; if (scroll_fwd == NULL || *scroll_fwd == '\0') { /* this is what GNU Emacs does */