home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume2 / window / part4 / initscr.c.pat < prev    next >
Encoding:
Text File  |  1986-11-30  |  485 b   |  23 lines

  1. *** libcurses42/initscr.c    Thu Nov 17 11:03:00 1983
  2. --- libcurses/initscr.c    Sun Jul 21 17:59:02 1985
  3. ***************
  4. *** 15,16
  5.       reg char    *sp;
  6.       int        tstp();
  7.  
  8. --- 15,17 -----
  9.       reg char    *sp;
  10. +     int        (*oldtstp)();    /* Ron Wessels, uthub.149, May 1984 */
  11.       int        tstp();
  12. ***************
  13. *** 41,43
  14.   # ifdef SIGTSTP
  15. !     signal(SIGTSTP, tstp);
  16.   # endif
  17.  
  18. --- 42,45 -----
  19.   # ifdef SIGTSTP
  20. !     if ((oldtstp = signal(SIGTSTP, tstp)) != SIG_DFL)
  21. !         (void) signal(SIGTSTP, oldtstp);
  22.   # endif
  23.