home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / nn.tar / nn-6.5.1 / conf / s-sys5.h < prev    next >
C/C++ Source or Header  |  1996-08-07  |  3KB  |  130 lines

  1. /*
  2.  *    This is a generic System V Release 2 & 3 file.
  3.  *
  4.  *    If you need to modify anything, make a new s- file,
  5.  *    #include this file, and #define or #undef a few symbols.
  6.  */
  7.  
  8.  
  9. /*
  10.  *    Include header files containing the following definitions:
  11.  *
  12.  *         off_t, time_t, struct stat
  13.  */
  14.  
  15. #ifdef lint
  16. struct proc {    /* sys/types.h references this on many systems */
  17.     int keep_lint_happy;
  18. };
  19. #endif
  20.  
  21. #include <sys/types.h>
  22. #include <sys/stat.h>
  23.  
  24. /*
  25.  *    Define if your system has system V like ioctls
  26.  */
  27.  
  28. #define    HAVE_TERMIO_H            /* */
  29.  
  30. /*
  31.  *    Define to use terminfo database.
  32.  *    Otherwise, termcap is used
  33.  */
  34.  
  35. #define    USE_TERMINFO            /* */
  36.  
  37. /*
  38.  *    Specify the library containing the termcap/terminfo access routines.
  39.  *    Notice:  nn does not use curses.
  40.  *    Notice:  You must also specify whether termcap or terminfo is
  41.  *         used when you edit config.h (see below).
  42.  */
  43.  
  44. #define    TERMLIB -lcurses
  45.  
  46. /*
  47.  *    Define HAVE_STRCHR if strchr() and strrchr() are available
  48.  */
  49.  
  50. #define HAVE_STRCHR            /* */
  51.  
  52. /*
  53.  *    Define if a signal handler has type void (see signal.h)
  54.  */
  55.  
  56. #define    SIGNAL_HANDLERS_ARE_VOID    /* */
  57.  
  58. /*
  59.  *    Define if signals must be set again after they are caught
  60.  */
  61.  
  62. #define    RESET_SIGNAL_WHEN_CAUGHT    /* */
  63.  
  64. /*
  65.  *    Define if your system has BSD like job control (SIGTSTP works)
  66.  */
  67.  
  68. /* #define HAVE_JOBCONTROL            */
  69.  
  70. /*
  71.  *    Define if your system provides the "directory(3X)" access routines
  72.  *
  73.  *    If true, include the header file(s) required by the package below
  74.  *    (remember that <sys/types.h> or equivalent is included above)
  75.  *    Also typedef Direntry to the proper struct type.
  76.  */
  77.  
  78. #ifdef NO_DIRENT_H
  79. #undef NO_DIRENT_H
  80. #else
  81.  
  82. #define    HAVE_DIRECTORY            /* */
  83.  
  84. #include <dirent.h>            /* System V */
  85. typedef struct dirent Direntry;        /* System V */
  86.  
  87. #endif
  88.  
  89. /*
  90.  *    Define if your system has a mkdir() library routine
  91.  */
  92.  
  93. #define    HAVE_MKDIR            /* */
  94.  
  95. /*
  96.  *    Define HAVE_GETHOSTNAME if your system provides a BSD like
  97.  *    gethostname routine.
  98.  *    Otherwise, define HAVE_UNAME if uname() is avaiable.
  99.  *    As a final resort, define HOSTNAME to the name of your system.
  100.  */
  101.  
  102. #define    HAVE_UNAME            /* System V */
  103.  
  104. /*
  105.  *    Define DETATCH_TERMINAL to be a command sequence which
  106.  *    will detatch a process from the control terminal
  107.  *    Also include files needed to perform this HERE.
  108.  *    If not possible, just define it (empty)
  109.  */
  110.  
  111. #define    DETATCH_TERMINAL setpgrp();    /* System V */
  112.  
  113. /*
  114.  *    Specify where the Bourne Shell is.
  115.  */
  116.  
  117. #define SHELL        "/bin/sh"
  118.  
  119. /*
  120.  *    Specify the default mailer to be invoked by nnmail
  121.  */
  122.  
  123. #define    MAILX        "/usr/bin/mailx"    /* SV */
  124.  
  125. /*
  126.  *    Define the maximum length of any pathname that may occur
  127.  */
  128.  
  129. #define    FILENAME     256
  130.