# 2.11BSD#431 - /usr/src/new/rn/config.h

##### Macros

    ACTIVE            X
    BERKNAMES         X
    CANCEL            X
    CITYDIST          X
    CNTRYDIST         X
    CONTDIST          X
    DEFEDITOR         X
    FCNTL             X
    GETHOSTNAME       X
    HAVETERMLIB       X
    INTERNET          X
    IOCTL             X
    LIB               X
    LOCDIST           X
    MAILFILE          X
    MBOXCHAR          X
    MININACT          X
    NORELAY           X
    NORMSIG           X
    ORGDIST           X
    ORGNAME           X
    PASSNAMES         X
    PREFSHELL         X
    RNLIB             X
    ROOTID            X
    SERVER            X
    SERVER_FILE       X
    SERVER_HOST       X
    SITENAME          X
    SPOOL             X
    STATEDIST         X

       1: /* config.h
       2:  * This file was produced by running the Configure script.
       3:  * Feel free to modify any of this as the need arises.
       4:  */
       5:
       6: /* name of the site.  May be overridden by gethostname, uname, etc. */
       7: #define SITENAME "wlonex.iipo.gtegsc.com"
       8:
       9: /* name of the organization, may be a file name */
      10: #define ORGNAME "GTE Government Systems"
      11:
      12: /* login name of news administrator, if any. */
      13: #undef NEWSADMIN "root"
      14:
      15: /* news library, may use only ~ and %l expansion */
      16: #define LIB "/news/lib"
      17:
      18: /* rn private library, may use ~ expansion, %x and %l */
      19: #define RNLIB "/news/lib"
      20:
      21: /* location of the news spool directory, may use ~ expansion, %x and %l */
      22: #define SPOOL "/tmp"
      23:
      24: /* location of the active file, may use ~ expansion, %x and %l */
      25: #define ACTIVE ""
      26:
      27: /* location of spooled mail */
      28: #define MAILFILE "/usr/spool/mail/%L"
      29:
      30: /* default shell--ok to be a slow shell like csh */
      31: #define PREFSHELL "/bin/sh"
      32:
      33: /* default editor */
      34: #define DEFEDITOR "/usr/ucb/vi"
      35:
      36: /* root uid */
      37: #define ROOTID 0
      38:
      39: /* what is the first character of a mailbox? */
      40: #define MBOXCHAR 'F'
      41:
      42: /* how to cancel an article */
      43: #define CANCEL "inews -h <%h"
      44:
      45: /* distribution groups */
      46: #define LOCDIST "wlv"
      47: #define ORGDIST "iipo"
      48: #define CITYDIST "wlv"
      49: #define STATEDIST "ca"
      50: #define CNTRYDIST "usa"
      51: #define CONTDIST "na"
      52:
      53: #undef  index strchr    /* cultural */
      54: #undef  rindex strrchr  /*  differences? */
      55: #undef  void int    /* is void to be avoided? */
      56: #undef  vfork fork  /* is vfork too virtual? */
      57: #undef  EUNICE      /* no linking? */
      58: #undef  VMS     /* not currently used, here just in case */
      59: #undef  USENDIR     /* include ndir.c? */
      60: #undef  LIBNDIR     /* include /usr/include/ndir.h? */
      61: #define MININACT    /* include 2.10.2 optimization? */
      62: #undef  PORTABLE    /* do we do extra lookups to start up? */
      63: #define PASSNAMES   /* do names come from the passwd file? */
      64:                 /*  (undef to take name from ~/.fullname) */
      65: #define BERKNAMES   /* if so, are they Berkeley format? */
      66:                 /* (that is, ":name,stuff:") */
      67: #undef  USGNAMES    /* or are they USG format? */
      68:                 /* (that is, ":stuff-name(stuff):") */
      69: #undef  WHOAMI      /* should we include whoami.h? */
      70: #undef  TERMIO      /* is this a termio system? */
      71: #define     FCNTL       /* should we include fcntl.h? */
      72: #define     IOCTL       /* are ioctl args all defined in one place? */
      73: #define NORMSIG     /* use signal rather than sigset? */
      74: #define HAVETERMLIB /* do we have termlib-style routines? */
      75: #undef  GETPWENT    /* need we include slow getpwent? */
      76: #define INTERNET    /* does our mailer do INTERNET addressing? */
      77: #define GETHOSTNAME /* do we have a gethostname function? */
      78: #undef  DOUNAME     /* do we have a uname function? */
      79: #undef  PHOSTNAME ""    /* how to get host name with popen */
      80: #define     NORELAY         /* 2.10.3 doesn't have Relay-Version line */
      81: #define         SERVER          /* rrn server code */
      82: #define SERVER_HOST     ""
      83: #define SERVER_FILE "/news/lib/server"

