1 /* $XConsortium: variables.c /main/3 1995/11/01 15:57:22 rswiston $ */
2 /***************************************************************
6 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF *
7 * AT&T BELL LABORATORIES *
8 * AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN *
9 * ACCORDANCE WITH APPLICABLE AGREEMENTS *
11 * Copyright (c) 1993 AT&T Bell Laboratories *
12 * Unpublished & Not for Publication *
13 * All Rights Reserved *
15 * The copyright notice above does not evidence any *
16 * actual or intended publication of such source code *
18 * This software was created by the *
19 * Advanced Software Technology Department *
20 * AT&T Bell Laboratories *
22 * For further information contact *
23 * {ulysses,attmail}!dgk *
24 * dgk@ulysses.att.com *
25 * David Korn 908-582-7975 *
27 ***************************************************************/
29 /* : : generated by proto : : */
33 #if !defined(__PROTO__)
34 #if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
35 #if defined(__cplusplus)
36 #define __MANGLE__ "C"
41 #define __PROTO__(x) x
43 #define __PARAM__(n,o) n
44 #if !defined(__STDC__) && !defined(__cplusplus)
45 #if !defined(c_plusplus)
56 #define __PROTO__(x) ()
57 #define __OTORP__(x) x
58 #define __PARAM__(n,o) o
66 #if defined(__cplusplus) || defined(c_plusplus)
67 #define __VARARG__ ...
72 #if defined(__STDARG__)
73 #define __VA_START__(p,a) va_start(p,a)
75 #define __VA_START__(p,a) va_start(p)
80 #define mount _AST__mount
82 #include "FEATURE/options"
83 #include "FEATURE/dynamic"
93 * This is the list of built-in shell variables and default values
94 * and default attributes.
97 const struct shtable2 shtab_variables[] =
101 "PS2", NV_NOFREE, "> ",
102 "IFS", NV_NOFREE, " \t\n",
106 "REPLY", 0, (char*)0,
107 "SHELL", NV_NOFREE, "/bin/sh",
108 "EDITOR", 0, (char*)0,
109 "MAILCHECK", NV_NOFREE|NV_INTEGER, (char*)0,
110 "RANDOM", NV_NOFREE|NV_INTEGER, (char*)0,
112 "HISTFILE", 0, (char*)0,
113 "HISTSIZE", 0, (char*)0,
114 "HISTEDIT", NV_NOFREE, (char*)0,
115 "HISTCMD", NV_NOFREE|NV_INTEGER, (char*)0,
116 "FCEDIT", NV_NOFREE, "/bin/ed",
117 "CDPATH", 0, (char*)0,
118 "MAILPATH", 0, (char*)0,
119 "PS3", NV_NOFREE, "#? ",
120 "OLDPWD", 0, (char*)0,
121 "VISUAL", 0, (char*)0,
122 "COLUMNS", 0, (char*)0,
123 "LINES", 0, (char*)0,
124 "PPID", NV_NOFREE|NV_INTEGER, (char*)0,
125 "_", NV_EXPORT, (char*)0,
126 "TMOUT", NV_NOFREE|NV_INTEGER, (char*)0,
127 "SECONDS", NV_NOFREE|NV_INTEGER|NV_DOUBLE, (char*)0,
128 "LINENO", NV_NOFREE|NV_INTEGER, (char*)0,
129 "OPTARG", 0, (char*)0,
130 "OPTIND", NV_NOFREE|NV_INTEGER, (char*)0,
132 "FPATH", 0, (char*)0,
134 "LC_CTYPE", 0, (char*)0,
135 "FIGNORE", 0, (char*)0,
137 ".sh.edchar", 0, (char*)0,
138 ".sh.edcol", 0, (char*)0,
139 ".sh.edtext", 0, (char*)0,
140 ".sh.edmode", 0, (char*)0,
141 ".sh.name", 0, (char*)0,
142 ".sh.subscript",0, (char*)0,
143 ".sh.value", 0, (char*)0,
144 ".sh.version", NV_NOFREE, (char*)(&e_version[5]),
146 "VPATH", 0, (char*)0,
147 #endif /* SHOPT_FS_3D */
149 "DOSPATH", 0, (char*)0,
150 "VPIXDIR", 0, (char*)0,
151 #endif /* SHOPT_VPIX */
153 "CSWIDTH", 0, (char*)0,
154 #endif /* MULTIBYTE */
156 "SYSTYPE", 0, (char*)0,