# 2.11BSD#431 - /usr/src/bin/tcsh/config.h

##### Macros

    BSDJOBS           X
    BSDNICE           X
    BSDSIGS           X
    BSDTIMES          X
    DUP2              X
    SVID              X
    UTHOST            X
    VFORK             X

       1: /*
       2:  * config.h -- configure various defines for tcsh
       3:  *
       4:  * All source files should #include this FIRST.
       5:  *
       6:  * Edit this to match your system type.
       7:  */
       8:
       9: /****************** System dependant compilation flags ****************/
      10: /*
      11:  * POSIX	This system supports IEEE Std 1003.1-1988 (POSIX).
      12:  */
      13: #undef POSIX
      14:
      15: /*
      16:  * POSIXJOBS	This system supports the optional IEEE Std 1003.1-1988 (POSIX)
      17:  *		job control facilities.
      18:  */
      19: #undef POSIXJOBS
      20:
      21: /*
      22:  * VFORK	This machine has a vfork().
      23:  *		It used to be that for job control to work, this define
      24:  *		was mandatory. This is not the case any more.
      25:  *		If you think you still need it, but you don't have vfork,
      26:  *		define this anyway and then do #define vfork fork.
      27:  *		I do this anyway on a Sun because of yellow pages brain damage,
      28:  *		[should not be needed under 4.1]
      29:  *		and on the iris4d cause	SGI's fork is sufficiently "virtual"
      30:  *		that vfork isn't necessary.  (Besides, SGI's vfork is weird).
      31:  *		Note that some machines eg. rs6000 have a vfork, but not
      32:  *		with the berkeley semantics, so we cannot use it there either.
      33:  */
      34: #define VFORK
      35:
      36: /*
      37:  * BSDJOBS	You have BSD-style job control (both process groups and
      38:  *		a tty that deals correctly
      39:  */
      40: #define BSDJOBS
      41:
      42: /*
      43:  * BSDSIGS	You have 4.2-style signals, rather than USG style.
      44:  *		Note: POSIX systems should not define this unless they
      45:  *		have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
      46:  */
      47: #define BSDSIGS
      48:
      49: /*
      50:  * BSDTIMES	You have BSD-style process time stuff (like rusage)
      51:  *		This may or may not be true.  For example, Apple Unix
      52:  *		(OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
      53:  */
      54: #define BSDTIMES
      55:
      56: /*
      57:  * BSDNICE	Your system uses setpriority() instead of nice, to
      58:  *		change a processes scheduling priority
      59:  */
      60: #define BSDNICE
      61:
      62: /*
      63:  * TERMIO	You have struct termio instead of struct sgttyb.
      64:  * 		This is usually the case for SVID systems, where
      65:  *		BSD uses sgttyb. POSIX systems should define this
      66:  *		anyway, even though they use struct termios.
      67:  */
      68: #undef TERMIO
      69:
      70: /*
      71:  * SVID		Your machine is SVID complient (Sys V, HPUX, A/UX)
      72:  *		NOTE: don't do this if you are on a Pyramid -- tcsh is
      73:  *		built in a BSD universe.
      74:  *		Set SVID to 1, 2, or 3, depending the version of System V
      75:  *		you are running. Or set it to 0 if you are not SVID based
      76:  */
      77: #define SVID    0
      78:
      79: /*
      80:  * YPBUGS	Work around Sun YP bugs that cause expansion of ~username
      81:  *		to send command output to /dev/null
      82:  */
      83: #undef YPBUGS
      84:
      85: /*
      86:  * SIGVOID	Define this if your signal handlers return void.  On older
      87:  *		systems, signal returns int, but on newer ones, it returns void.
      88:  */
      89: #undef SIGVOID
      90:
      91: /*
      92:  * DUP2		Define this if your system supports dup2().
      93:  */
      94: #define DUP2
      95:
      96: /*
      97:  * UTHOST	Does the utmp file have a host field?
      98:  */
      99: #define UTHOST
     100:
     101: /*
     102:  * DIRENT	Your system has <dirent.h> instead of <sys/dir.h>
     103:  */
     104: #undef DIRENT
     105: /****************** local defines *********************/
     106: /****************** configurable hacks ****************/
     107: /* have been moved to config_f.h */
     108: #include "config_f.h"
     109:
     110: #undef NLS

#### Defined macros

BSDJOBS defined in line 40; never used
BSDNICE defined in line 60; used 3 times

- in /usr/src/bin/tcsh/sh.proc.c line 1731
- in /usr/src/bin/tcsh/sh.sem.c line 458
- in /usr/src/bin/tcsh/sh.time.c line 155

BSDSIGS defined in line 47; used 109 times

- in /usr/src/bin/tcsh/ed.init.c line 148, 154, 178, 933, 969
- in /usr/src/bin/tcsh/ed.screen.c line 1183, 1189, 1283
- in /usr/src/bin/tcsh/sh.c line 134, 416, 790, 805, 1025, 1062, 1091, 1105, 1259-1267(3), 1286, 1356, 1439
- in /usr/src/bin/tcsh/sh.exec.c line 192
- in /usr/src/bin/tcsh/sh.func.c line 156, 170, 179, 513, 520, 573, 580, 588, 598, 916, 1003, 1026
- in /usr/src/bin/tcsh/sh.hist.c line 137
- in /usr/src/bin/tcsh/sh.proc.c line 450, 457, 466, 483, 490, 505, 528, 545-549(2), 561, 568, 630-635(2), 647, 654, 1243, 1265, 1372-1377(2), 1460, 1480-1485(2), 1511, 1636, 1667, 1676, 1695, 1770, 1801, 1815, 1849
- in /usr/src/bin/tcsh/sh.sem.c line 83, 229, 240, 259, 271, 283, 309, 329, 345, 364, 385, 398, 487
- in /usr/src/bin/tcsh/sh.set.c line 835
- in /usr/src/bin/tcsh/tc.func.c line 209, 254, 440, 448, 465, 521-525(2), 540, 556-560(2), 575, 593-597(2), 621
- in /usr/src/bin/tcsh/tc.os.c line 421, 484
- in /usr/src/bin/tcsh/tc.sched.c line 195, 213, 265
- in /usr/src/bin/tcsh/tc.sig.c line 71
- in /usr/src/bin/tcsh/tc.who.c line 155, 169, 177, 189, 204, 212, 222, 389

