home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / pdksh-src.lha / src / amiga / pdksh / sh / config.h < prev    next >
C/C++ Source or Header  |  1993-12-01  |  1KB  |  53 lines

  1. /*
  2.  * Configuration file for the PD ksh
  3.  *
  4.  * RCSid: $Id: config.h,v 1.3 1992/05/03 08:28:59 sjg Exp $
  5.  */
  6.  
  7. #ifndef    _CONFIG_H
  8. #define    _CONFIG_H
  9.  
  10. /*
  11.  * Builtin edit modes
  12.  */
  13.  
  14. #define    EMACS                /* EMACS-like mode */
  15. #define    VI                /* vi-like mode */
  16. #define    JOBS                /* job control */
  17.  
  18. #ifndef SIGINT
  19. #include <signal.h>
  20. #endif
  21.  
  22. /*
  23.  * leave USE_SIGACT defined.
  24.  * if you don't have sigaction(2) and the
  25.  * implementation in sigact.c doesn't work for your system,
  26.  * fix it.
  27.  * 
  28.  * Of course if your system has a real sigaction() 
  29.  * implementation that is faulty! undef JOBS and add USE_SIGNAL
  30.  * or whatever does work.  You may find it necessary to undef
  31.  * USE_SIGACT, if so please report it.
  32.  */
  33. #define USE_SIGACT            /* POSIX signal handling */
  34. /* 
  35.  * These control how sigact.c implements sigaction()
  36.  * If you don't define any of them it will try and work it out 
  37.  * for itself.  The are listed in order of preference (usefulness).
  38.  */
  39. /* #define USE_SIGMASK            /* BSD4.2 ? signal handling */
  40. /* #define USE_SIGSET            /* BSD4.1 ? signal handling */
  41. /* #define USE_SIGNAL            /* plain old signal(2) */
  42.  
  43. #if defined(JOBS) && (!defined(SIGCONT) || (defined(_SYSV) && defined(USE_SIGNAL)))
  44. #undef JOBS
  45. #endif
  46.  
  47. /* #define    FASCIST            /* Fascist getopts */
  48. /* #define    SHARPBANG        /* Hack to handle #! */
  49. /* #define    SILLY            /* Game of life in EMACS mode */
  50. /* #define    SWTCH            /* Handle SWTCH for shl(1) */
  51.  
  52. #endif    /* _CONFIG_H */
  53.