home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / vn.jan.88 / part04 / brk.h next >
Encoding:
C/C++ Source or Header  |  1988-01-30  |  750 b   |  23 lines

  1. /*
  2. ** vn news reader.
  3. **
  4. ** brk.h - codes for sig_set routine
  5. **
  6. ** see copyright disclaimer / history in vn.c source file
  7. */
  8.  
  9. /*
  10.     state flags for handling breaks / values for sig_set calls.
  11.     BRK_IN, BRK_SESS, BRK_READ and BRK_OUT are the states.  All
  12.     but BRK_INIT are used as calls to sig_set.  BRK_RFIN indicates
  13.     a return from BRK_READ to BRK_SESS (no jump location passed),
  14. */
  15. #define BRK_INIT 0        /* initial value, indicating uncaught signals */
  16. #define BRK_IN 1        /* in NEWSRC / article scanning phase */
  17. #define BRK_SESS 2        /* in page interactive session */
  18. #define BRK_READ 3        /* reading articles */
  19. #define BRK_RFIN 4        /* finished reading, return to old mode */
  20. #define BRK_OUT 5        /* NEWSRC updating phase */
  21.  
  22. #define BRK_PR "really quit ? "
  23.