1/*	$OpenBSD: const.c,v 1.9 2017/12/12 00:18:58 tb Exp $	*/
2/*	$NetBSD: const.c,v 1.6 1995/03/21 09:02:31 cgd Exp $	*/
3
4/*-
5 * Copyright (c) 1991, 1993
6 *	The Regents of the University of California.  All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 *    notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 *    notice, this list of conditions and the following disclaimer in the
15 *    documentation and/or other materials provided with the distribution.
16 * 3. Neither the name of the University nor the names of its contributors
17 *    may be used to endorse or promote products derived from this software
18 *    without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33/*
34 * tc.const.c: String constants for csh.
35 */
36
37#include "csh.h"
38
39Char STR0[]		= { '0', '\0' };
40Char STR1[]		= { '1', '\0' };
41Char STRHOME[]		= { 'H', 'O', 'M', 'E', '\0' };
42Char STRLOGNAME[]	= { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' };
43Char STRLbrace[]	= { '{', '\0' };
44Char STRLparen[]	= { '(', '\0' };
45Char STRLparensp[]	= { '(', ' ', '\0' };
46Char STRNULL[]		= { '\0' };
47Char STRPATH[]		= { 'P', 'A', 'T', 'H', '\0' };
48Char STRPWD[]		= { 'P', 'W', 'D', '\0' };
49Char STRQNULL[]		= { '\0' | QUOTE, '\0' };
50Char STRRbrace[]	= { '}', '\0' };
51Char STRspRparen[]	= { ' ', ')', '\0' };
52Char STRTERM[]		= { 'T', 'E', 'R', 'M', '\0' };
53Char STRUSER[]		= { 'U', 'S', 'E', 'R', '\0' };
54Char STRalias[]		= { 'a', 'l', 'i', 'a', 's', '\0' };
55Char STRand[]		= { '&', '\0' };
56Char STRand2[]		= { '&', '&', '\0' };
57Char STRaout[]		= { 'a', '.', 'o', 'u', 't', '\0' };
58Char STRargv[]		= { 'a', 'r', 'g', 'v', '\0' };
59Char STRbang[]		= { '!', '\0' };
60Char STRcaret[]		= { '^', '\0' };
61Char STRcdpath[]	= { 'c', 'd', 'p', 'a', 't', 'h', '\0' };
62Char STRcent2[]		= { '%', '%', '\0' };
63Char STRcenthash[]	= { '%', '#', '\0' };
64Char STRcentplus[]	= { '%', '+', '\0' };
65Char STRcentminus[]	= { '%', '-', '\0' };
66Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l',
67			    'i', 'n', 'k', 's', '\0' };
68Char STRchild[]		= { 'c', 'h', 'i', 'l', 'd', '\0' };
69Char STRcolon[]		= { ':', '\0' };
70Char STRcwd[]		= { 'c', 'w', 'd', '\0' };
71Char STRdefault[]	= { 'd', 'e', 'f', 'a', 'u', 'l', 't', '\0' };
72Char STRdot[]		= { '.', '\0' };
73Char STRdotdotsl[]	= { '.', '.', '/', '\0' };
74Char STRdotsl[]		= { '.', '/', '\0' };
75Char STRecho[]		= { 'e', 'c', 'h', 'o', '\0' };
76Char STRequal[]		= { '=', '\0' };
77Char STRfakecom[]	= { '{', ' ', '.', '.', '.', ' ', '}', '\0' };
78Char STRfakecom1[]	= { '`', ' ', '.', '.', '.', ' ', '`', '\0' };
79Char STRfignore[]	= { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' };
80Char STRfilec[] = { 'f', 'i', 'l', 'e', 'c', '\0' };
81Char STRhistchars[]	= { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' };
82Char STRtildothist[]	= { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r',
83			    'y', '\0' };
84Char STRhistfile[]	= { 'h', 'i', 's', 't', 'f', 'i', 'l', 'e', '\0' };
85Char STRhistory[]	= { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
86Char STRhome[]		= { 'h', 'o', 'm', 'e', '\0' };
87Char STRignore_symlinks[] = { 'i', 'g', 'n', 'o', 'r', 'e', '_', 's', 'y', 'm',
88			    'l', 'i', 'n', 'k', 's', '\0' };
89Char STRignoreeof[]	= { 'i', 'g', 'n', 'o', 'r', 'e', 'e', 'o', 'f', '\0' };
90Char STRjobs[]		= { 'j', 'o', 'b', 's', '\0' };
91Char STRlistjobs[]	= { 'l', 'i', 's', 't', 'j', 'o', 'b', 's', '\0' };
92Char STRlogout[]	= { 'l', 'o', 'g', 'o', 'u', 't', '\0' };
93Char STRlong[]		= { 'l', 'o', 'n', 'g', '\0' };
94Char STRmail[]		= { 'm', 'a', 'i', 'l', '\0' };
95Char STRmh[]		= { '-', 'h', '\0' };
96Char STRminus[]		= { '-', '\0' };
97Char STRml[]		= { '-', 'l', '\0' };
98Char STRmn[]		= { '-', 'n', '\0' };
99Char STRmquestion[]	= { '?' | QUOTE, ' ', '\0' };
100Char STRnice[]		= { 'n', 'i', 'c', 'e', '\0' };
101Char STRnoambiguous[]	= { 'n', 'o', 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u',
102			    's', '\0' };
103Char STRnobeep[]	= { 'n', 'o', 'b', 'e', 'e', 'p', '\0' };
104Char STRnoclobber[]	= { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' };
105Char STRnoglob[]	= { 'n', 'o', 'g', 'l', 'o', 'b', '\0' };
106Char STRnohup[]		= { 'n', 'o', 'h', 'u', 'p', '\0' };
107Char STRnonomatch[]	= { 'n', 'o', 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
108Char STRnormal[]	= { 'n', 'o', 'r', 'm', 'a', 'l', '\0' };
109Char STRnotify[]	= { 'n', 'o', 't', 'i', 'f', 'y', '\0' };
110Char STRor[]		= { '|', '\0' };
111Char STRor2[]		= { '|', '|', '\0' };
112Char STRpath[]		= { 'p', 'a', 't', 'h', '\0' };
113Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v',
114			    'a', 'l', 'u', 'e', '\0' };
115Char STRprompt[]	= { 'p', 'r', 'o', 'm', 'p', 't', '\0' };
116Char STRprompt2[]	= { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' };
117Char STRpromptroot[]	= { '%', 'm', '#', ' ', '\0' };
118Char STRpromptuser[]	= { '%', 'm', '%', ' ', '\0' };
119Char STRpushdsilent[]	= { 'p', 'u', 's', 'h', 'd', 's', 'i', 'l', 'e', 'n',
120			    't', '\0' };
121Char STRret[]		= { '\n', '\0' };
122Char STRsavehist[]	= { 's', 'a', 'v', 'e', 'h', 'i', 's', 't', '\0' };
123Char STRsemisp[]	= { ';', ' ', '\0' };
124Char STRshell[]		= { 's', 'h', 'e', 'l', 'l', '\0' };
125Char STRslash[]		= { '/', '\0' };
126Char STRsldotcshrc[]	= { '/', '.', 'c', 's', 'h', 'r', 'c', '\0' };
127Char STRsldotlogin[]	= { '/', '.', 'l', 'o', 'g', 'i', 'n', '\0' };
128Char STRsldthist[]	= { '/', '.', 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
129Char STRsldtlogout[]	= { '/', '.', 'l', 'o', 'g', 'o', 'u', 't', '\0' };
130Char STRsource[]	= { 's', 'o', 'u', 'r', 'c', 'e', '\0' };
131Char STRsp3dots[]	= { ' ', '.', '.', '.', '\0' };
132Char STRspLarrow2sp[]	= { ' ', '<', '<', ' ', '\0' };
133Char STRspLarrowsp[]	= { ' ', '<', ' ', '\0' };
134Char STRspRarrow[]	= { ' ', '>', '\0' };
135Char STRspRarrow2[]	= { ' ', '>', '>', '\0' };
136Char STRRparen[]	= { ')', '\0' };
137Char STRspace[]		= { ' ', '\0' };
138Char STRspand2sp[]	= { ' ', '&', '&', ' ', '\0' };
139Char STRspor2sp[]	= { ' ', '|', '|', ' ', '\0' };
140Char STRsporsp[]	= { ' ', '|', ' ', '\0' };
141Char STRstar[]		= { '*', '\0' };
142Char STRstatus[]	= { 's', 't', 'a', 't', 'u', 's', '\0' };
143Char STRterm[]		= { 't', 'e', 'r', 'm', '\0' };
144Char STRthen[]		= { 't', 'h', 'e', 'n', '\0' };
145Char STRtilde[]		= { '~', '\0' };
146Char STRtime[]		= { 't', 'i', 'm', 'e', '\0' };
147Char STRtmpsh[]		= { '/', 't', 'm', 'p', '/', 's', 'h', '\0' };
148Char STRunalias[]	= { 'u', 'n', 'a', 'l', 'i', 'a', 's', '\0' };
149Char STRuser[]		= { 'u', 's', 'e', 'r', '\0' };
150Char STRverbose[]	= { 'v', 'e', 'r', 'b', 'o', 's', 'e', '\0' };
151Char STRwordchars[]	= { 'w', 'o', 'r', 'd', 'c', 'h', 'a', 'r', 's', '\0' };
152