BSDTIMES defined in line 54; used 32 times

- in /usr/src/bin/tcsh/sh.c line 1576
- in /usr/src/bin/tcsh/sh.func.c line 1224, 1491, 1499, 1513, 1560
- in /usr/src/bin/tcsh/sh.hist.c line 203
- in /usr/src/bin/tcsh/sh.print.c line 84
- in /usr/src/bin/tcsh/sh.proc.c line 111, 175, 219, 247, 314, 325, 355, 803, 1088, 1123, 1689
- in /usr/src/bin/tcsh/sh.time.c line 51, 61, 74, 104, 162, 219, 278, 310, 368, 384, 400, 413, 562

DUP2 defined in line 94; used 2 times

- in /usr/src/bin/tcsh/sh.misc.c line 306, 327

SVID defined in line 77; used 10 times

- in /usr/src/bin/tcsh/ed.screen.c line 1218
- in /usr/src/bin/tcsh/sh.func.c line 940, 993
- in /usr/src/bin/tcsh/sh.init.c line 221
- in /usr/src/bin/tcsh/sh.proc.c line 49, 255
- in /usr/src/bin/tcsh/tc.sig.c line 47, 73, 194
- in /usr/src/bin/tcsh/tc.vers.c line 180

UTHOST defined in line 99; used 9 times

- in /usr/src/bin/tcsh/tc.who.c line 54, 67, 91, 164, 285, 306, 340, 430, 526

VFORK defined in line 34; used 23 times

- in /usr/src/bin/tcsh/sh.exec.c line 88, 133, 208, 214, 233-242(3), 249-252(2), 265, 300, 317, 371-375(2), 396, 496
- in /usr/src/bin/tcsh/sh.init.c line 90
- in /usr/src/bin/tcsh/sh.sem.c line 58, 85-89(2), 218, 249, 593

#### Usage of this include

config.h used 47 times

- in /usr/src/bin/tcsh/alloc11.c line 5
- in /usr/src/bin/tcsh/ed.chared.c line 37
- in /usr/src/bin/tcsh/ed.defns.c line 36
- in /usr/src/bin/tcsh/ed.init.c line 36
- in /usr/src/bin/tcsh/ed.inputl.c line 37
- in /usr/src/bin/tcsh/ed.refresh.c line 37
- in /usr/src/bin/tcsh/ed.screen.c line 37
- in /usr/src/bin/tcsh/ed.xmap.c line 94
- in /usr/src/bin/tcsh/glob.c line 37
- in /usr/src/bin/tcsh/jpnerror.c line 2
- in /usr/src/bin/tcsh/sh.c line 37
- in /usr/src/bin/tcsh/sh.char.c line 37
- in /usr/src/bin/tcsh/sh.dir.c line 36
- in /usr/src/bin/tcsh/sh.dol.c line 37
- in /usr/src/bin/tcsh/sh.err.c line 38
- in /usr/src/bin/tcsh/sh.exec.c line 37
- in /usr/src/bin/tcsh/sh.exp.c line 37
- in /usr/src/bin/tcsh/sh.file.c line 38
- in /usr/src/bin/tcsh/sh.func.c line 37
- in /usr/src/bin/tcsh/sh.glob.c line 37
- in /usr/src/bin/tcsh/sh.hist.c line 36
- in /usr/src/bin/tcsh/sh.init.c line 37
- in /usr/src/bin/tcsh/sh.lex.c line 37
- in /usr/src/bin/tcsh/sh.misc.c line 37
- in /usr/src/bin/tcsh/sh.parse.c line 37
- in /usr/src/bin/tcsh/sh.print.c line 37
- in /usr/src/bin/tcsh/sh.proc.c line 37
- in /usr/src/bin/tcsh/sh.sem.c line 38
- in /usr/src/bin/tcsh/sh.set.c line 37
- in /usr/src/bin/tcsh/sh.time.c line 37
- in /usr/src/bin/tcsh/tc.alloc.c line 44
- in /usr/src/bin/tcsh/tc.bind.c line 37
- in /usr/src/bin/tcsh/tc.const.c line 37
- in /usr/src/bin/tcsh/tc.disc.c line 38
- in /usr/src/bin/tcsh/tc.func.c line 37
- in /usr/src/bin/tcsh/tc.os.c line 37
- in /usr/src/bin/tcsh/tc.printf.c line 39
- in /usr/src/bin/tcsh/tc.prompt.c line 37
- in /usr/src/bin/tcsh/tc.sched.c line 39
- in /usr/src/bin/tcsh/tc.sig.c line 37
- in /usr/src/bin/tcsh/tc.str.c line 38
- in /usr/src/bin/tcsh/tc.vers.c line 37
- in /usr/src/bin/tcsh/tc.who.c line 37
- in /usr/src/bin/tcsh/tw.help.c line 40
- in /usr/src/bin/tcsh/tw.init.c line 37
- in /usr/src/bin/tcsh/tw.parse.c line 40
- in /usr/src/bin/tcsh/tw.spell.c line 37

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