home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trn / part01 / final.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-02  |  1.4 KB  |  46 lines

  1. /* $Id: final.h,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  2.  * 
  3.  * $Log: final.h,v $
  4.  * Revision 4.4  1991/09/09  20:18:23  sob
  5.  * release 4.4
  6.  *
  7.  *
  8.  * 
  9.  */
  10. /* This software is Copyright 1991 by Stan Barber. 
  11.  *
  12.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  13.  * use this software as long as: there is no monetary profit gained
  14.  * specifically from the use or reproduction of this software, it is not
  15.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  16.  * included prominently in any copy made. 
  17.  *
  18.  * The author make no claims as to the fitness or correctness of this software
  19.  * for any use whatsoever, and it is provided as is. Any use of this software
  20.  * is at the user's own risk. 
  21.  */
  22.  
  23. /* cleanup status for fast exits */
  24.  
  25. EXT bool panic INIT(FALSE);        /* we got hung up or something-- */
  26.                     /*  so leave tty alone */
  27. EXT bool rc_changed INIT(FALSE);    /* need we rewrite .newsrc? */
  28. EXT bool doing_ng INIT(FALSE);        /* do we need to reconstitute */
  29.                     /* current rc line? */
  30.  
  31. EXT char int_count INIT(0);        /* how many interrupts we've had */
  32.  
  33. EXT bool clear_on_stop INIT(FALSE);    /* set when handling the stop signal */
  34.                     /* would leave the screen a mess */
  35.  
  36. /* signal catching routines */
  37.  
  38. SIGRET    int_catcher ANSI((void));
  39. SIGRET    sig_catcher ANSI((int));
  40. #ifdef SIGTSTP
  41.  SIGRET    stop_catcher ANSI((int));
  42. #endif
  43.  
  44. void    final_init ANSI((void));
  45. void    finalize ANSI((int));
  46.