home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / zsh / Source / src / signals.h.sample < prev    next >
Encoding:
Text File  |  1994-04-07  |  1.4 KB  |  106 lines

  1. Your signals.h file should look something like this.  If it doesn't,
  2. perhaps your csh or ed is different.
  3.  
  4. /* this file is created automatically by buildzsh */
  5. /* if all this is wrong, blame csh ;-) */
  6.  
  7. #define SIGCOUNT       31
  8.  
  9. #ifdef GLOBALS
  10.  
  11. char *sigmsg[SIGCOUNT+2] = {
  12.     "done",
  13.     "hangup",
  14.     "interrupt",
  15.     "quit",
  16.     "illegal instruction",
  17.     "trace trap",
  18.     "abort",
  19.     "EMT instruction",
  20.     "floating point exception",
  21.     "killed",
  22.     "bus error",
  23.     "segmentation fault",
  24.     "bad system call",
  25.     "broken pipe",
  26.     "SIGALRM",
  27.     "terminated",
  28.     "SIGURG",
  29. #ifdef USE_SUSPENDED
  30.     "suspended (signal)",
  31. #else
  32.     "stopped (signal)",
  33. #endif
  34. #ifdef USE_SUSPENDED
  35.     "suspended",
  36. #else
  37.     "stopped",
  38. #endif
  39.     "continued",
  40.     "SIGCHLD",
  41. #ifdef USE_SUSPENDED
  42.     "suspended (tty input)",
  43. #else
  44.     "stopped (tty input)",
  45. #endif
  46. #ifdef USE_SUSPENDED
  47.     "suspended (tty output)",
  48. #else
  49.     "stopped (tty output)",
  50. #endif
  51.     "SIGIO",
  52.     "cpu limit exceeded",
  53.     "filesize limit exceeded",
  54.     "virtual time alarm",
  55.     "SIGPROF",
  56.     "SIGWINCH",
  57.     "SIGLOST",
  58.     "SIGUSR1",
  59.     "SIGUSR2",
  60.     NULL
  61. };
  62.  
  63. char *sigs[SIGCOUNT+4] = {
  64.     "EXIT",
  65.     "HUP",
  66.     "INT",
  67.     "QUIT",
  68.     "ILL",
  69.     "TRAP",
  70.     "ABRT",
  71.     "EMT",
  72.     "FPE",
  73.     "KILL",
  74.     "BUS",
  75.     "SEGV",
  76.     "SYS",
  77.     "PIPE",
  78.     "ALRM",
  79.     "TERM",
  80.     "URG",
  81.     "STOP",
  82.     "TSTP",
  83.     "CONT",
  84.     "CHLD",
  85.     "TTIN",
  86.     "TTOU",
  87.     "IO",
  88.     "XCPU",
  89.     "XFSZ",
  90.     "VTALRM",
  91.     "PROF",
  92.     "WINCH",
  93.     "LOST",
  94.     "USR1",
  95.     "USR2",
  96.     "ZERR",
  97.     "DEBUG",
  98.     NULL
  99. };
  100.  
  101. #else
  102.  
  103. extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];
  104.  
  105. #endif
  106.