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

##### Macros

    CSHDIRS           X
    DOTLAST           X
    SUSPENDED         X
    SYSMALLOC         X
    _h_config_f       X

       1: /* $Header: /home/hyperion/mu/christos/src/sys/tcsh-6.00/RCS/config_f.h,v 3.0 1991/07/04 21:54:11 christos Exp $ */
       2: /*
       3:  * config_f.h -- configure various defines for tcsh
       4:  *
       5:  * This is included by config.h.
       6:  *
       7:  * Edit this to match your particular feelings; this is set up to the
       8:  * way I like it.
       9:  */
      10: /*-
      11:  * Copyright (c) 1980, 1991 The Regents of the University of California.
      12:  * All rights reserved.
      13:  *
      14:  * Redistribution and use in source and binary forms, with or without
      15:  * modification, are permitted provided that the following conditions
      16:  * are met:
      17:  * 1. Redistributions of source code must retain the above copyright
      18:  *    notice, this list of conditions and the following disclaimer.
      19:  * 2. Redistributions in binary form must reproduce the above copyright
      20:  *    notice, this list of conditions and the following disclaimer in the
      21:  *    documentation and/or other materials provided with the distribution.
      22:  * 3. All advertising materials mentioning features or use of this software
      23:  *    must display the following acknowledgement:
      24:  *	This product includes software developed by the University of
      25:  *	California, Berkeley and its contributors.
      26:  * 4. Neither the name of the University nor the names of its contributors
      27:  *    may be used to endorse or promote products derived from this software
      28:  *    without specific prior written permission.
      29:  *
      30:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
      31:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
      32:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
      33:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
      34:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
      35:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
      36:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
      37:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
      38:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
      39:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      40:  * SUCH DAMAGE.
      41:  */
      42: #ifndef _h_config_f
      43: #define _h_config_f
      44:
      45: /*
      46:  * SHORT_STRINGS Use 16 bit characters instead of 8 bit chars
      47:  * 	         This fixes up quoting problems and eases implementation
      48:  *	         of nls...
      49:  *
      50:  */
      51: #undef SHORT_STRINGS
      52:
      53: /*
      54:  * NLS:		Use Native Language System
      55:  *		Routines like setlocale() are needed
      56:  *		if you don't have <locale.h>, you don't want
      57:  *		to define this.
      58:  */
      59: #undef NLS
      60:
      61: /*
      62:  * LOGINFIRST   Source ~/.login before ~/.cshrc
      63:  */
      64: #undef LOGINFIRST
      65:
      66: /*
      67:  * VIDEFAULT    Make the VI mode editor the default
      68:  */
      69: #undef VIDEFAULT
      70:
      71: /*
      72:  * KAI          use "bye" command and rename "log" to "watchlog"
      73:  */
      74: #undef KAI
      75:
      76: /*
      77:  * CSHDIRS    save a history like stack of directories
      78:  */
      79: #define CSHDIRS
      80:
      81: /*
      82:  * TESLA	drops DTR on logout. Historical note:
      83:  *		tesla.ee.cornell.edu was a vax11/780 with a develcon
      84:  *		switch that sometimes would not hang up.
      85:  */
      86: #undef TESLA
      87:
      88: /*
      89:  * DOTLAST      put "." last in the default path, for security reasons
      90:  */
      91: #define DOTLAST
      92:
      93: /*
      94:  * AUTOLOGOUT	tries to determine if it should set autologout depending
      95:  *		on the name of the tty, and environment.
      96:  *		Does not make sense in the modern window systems!
      97:  */
      98: #undef AUTOLOGOUT
      99:
     100: /*
     101:  * SUSPENDED	Newer shells say 'Suspended' instead of 'Stopped'.
     102:  *		Define to get the same type of messages.
     103:  */
     104: #define SUSPENDED
     105:
     106: /*
     107:  * KANJI	Ignore meta-next, and the ISO character set. Should
     108:  *		be used with SHORT_STRINGS
     109:  *
     110:  */
     111: #undef KANJI
     112:
     113: /*
     114:  * SYSMALLOC	Use the system provided version of malloc and friends.
     115:  *		This can be much slower and no memory statistics will be
     116:  *		provided.
     117:  */
     118: #define SYSMALLOC
     119:
     120: /*
     121:  * TCLONGNAME	print descriptive strings as well t_c_ names
     122:  *		Don't define this for BSD2: limited data space
     123:  */
     124: #undef TCLONGNAME
     125:
     126: /*
     127:  * LONGFUNCS	print descriptive strings as well function names
     128:  *		Don't define this for BSD2: limited data space
     129:  */
     130: #undef LONGFUNCS
     131:
     132: #endif /* _h_config_f */

#### Defined macros

CSHDIRS defined in line 79; used 12 times

- in /usr/src/bin/tcsh/sh.c line 93, 496, 830, 892, 1173, 1220
- in /usr/src/bin/tcsh/sh.dir.c line 58, 504, 1015, 1075
- in /usr/src/bin/tcsh/tc.const.c line 84
- in /usr/src/bin/tcsh/tc.vers.c line 369

DOTLAST defined in line 91; used 3 times

- in /usr/src/bin/tcsh/sh.c line 1694, 1724
- in /usr/src/bin/tcsh/tc.vers.c line 344

SUSPENDED defined in line 104; used 20 times

- in /usr/src/bin/tcsh/sh.err.c line 198
- in /usr/src/bin/tcsh/sh.init.c line 242, 270, 278, 297, 317, 331, 344, 353, 392, 399, 407, 458, 467, 527, 571, 580
- in /usr/src/bin/tcsh/sh.proc.c line 1005, 1051, 1412

SYSMALLOC defined in line 118; used 3 times

- in /usr/src/bin/tcsh/tc.alloc.c line 56, 562
- in /usr/src/bin/tcsh/tc.vers.c line 379

_h_config_f defined in line 43; used 1 times

- in line 42

#### Usage of this include

config_f.h used 1 times

- in /usr/src/bin/tcsh/config.h line 108

Last modified: 1991-08-21 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 543 |