Add define for Kirk Smith's USR Courier driver. Change default baud
[unix-history] / usr / src / usr.bin / talk / init_disp.c
index b8fc2f6..6b9fd49 100644 (file)
@@ -1,6 +1,12 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)init_disp.c        1.2 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)init_disp.c        5.1 (Berkeley) %G%";
+#endif not lint
 
 /*
  * Initialization code for the display package,
 
 /*
  * Initialization code for the display package,
@@ -17,8 +23,12 @@ static char sccsid[] = "@(#)init_disp.c      1.2 (Berkeley) %G%";
 init_display()
 {
        void sig_sent();
 init_display()
 {
        void sig_sent();
+       struct sigvec sigv;
 
        initscr();
 
        initscr();
+       (void) sigvec(SIGTSTP, (struct sigvec *)0, &sigv);
+       sigv.sv_mask |= sigmask(SIGALRM);
+       (void) sigvec(SIGTSTP, &sigv, (struct sigvec *)0);
        curses_initialized = 1;
        clear();
        refresh();
        curses_initialized = 1;
        clear();
        refresh();