1 | /* $Header: /afs/dev.mit.edu/source/repository/third/tcsh/config_f.h,v 1.3 1998-10-04 01:39:27 danw 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 | #define 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 | #define NLS |
---|
60 | |
---|
61 | /* |
---|
62 | * NLS_CATALOGS:Use Native Language System catalogs for |
---|
63 | * international messages. |
---|
64 | * Routines like catopen() are needed |
---|
65 | * if you don't have <nl_types.h>, you don't want |
---|
66 | * to define this. |
---|
67 | */ |
---|
68 | #undef NLS_CATALOGS |
---|
69 | |
---|
70 | /* |
---|
71 | * LOGINFIRST Source ~/.login before ~/.cshrc |
---|
72 | */ |
---|
73 | #undef LOGINFIRST |
---|
74 | |
---|
75 | /* |
---|
76 | * VIDEFAULT Make the VI mode editor the default |
---|
77 | */ |
---|
78 | #undef VIDEFAULT |
---|
79 | |
---|
80 | /* |
---|
81 | * KAI use "bye" command and rename "log" to "watchlog" |
---|
82 | */ |
---|
83 | #undef KAI |
---|
84 | |
---|
85 | /* |
---|
86 | * TESLA drops DTR on logout. Historical note: |
---|
87 | * tesla.ee.cornell.edu was a vax11/780 with a develcon |
---|
88 | * switch that sometimes would not hang up. |
---|
89 | */ |
---|
90 | #undef TESLA |
---|
91 | |
---|
92 | /* |
---|
93 | * DOTLAST put "." last in the default path, for security reasons |
---|
94 | */ |
---|
95 | #define DOTLAST |
---|
96 | |
---|
97 | /* |
---|
98 | * NODOT Don't put "." in the default path, for security reasons |
---|
99 | */ |
---|
100 | #undef NODOT |
---|
101 | |
---|
102 | /* |
---|
103 | * AUTOLOGOUT tries to determine if it should set autologout depending |
---|
104 | * on the name of the tty, and environment. |
---|
105 | * Does not make sense in the modern window systems! |
---|
106 | */ |
---|
107 | #undef AUTOLOGOUT |
---|
108 | |
---|
109 | /* |
---|
110 | * SUSPENDED Newer shells say 'Suspended' instead of 'Stopped'. |
---|
111 | * Define to get the same type of messages. |
---|
112 | */ |
---|
113 | #define SUSPENDED |
---|
114 | |
---|
115 | /* |
---|
116 | * KANJI Ignore meta-next, and the ISO character set. Should |
---|
117 | * be used with SHORT_STRINGS |
---|
118 | * |
---|
119 | */ |
---|
120 | #undef KANJI |
---|
121 | |
---|
122 | /* |
---|
123 | * DSPMBYTE add variable "dspmbyte" and display multi-byte string at |
---|
124 | * only output, when "dspmbyte" is set. |
---|
125 | */ |
---|
126 | #undef DSPMBYTE |
---|
127 | |
---|
128 | /* |
---|
129 | * MBYTEDEBUG when "dspmbyte" is changed, set multi-byte checktable to |
---|
130 | * variable "mbytemap". |
---|
131 | * (use for multi-byte table check) |
---|
132 | */ |
---|
133 | #undef MBYTEDEBUG |
---|
134 | |
---|
135 | /* |
---|
136 | * NEWGRP Provide a newgrp builtin. |
---|
137 | */ |
---|
138 | #undef NEWGRP |
---|
139 | |
---|
140 | /* |
---|
141 | * SYSMALLOC Use the system provided version of malloc and friends. |
---|
142 | * This can be much slower and no memory statistics will be |
---|
143 | * provided. |
---|
144 | */ |
---|
145 | #if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) |
---|
146 | # define SYSMALLOC |
---|
147 | #else |
---|
148 | # undef SYSMALLOC |
---|
149 | #endif |
---|
150 | |
---|
151 | /* |
---|
152 | * USE_ACCESS Use access(2) rather than stat(2) when POSIX is defined. |
---|
153 | * POSIX says to use stat, but stat(2) is less accurate |
---|
154 | * than access(2) for determining file access. |
---|
155 | */ |
---|
156 | #undef USE_ACCESS |
---|
157 | |
---|
158 | /* |
---|
159 | * REMOTEHOST Try to determine the remote host that we logged in from |
---|
160 | * using first getpeername, and then the utmp file. If |
---|
161 | * successful, set $REMOTEHOST to the name or address of the |
---|
162 | * host |
---|
163 | */ |
---|
164 | #define REMOTEHOST |
---|
165 | |
---|
166 | /* |
---|
167 | * COLOR_LS_F Do you want to use builtin color ls-F ? |
---|
168 | * |
---|
169 | */ |
---|
170 | #define COLOR_LS_F |
---|
171 | |
---|
172 | /* |
---|
173 | * RCSID This defines if we want rcs strings in the binary or not |
---|
174 | * |
---|
175 | */ |
---|
176 | #if !defined(lint) && !defined(SABER) && !defined(__CLCC__) |
---|
177 | # ifndef __GNUC__ |
---|
178 | # define RCSID(id) static char *rcsid = (id); |
---|
179 | # else |
---|
180 | # define RCSID(id) static char *rcsid(const char *a) { return rcsid(a = id); } |
---|
181 | # endif /* !__GNUC__ */ |
---|
182 | #else |
---|
183 | # define RCSID(id) /* Nothing */ |
---|
184 | #endif /* !lint && !SABER */ |
---|
185 | |
---|
186 | #endif /* _h_config_f */ |
---|