1: /* $Header: /home/hyperion/mu/christos/src/sys/tcsh-6.00/RCS/tc.const.c,v 3.0 1991/07/04 21:49:28 christos Exp $ */
2: /*
3: * sh.const.c: String constants for tcsh.
4: */
5: /*-
6: * Copyright (c) 1980, 1991 The Regents of the University of California.
7: * All rights reserved.
8: *
9: * Redistribution and use in source and binary forms, with or without
10: * modification, are permitted provided that the following conditions
11: * are met:
12: * 1. Redistributions of source code must retain the above copyright
13: * notice, this list of conditions and the following disclaimer.
14: * 2. Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in the
16: * documentation and/or other materials provided with the distribution.
17: * 3. All advertising materials mentioning features or use of this software
18: * must display the following acknowledgement:
19: * This product includes software developed by the University of
20: * California, Berkeley and its contributors.
21: * 4. Neither the name of the University nor the names of its contributors
22: * may be used to endorse or promote products derived from this software
23: * without specific prior written permission.
24: *
25: * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35: * SUCH DAMAGE.
36: */
37: #include "config.h"
38: #if !defined(lint) && !defined(pdp11)
39: static char *rcsid()
40: { return "$Id: tc.const.c,v 3.0 1991/07/04 21:49:28 christos Exp $"; }
41: #endif
42: #include "sh.h"
43:
44: Char STRlogout[] = { 'l', 'o', 'g', 'o', 'u', 't', '\0' };
45: Char STRa_logout[] = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't',
46: '\0' };
47: Char STRdflt_auto_logout[] = { '6', '0', '\0' };
48: Char STRa_matic[] = { 'a', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', '\0' };
49: Char STRaout[] = { 'a', '.', 'o', 'u', 't', '\0' };
50: Char STRtty[] = { 't', 't', 'y', '\0' };
51: Char STRany[] = { 'a', 'n', 'y', '\0' };
52: Char STRstatus[] = { 's', 't', 'a', 't', 'u', 's', '\0' };
53: Char STR0[] = { '0', '\0' };
54: Char STR1[] = { '1', '\0' };
55: Char STRNULL[] = { '\0' };
56: Char STRtcsh[] = { 't', 'c', 's', 'h', '\0' };
57: Char STRhome[] = { 'h', 'o', 'm', 'e', '\0' };
58: Char STRuser[] = { 'u', 's', 'e', 'r', '\0' };
59: Char STRterm[] = { 't', 'e', 'r', 'm', '\0' };
60: Char STRversion[] = { 'v', 'e', 'r', 's', 'i', 'o', 'n', '\0' };
61: Char STRuid[] = { 'u', 'i', 'd', '\0' };
62: Char STRgid[] = { 'g', 'i', 'd', '\0' };
63: Char STRHST[] = { 'H', 'O', 'S', 'T', '\0' };
64: Char STRHSTTYPE[] = { 'H', 'O', 'S', 'T', 'T', 'Y', 'P', 'E', '\0' };
65: Char STRedit[] = { 'e', 'd', 'i', 't', '\0' };
66: Char STRaddsuffix[] = { 'a', 'd', 'd', 's', 'u', 'f', 'f', 'i', 'x', '\0' };
67: Char STRshell[] = { 's', 'h', 'e', 'l', 'l', '\0' };
68: Char STRtmpsh[] = { '/', 't', 'm', 'p', '/', 's', 'h', '\0' };
69: Char STRverbose[] = { 'v', 'e', 'r', 'b', 'o', 's', 'e', '\0' };
70: Char STRecho[] = { 'e', 'c', 'h', 'o', '\0' };
71: Char STRpath[] = { 'p', 'a', 't', 'h', '\0' };
72: Char STRprompt[] = { 'p', 'r', 'o', 'm', 'p', 't', '\0' };
73: Char STRp_2[] = { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' };
74: Char STRp_3[] = { 'p', 'r', 'o', 'm', 'p', 't', '3', '\0' };
75: Char STRcwd[] = { 'c', 'w', 'd', '\0' };
76: Char STRstar[] = { '*', '\0' };
77: Char STRdot[] = { '.', '\0' };
78: Char STRhsto[] = { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
79: Char STRsource[] = { 's', 'o', 'u', 'r', 'c', 'e', '\0' };
80: Char STRmh[] = { '-', 'h', '\0' };
81: Char STRhstf[] = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r',
82: 'y', '\0' };
83:
84: #ifdef CSHDIRS
85: Char STRdirfile[] = { '~', '/', '.', 'c', 's', 'h', 'd', 'i', 'r',
86: 's', '\0' };
87: Char STRs_dirs[] = { '/', '.', 'c', 's', 'h', 'd', 'i', 'r', 's', '\0' };
88: Char STRsvdirs[] = { 's', 'a', 'v', 'e', 'd', 'i', 'r', 's', '\0' };
89: #endif
90:
91: Char STRargv[] = { 'a', 'r', 'g', 'v', '\0' };
92: Char STRsvhist[] = { 's', 'a', 'v', 'e', 'h', 'i', 's', 't', '\0' };
93: Char STRs_hist[] = { '/', '.', 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
94: Char STRnormal[] = { 'n', 'o', 'r', 'm', 'a', 'l', '\0' };
95: Char STRs_logout[] = { '/', '.', 'l', 'o', 'g', 'o', 'u', 't', '\0' };
96: Char STRjobs[] = { 'j', 'o', 'b', 's', '\0' };
97: Char STRsymhash[] = { '#', ' ', '\0' };
98: Char STRsymarrow[] = { '>', ' ', '\0' };
99: Char STRmquestion[] = { '%', 'R', '?' | QUOTE, ' ', '\0' };
100: Char STRCORRECT[] = { 'C', 'O', 'R', 'R', 'E', 'C', 'T', '>', '%', 'R',
101: ' ', '(', 'y', '|', 'n', ')', '?' | QUOTE, ' ',
102: '\0' };
103: Char STRunalias[] = { 'u', 'n', 'a', 'l', 'i', 'a', 's', '\0' };
104: Char STRalias[] = { 'a', 'l', 'i', 'a', 's', '\0' };
105: Char STRprecmd[] = { 'p', 'r', 'e', 'c', 'm', 'd', '\0' };
106: Char STRcwdcmd[] = { 'c', 'w', 'd', 'c', 'm', 'd', '\0' };
107: Char STRperiodic[] = { 'p', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\0' };
108: Char STRtperiod[] = { 't', 'p', 'e', 'r', 'i', 'o', 'd', '\0' };
109: Char STRml[] = { '-', 'l', '\0' };
110: Char STRslash[] = { '/', '\0' };
111: Char STRdt_l[] = { '.', '/', '\0' };
112: Char STRdotdotsl[] = { '.', '.', '/', '\0' };
113: Char STRcdpath[] = { 'c', 'd', 'p', 'a', 't', 'h', '\0' };
114: Char STRputohome[] = { 'p', 'u', 's', 'h', 'd', 't', 'o', 'h', 'o', 'm',
115: 'e', '\0' };
116: Char STRpusilent[] = { 'p', 'u', 's', 'h', 'd', 's', 'i', 'l', 'e', 'n',
117: 't', '\0' };
118: Char [] = { 'd', 'e', 'x', 't', 'r', 'a', 'c', 't', '\0' };
119: Char STRig__symlinks[] = { 'i', 'g', 'n', 'o', 'r', 'e', '_', 's', 'y', 'm',
120: 'l', 'i', 'n', 'k', 's', '\0' };
121: Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l',
122: 'i', 'n', 'k', 's', '\0' };
123: Char STRPWD[] = { 'P', 'W', 'D', '\0' };
124: Char STRor2[] = { '|', '|', '\0' };
125: Char STRand2[] = { '&', '&', '\0' };
126: Char STRor[] = { '|', '\0' };
127: Char STRcaret[] = { '^', '\0' };
128: Char STRand[] = { '&', '\0' };
129: Char STRequal[] = { '=', '\0' };
130: Char STRbang[] = { '!', '\0' };
131: Char STRtilde[] = { '~', '\0' };
132: Char STRLparen[] = { '(', '\0' };
133: Char STRLbrace[] = { '{', '\0' };
134: Char STRfkcom[] = { '{', ' ', '.', '.', '.', ' ', '}', '\0' };
135: Char STRRbrace[] = { '}', '\0' };
136: Char STRPATH[] = { 'P', 'A', 'T', 'H', '\0' };
137: Char STRdefault[] = { 'd', 'e', 'f', 'a', 'u', 'l', 't', '\0' };
138: Char STRmn[] = { '-', 'n', '\0' };
139: Char STRminus[] = { '-', '\0' };
140: Char STRnoglob[] = { 'n', 'o', 'g', 'l', 'o', 'b', '\0' };
141: Char STRnonomatch[] = { 'n', 'o', 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
142: Char STRfk_com1[] = { '`', ' ', '.', '.', '.', ' ', '`', '\0' };
143: Char STRampm[] = { 'a', 'm', 'p', 'm', '\0' };
144: Char STRchild[] = { 'c', 'h', 'i', 'l', 'd', '\0' };
145: Char STRtime[] = { 't', 'i', 'm', 'e', '\0' };
146: Char STRnotify[] = { 'n', 'o', 't', 'i', 'f', 'y', '\0' };
147: Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v',
148: 'a', 'l', 'u', 'e', '\0' };
149: Char STRL_parensp[] = { '(', ' ', '\0' };
150: Char STRspRparen[] = { ' ', ')', '\0' };
151: Char STRspace[] = { ' ', '\0' };
152: Char STRsP2sp[] = { ' ', '|', '|', ' ', '\0' };
153: Char STRspand2sp[] = { ' ', '&', '&', ' ', '\0' };
154: Char STRsPsp[] = { ' ', '|', ' ', '\0' };
155: Char STRsmsp[] = { ';', ' ', '\0' };
156: Char STRsm[] = { ';', '\0' };
157: Char STRspL_arrow2sp[] = { ' ', '<', '<', ' ', '\0' };
158: Char STRspLarrowsp[] = { ' ', '<', ' ', '\0' };
159: Char STRspR_arrow2[] = { ' ', '>', '>', '\0' };
160: Char STRspRarrow[] = { ' ', '>', '\0' };
161: Char STRgt[] = { '>', '\0' };
162: Char STRsp3dots[] = { ' ', '.', '.', '.', '\0' };
163: Char STRc_2[] = { '%', '%', '\0' };
164: Char STRc_plus[] = { '%', '+', '\0' };
165: Char STRc_minus[] = { '%', '-', '\0' };
166: Char STRc_hash[] = { '%', '#', '\0' };
167: #ifdef BSDJOBS
168: Char STRcontinue[] = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\0' };
169: Char STRcon_args[] = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '_', 'a',
170: 'r', 'g', 's', '\0' };
171: Char STRunderpause[] = { '_', 'p', 'a', 'u', 's', 'e', '\0' };
172: #endif
173: Char STRbKqpwd[] = { '`', 'p', 'w', 'd', '`', '\0' };
174: Char STRhstc[] = { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' };
175: Char STRhstl[] = { 'h', 'i', 's', 't', 'l', 'i', 't', '\0' };
176: Char STRUSER[] = { 'U', 'S', 'E', 'R', '\0' };
177: Char STRLOGNAME[] = { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' };
178: Char STRwordchars[] = { 'w', 'o', 'r', 'd', 'c', 'h', 'a', 'r', 's', '\0' };
179: Char STRTRM[] = { 'T', 'E', 'R', 'M', '\0' };
180: Char STRHOME[] = { 'H', 'O', 'M', 'E', '\0' };
181: Char STRbKslash_quote[] = { 'b', 'a', 'c', 'k', 's', 'l', 'a', 's', 'h', '_',
182: 'q', 'u', 'o', 't', 'e', '\0' };
183: Char STRRparen[] = { ')', '\0' };
184: Char STRcolon[] = { ':', '\0' };
185: Char STRmail[] = { 'm', 'a', 'i', 'l', '\0' };
186: Char STRwatch[] = { 'w', 'a', 't', 'c', 'h', '\0' };
187:
188: Char STRd_tcshrc[] = { '/', '.', 't', 'c', 's', 'h', 'r', 'c', '\0' };
189: Char STRd_cshrc[] = { '/', '.', 'c', 's', 'h', 'r', 'c', '\0' };
190: Char STRd_login[] = { '/', '.', 'l', 'o', 'g', 'i', 'n', '\0' };
191: Char STRig_eof[] = { 'i', 'g', 'n', 'o', 'r', 'e', 'e', 'o', 'f', '\0' };
192: Char STRnoclobber[] = { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' };
193: Char STRhelpcommand[] = { 'h', 'e', 'l', 'p', 'c', 'o', 'm', 'm', 'a', 'n',
194: 'd', '\0' };
195: Char STRfignore[] = { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' };
196: Char STRrecexact[] = { 'r', 'e', 'c', 'e', 'x', 'a', 'c', 't', '\0' };
197: Char STRl_max[] = { 'l', 'i', 's', 't', 'm', 'a', 'x', '\0' };
198: Char STRl_links[] = { 'l', 'i', 's', 't', 'l', 'i', 'n', 'k', 's', '\0' };
199: Char STRDING[] = { 'D', 'I', 'N', 'G', '!', '\0' };
200: Char STRQNULL[] = { '\0' | QUOTE, '\0' };
201: Char STRcorrect[] = { 'c', 'o', 'r', 'r', 'e', 'c', 't', '\0' };
202: Char STRcmd[] = { 'c', 'm', 'd', '\0' };
203: Char STRall[] = { 'a', 'l', 'l', '\0' };
204: Char STRa_expand[] = { 'a', 'u', 't', 'o', 'e', 'x', 'p', 'a', 'n', 'd',
205: '\0' };
206: Char STRa_correct[] = { 'a', 'u', 't', 'o', 'c', 'o', 'r', 'r', 'e', 'c',
207: 't', '\0' };
208: Char STRa_list[] = { 'a', 'u', 't', 'o', 'l', 'i', 's', 't', '\0' };
209: Char STRmatchbeep[] = { 'm', 'a', 't', 'c', 'h', 'b', 'e', 'e', 'p', '\0' };
210: Char STRnever[] = { 'n', 'e', 'v', 'e', 'r', '\0' };
211: Char STRnomatch[] = { 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
212: Char STRambiguous[] = { 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', '\0' };
213: Char STRnotunique[] = { 'n', 'o', 't', 'u', 'n', 'i', 'q', 'u', 'e', '\0' };
214: Char STRret[] = { '\n', '\0' };
215: Char STRnobeep[] = { 'n', 'o', 'b', 'e', 'e', 'p', '\0' };
216: Char STRvisiblebell[] = { 'v', 'i', 's', 'i', 'b', 'l', 'e', 'b', 'e', 'l',
217: 'l', '\0' };
218: Char STRrecognize_only_executables[] = { 'r', 'e', 'c', 'o', 'g', 'n', 'i', 'z',
219: 'e', '_', 'o', 'n', 'l', 'y', '_', 'e',
220: 'x', 'e', 'c', 'u', 't', 'a', 'b', 'l',
221: 'e', 's', '\0' };
222: Char STRnohup[] = { 'n', 'o', 'h', 'u', 'p', '\0' };
223: Char STRnice[] = { 'n', 'i', 'c', 'e', '\0' };
224: Char STRl_pathnum[] = { 'l', 'i', 's', 't', 'p', 'a', 't', 'h', 'n', 'u',
225: 'm', '\0' };
226: Char STRshowdots[] = { 's', 'h', 'o', 'w', 'd', 'o', 't', 's', '\0' };
227: Char STRthen[] = { 't', 'h', 'e', 'n', '\0' };
228: Char STReof[] = { '^', 'D', '\b', '\b', '\0' };
229: Char STRl_jobs[] = { 'l', 'i', 's', 't', 'j', 'o', 'b', 's', '\0' };
230: Char STRlong[] = { 'l', 'o', 'n', 'g', '\0' };
231: Char STRwho[] = { 'w', 'h', 'o', '\0' };
232: Char STRrmstar[] = { 'r', 'm', 's', 't', 'a', 'r', '\0' };
233: Char STRrm[] = { 'r', 'm', '\0' };
234: Char STRshlvl[] = { 's', 'h', 'l', 'v', 'l', '\0' };
235: Char STRSHLVL[] = { 'S', 'H', 'L', 'V', 'L', '\0' };
236:
237: Char STRLANG[] = { 'L', 'A', 'N', 'G', '\0' };
238: Char STRLC_CTYPE[] = { 'L', 'C', '_', 'C', 'T', 'Y', 'P', 'E' ,'\0' };
239: Char STRNOREBIND[] = { 'N', 'O', 'R', 'E', 'B', 'I', 'N', 'D', '\0' };
240:
241: #ifdef SIG_WINDOW
242: Char STRLINES[] = { 'L', 'I', 'N', 'E', 'S', '\0'};
243: Char STRCOLUMNS[] = { 'C', 'O', 'L', 'U', 'M', 'N', 'S', '\0'};
244: Char STRTRMCAP[] = { 'T', 'E', 'R', 'M', 'C', 'A', 'P', '\0'};
245: #endif /* SIG_WINDOW */
246:
247: #ifdef WARP
248: Char STRwarp[] = { 'w', 'a', 'r', 'p', '\0' };
249: #endif /* WARP */
250:
251: #ifdef apollo
252: Char STRSYSTYPE[] = { 'S', 'Y', 'S', 'T', 'Y', 'P', 'E', '\0' };
253: Char STRoid[] = { 'o', 'i', 'd', '\0' };
254: Char STRbsd43[] = { 'b', 's', 'd', '4', '.', '3', '\0' };
255: Char STRsys53[] = { 's', 'y', 's', '5', '.', '3', '\0' };
256: Char STRver[] = { 'v', 'e', 'r', '\0' };
257: #endif /* apollo */