home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / trn_12.zip / src / config.h < prev    next >
C/C++ Source or Header  |  1993-12-05  |  7KB  |  175 lines

  1. /* config.h
  2.  * This file was produced by running the config.h.SH script, which
  3.  * gets its values from config.sh, which is generally produced by
  4.  * running Configure.
  5.  *
  6.  * Feel free to modify any of this as the need arises.  Note, however,
  7.  * that running config.h.SH again will wipe out any changes you've made.
  8.  * For a more permanent change edit config.sh and rerun config.h.SH.
  9.  * $Id: config.h.SH,v 4.4.2.1 1991/12/01 18:05:42 sob PATCH_2 sob $
  10.  *
  11.  * $Log: config.h.SH,v $
  12.  * Revision 4.4.2.1  1991/12/01  18:05:42  sob
  13.  * Fixed problems with CTRLA flag.
  14.  *
  15.  * Revision 4.4  1991/09/09  20:18:23  sob
  16.  * release 4.4
  17.  *
  18.  *
  19.  * 
  20.  */
  21. /* This software is Copyright 1991 by Stan Barber. 
  22.  *
  23.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  24.  * use this software as long as: there is no monetary profit gained
  25.  * specifically from the use or reproduction of this software, it is not
  26.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  27.  * included prominently in any copy made. 
  28.  *
  29.  * The author make no claims as to the fitness or correctness of this software
  30.  * for any use whatsoever, and it is provided as is. Any use of this software
  31.  * is at the user's own risk. 
  32.  */
  33.  
  34. /* name of the site.  May be overridden by HOSTFILE, gethostname, uname, etc. */
  35. #define SITENAME uupc_rc_settings.site
  36. /*#undef HOSTFILE ""    /* defined if we read the hostname from a file */
  37.  
  38. /* domain name for the site */
  39. #define OURDOMAIN uupc_rc_settings.domain
  40.  
  41. /* name of the organization, may be a file name */
  42. #define ORGNAME uupc_rc_settings.organization
  43.  
  44. /* ignore the ORGANIZATION environment variable */
  45. /*#undef IGNOREORG        /**/
  46.  
  47. /* login name of news administrator, if any. */
  48. #define NEWSADMIN uupc_rc_settings.newsadmin
  49.  
  50. /* news library, may use only ~ and %l expansion */
  51. #define LIB uupc_rc_settings.trnlib
  52.  
  53. /* rn private library, may use ~ expansion, %x and %l */
  54. #define RNLIB uupc_rc_settings.trnlib
  55.  
  56. /* mthreads private files */
  57. #define MTLIB uupc_rc_settings.trnlib
  58.  
  59. /* location of the news spool directory, may use ~ expansion, %x and %l */
  60. #define SPOOL uupc_rc_settings.news_dir
  61.  
  62. /* the server's spool directory if generating an NNTP trn & a local mthreads */
  63. /*#undef SERVERSPOOL ""    /* forces local mthreads */
  64.  
  65. /* put thread files in each spool directory, unless THREAD_DIR is defined */
  66. /*#undef THREAD_DIR "/usr/spool/threads"    /* base directory */
  67.  
  68. /* save in subdirectories unless LONG_THREAD_NAMES & THREAD_DIR are defined */
  69. /*#undef LONG_THREAD_NAMES        /* not for short-name systems */
  70.  
  71. /* I doubt you'd want to undefine this, but someone may */
  72. #define USETMPTHREAD            /* use tmpthread to update threads */
  73.  
  74. /* location of the active file, may use ~ expansion, %x and %l */
  75. #define ACTIVE_OPT uupc_rc_settings.active_opt
  76.  
  77. /* define where the active.times file is kept if we're using it */
  78. #define ACTIVE_TIMES uupc_rc_settings.active_times  /* including name */
  79.  
  80. /* location of spooled mail */
  81. #define MAILFILE uupc_rc_settings.mailfile
  82.  
  83. /* default shell--ok to be a slow shell like csh */
  84. #define PREFSHELL uupc_rc_settings.prefshell
  85.  
  86. /* default editor */
  87. #define DEFEDITOR uupc_rc_settings.editor
  88.  
  89. /* root uid */
  90. #define ROOTID 0
  91.  
  92. /* what is the first character of a mailbox? */
  93. #define MBOXCHAR 'F'
  94.  
  95. /* how to cancel an article */
  96. #define CANCEL "inews -h <%h"
  97.  
  98. /* distribution groups */
  99. #define LOCDIST   uupc_rc_settings.locdist
  100. #define ORGDIST   uupc_rc_settings.orgdist
  101. #define CITYDIST  uupc_rc_settings.citydist
  102. #define STATEDIST uupc_rc_settings.statedist
  103. #define CNTRYDIST uupc_rc_settings.countrydist
  104. #define CONTDIST  uupc_rc_settings.continentdist
  105.  
  106. #define THREAD_INIT TRUE
  107. #define SELECT_INIT TRUE
  108.  
  109. /*#undef index  strchr        /* cultural */
  110. /*#undef rindex strrchr        /*  differences? */
  111. /*#undef bcopy(s,d,n) memcpy((char*)d,(char*)s,(int)n)    /* Different */
  112. /*#undef bzero(d,n)   memset((char*)d,0,(int)n)        /*  flavors. */
  113. /*#undef bcmp(s,s2,n) memcmp((char*)s,(char*)s2,(int)n) /**/
  114. #define RENAME        /* is rename() a system call? */
  115. #define FTRUNCATE    /* is ftruncate() available? */
  116. #define USLEEP        /* do we have usleep? */
  117. /*#undef USELECT     /* should we use select to emulate usleep? */
  118. #define STRFTIME   /* is strftime() available? */
  119. #define FOUNDSIZET    /* is size_t around? */
  120. /*#undef CHSIZE        /* is chsize() available? */
  121. /*#undef TZSET        /* modern timezone functions? */
  122. /*#undef void int    /* is void to be avoided? */
  123. /*#undef vfork fork    /* is vfork too virtual? */
  124. #define SUNOS4        /* running SunOS 4.X? */
  125. /*#undef EUNICE        /* no linking? */
  126. /*#undef VMS        /* not currently used, here just in case */
  127. #define GETCWD     /* do we have getcwd()? */
  128. #undef GETWD       /* do we have getwd()? */
  129. /*#undef SETVBUF     /* do we have setvbuf()? */
  130. #define SETBUFFER    /* do we have setbuffer()? */
  131. /*#undef USENDIR     /* include ndir.c? */
  132. /*#undef LIBNDIR     /* include /usr/include/ndir.h? */
  133. #define DIRTYPE dirent
  134. #ifndef USENDIR
  135. #define DIRINC <dirent.h>
  136. #endif
  137. #define MININACT    /* include 2.10.2 optimization? */
  138. /*#undef PORTABLE    /* do we do extra lookups to start up? */
  139. #undef PASSNAMES   /* do names come from the passwd file? */
  140.             /*  (undef to take name from ~/.fullname) */
  141. #define BERKNAMES    /* if so, are they Berkeley format? */
  142.             /* (that is, ":name,stuff:") */
  143. /*#undef USGNAMES    /* or are they USG format? */
  144.             /* (that is, ":stuff-name(stuff):") */
  145. /*#undef WHOAMI        /* should we include whoami.h? */
  146. /*#undef RDCHK        /* do we have rdchk()? */
  147. #define TERMIO        /* is this a termio system? */
  148. /*#undef TERMIOS     /* is this a termios system? */
  149. #define FCNTL        /* should we include fcntl.h? */
  150. #define IOCTL        /* are ioctl args all defined in one place? */
  151. /*#undef PTEM        /* has the ptem.h include file ? */
  152. #define NORMSIG     /* use signal rather than sigset? */
  153. #define SIGBLOCK    /* use sigblock and sigsetmask */
  154. /*#undef HAVESIGHOLD    /* use sighold and sigrelse */
  155. #define SIGRET void    /* what does signal() return? */
  156. #define HAVETERMLIB    /* do we have termlib-style routines? */
  157. #define GETUIDGID    /* allow setuid (if possible) */
  158. #define GETPWENT    /* should we include getpwent? */
  159. #define INTERNET    /* does our mailer do INTERNET addressing? */
  160. /*#undef GETHOSTNAME    /* do we have a gethostname function? */
  161. /*#undef DOUNAME     /* do we have a uname function? */
  162. /*#undef PHOSTNAME ""    /* how to get host name with popen */
  163. #define NORELAY     /* 2.10.3 doesn't have Relay-Version line */
  164. /*#undef SERVER        /* rrn server code */
  165. /*#undef SERVER_FILE ""    /* news server file */
  166. /*#undef USESYSLOG     /* use syslog for mthreads' log messages */
  167. /*#undef XTHREAD     /* get thread files via NNTP */
  168. /*#undef HAVEINN        /* are we running inn? */
  169.  
  170. /************************************************************
  171. *** we need to define NOLINEBUF so that FLUSH will be
  172. *** defined to fflush(stdout) in common.h   *****************/
  173. #define NOLINEBUF 1
  174.  
  175.