home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / pcomm-2.0.2 / part05 / Unixpc.shar / config.h next >
Encoding:
C/C++ Source or Header  |  1993-04-13  |  2.5 KB  |  93 lines

  1. /*
  2.  * Various tunable parameters.  This should appear before any other local
  3.  * header file.
  4.  */
  5.  
  6. /* Are you using a Berkeley flavor of Unix? */
  7. #undef    BSD
  8.  
  9. /* Use the dialing routines specific to the AT&T Unix PC 7300/3b1 */
  10. #define    UNIXPC
  11.  
  12. /* Older versions of curses(3) use termcap in lieu of terminfo */
  13. #undef    OLDCURSES
  14.  
  15. /* Should a missing video attribute be promoted to standout? */
  16. #define    NOPROMOTE
  17.  
  18. /* Should Pcomm make a log of all phone calls? */
  19. #define    LOG_CALLS
  20.  
  21. /* The name of the log file (if used).  */
  22. #define    LOG_FILE    "/usr/adm/phone.calls"
  23.  
  24. /* Should long distance (toll) calls be limited to a specific group? */
  25. #undef    LIMIT_LD
  26.  
  27. /* The name of the privileged group for limiting long distance calls */
  28. #define    GROUP_NAME    "uucp"
  29.  
  30. /* The path to the line printer program */
  31. #define    LPR        "lp -s"
  32.  
  33. /* The path to the "pretty" printer program (if none, use "pr | lp") */
  34. #define    LPRINT        "pr | lp -s"
  35.  
  36. /* The path to the default directory containing the Pcomm support files */
  37. #define    DEFAULT_DIR    "/local/lib/pcomm"
  38.  
  39. /* The path to the directory where UUCP locks are found */
  40. #define    LOCK_DIR    "/usr/spool/uucp"
  41.  
  42. /* Do the lock files use ASCII encoded PID's? */
  43. #undef    ASCII_PID
  44.  
  45. /* Fold the last character of the lock to lower case? */
  46. #undef    XENIX_LOCKS
  47.  
  48. /* Use the new SVR4 lock format? */
  49. #undef    SVR4_LOCKS
  50.  
  51. /* Does the status line scroll up on "magic cookie" terminals? */
  52. #undef    XMC_BROKE
  53.  
  54. /* Does the alarm() system call work correctly with the wgetch() function? */
  55. #undef    WGETCH_BROKE
  56.  
  57. /* Does the O_NDELAY mode tend to stick around when asked to leave? */
  58. #undef    O_NDELAY_BROKE
  59.  
  60. /* The size of the serial port character buffer (or Stream buffer) */
  61. #define    CLIST_SIZ    64
  62.  
  63. /* The size of the input buffer (should be about the same as CLIST_SIZ) */
  64. #define    INPUT_BUF    64
  65.  
  66. /* The size of the output buffer (should be about one half INPUT_BUF) */
  67. #define    OUTPUT_BUF    32
  68.  
  69. /* Does memmove() exist or is memcpy() well behaved when overlapping? */
  70. /* #define    MEMMOVE(a,b,c)    memmove(a,b,c) */
  71. #define    MEMMOVE(a,b,c)    memcpy(a,b,c)
  72. /* #define    MEMMOVE(a,b,c)    bcopy(b,a,c) */
  73.  
  74. /* Does your Unix allow flip-flop between real and effective user IDs? */
  75. #undef    SETUID_BROKE
  76.  
  77. /* Does your system have the strstr() function? */
  78. #undef    HAVE_STRSTR
  79.  
  80. /* Does your system have the usleep() function? */
  81. #undef    HAVE_USLEEP
  82.  
  83. /* Does your system have the truncate() system call? */
  84. #undef    HAVE_TRUNCATE
  85.  
  86. /* typedef void SIG_TYPE; */
  87. typedef int SIG_TYPE;
  88.  
  89. #ifdef BSD
  90. #define    strchr    index
  91. #define    strrchr    rindex
  92. #endif /* BSD */
  93.