#### Defined macros

ACTIVE defined in line 25; used 4 times

- in /usr/src/new/rn/common.h line 418
- in /usr/src/new/rn/ngdata.c line 55, 70-75(2)

BERKNAMES defined in line 65; used 1 times

- in /usr/src/new/rn/intrp.c line 970

CANCEL defined in line 43; used 2 times

- in /usr/src/new/rn/common.h line 649
- in /usr/src/new/rn/respond.c line 303

CITYDIST defined in line 48; never used
CNTRYDIST defined in line 50; never used
CONTDIST defined in line 51; never used
DEFEDITOR defined in line 34; used 2 times

- in /usr/src/new/rn/common.h line 449, 776

FCNTL defined in line 71; used 1 times

- in /usr/src/new/rn/common.h line 41

GETHOSTNAME defined in line 77; used 3 times

- in /usr/src/new/rn/intrp.c line 45-49(2), 129

HAVETERMLIB defined in line 74; used 1 times

- in /usr/src/new/rn/term.c line 140

INTERNET defined in line 76; used 1 times

- in /usr/src/new/rn/common.h line 530

IOCTL defined in line 72; used 1 times

- in /usr/src/new/rn/common.h line 37

LIB defined in line 16; used 2 times

- in /usr/src/new/rn/common.h line 398
- in /usr/src/new/rn/init.c line 82

LOCDIST defined in line 46; never used
MAILFILE defined in line 28; used 2 times

- in /usr/src/new/rn/common.h line 663
- in /usr/src/new/rn/ng.c line 1009

MBOXCHAR defined in line 40; used 3 times

- in /usr/src/new/rn/common.h line 185
- in /usr/src/new/rn/respond.c line 214-217(2)

MININACT defined in line 61; used 6 times

- in /usr/src/new/rn/common.h line 594, 650
- in /usr/src/new/rn/ngdata.c line 117, 202, 210, 217

NORELAY defined in line 80; used 4 times

- in /usr/src/new/rn/bits.c line 407-410(2), 425-427(2)

NORMSIG defined in line 73; used 1 times

- in /usr/src/new/rn/common.h line 193

ORGDIST defined in line 47; never used
ORGNAME defined in line 10; used 2 times

- in /usr/src/new/rn/common.h line 181
- in /usr/src/new/rn/intrp.c line 42

PASSNAMES defined in line 63; used 2 times

- in /usr/src/new/rn/common.h line 462
- in /usr/src/new/rn/intrp.c line 966

PREFSHELL defined in line 31; used 2 times

- in /usr/src/new/rn/common.h line 439
- in /usr/src/new/rn/util.c line 46

RNLIB defined in line 19; used 2 times

- in /usr/src/new/rn/common.h line 403
- in /usr/src/new/rn/init.c line 83

ROOTID defined in line 37; used 3 times

- in /usr/src/new/rn/common.h line 189
- in /usr/src/new/rn/respond.c line 284
- in /usr/src/new/rn/util.c line 224

SERVER defined in line 81; used 48 times

- in /usr/src/new/rn/addng.c line 128-132(2)
- in /usr/src/new/rn/artio.c line 27, 33, 46, 53, 88
- in /usr/src/new/rn/common.h line 571, 577, 586, 595, 602, 611
- in /usr/src/new/rn/final.c line 56, 63
- in /usr/src/new/rn/head.c line 184, 217, 265
- in /usr/src/new/rn/init.c line 60, 132
- in /usr/src/new/rn/ng.c line 114, 126, 140, 153, 323, 361, 503
- in /usr/src/new/rn/ngdata.c line 21, 28, 42, 68
- in /usr/src/new/rn/rcstuff.c line 57, 68, 75, 243, 254, 275, 287, 305, 347, 362, 517, 535
- in /usr/src/new/rn/respond.c line 240-242(2), 424-426(2)
- in /usr/src/new/rn/util.c line 48

SERVER_FILE defined in line 83; used 4 times

- in /usr/src/new/rn/getactive.c line 20-23(2)
- in /usr/src/new/rn/init.c line 136-139(2)

SERVER_HOST defined in line 82; never used
SITENAME defined in line 7; used 5 times

- in /usr/src/new/rn/intrp.c line 47, 53-62(3), 154

SPOOL defined in line 22; used 2 times

- in /usr/src/new/rn/common.h line 413
- in /usr/src/new/rn/intrp.c line 90

STATEDIST defined in line 49; never used

#### Usage of this include

config.h used 2 times

- in /usr/src/new/rn/common.h line 21
- in /usr/src/new/rn/getactive.c line 2

Last modified: 1992-06-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 754 |