1 /* $Header: /p/tcsh/cvsroot/tcsh/tc.const.c,v 3.98 2011/04/14 18:25:26 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. Neither the name of the University nor the names of its contributors 18 * may be used to endorse or promote products derived from this software 19 * without specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 #include "sh.h" 34 35 RCSID("$tcsh: tc.const.c,v 3.98 2011/04/14 18:25:26 christos Exp $") 36 37 Char STRlogout[] = { 'l', 'o', 'g', 'o', 'u', 't', '\0' }; 38 Char STRautologout[] = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't', 39 '\0' }; 40 Char STRdefautologout[] = { '6', '0', '\0' }; 41 #ifdef convex 42 Char STRrootdefautologout[] = { '1', '5', '\0' }; 43 #endif 44 Char STRautomatic[] = { 'a', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', 45 '\0' }; 46 Char STRanyerror[] = { 'a', 'n', 'y', 'e', 'r', 'r', 'o', 'r', '\0' }; 47 Char STRhangup[] = { 'h', 'a', 'n', 'g', 'u', 'p', '\0' }; 48 Char STRaout[] = { 'a', '.', 'o', 'u', 't', '\0' }; 49 Char STRtty[] = { 't', 't', 'y', '\0' }; 50 Char STRptssl[] = { 'p', 't', 's', '/', '\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 /* STRm1 would look too much like STRml IMHO */ 56 Char STRminus1[] = { '-', '1', '\0' }; 57 Char STRmaxint[] = { '0', 'x', '7', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 58 '\0' }; 59 Char STRcolon[] = { ':', '\0' }; 60 Char STR_[] = { '_', '\0' }; 61 Char STRNULL[] = { '\0' }; 62 Char STRtcsh[] = { 't', 'c', 's', 'h', '\0' }; 63 Char STRhome[] = { 'h', 'o', 'm', 'e', '\0' }; 64 Char STReuser[] = { 'e', 'u', 's', 'e', 'r', '\0'}; 65 Char STRuser[] = { 'u', 's', 'e', 'r', '\0' }; 66 Char STRgroup[] = { 'g', 'r', 'o', 'u', 'p', '\0' }; 67 #ifdef AFS 68 Char STRafsuser[] = { 'a', 'f', 's', 'u', 's', 'e', 'r', '\0' }; 69 #endif /* AFS */ 70 Char STRterm[] = { 't', 'e', 'r', 'm', '\0' }; 71 Char STRversion[] = { 'v', 'e', 'r', 's', 'i', 'o', 'n', '\0' }; 72 Char STReuid[] = { 'e', 'u', 'i', 'd', '\0' }; 73 Char STRuid[] = { 'u', 'i', 'd', '\0' }; 74 Char STRgid[] = { 'g', 'i', 'd', '\0' }; 75 Char STRunknown[] = { 'u', 'n', 'k', 'n', 'o', 'w', 'n', '\0' }; 76 Char STRnetwork[] = { 'n', 'e', 't', 'w', 'o', 'r', 'k', '\0' }; 77 Char STRdumb[] = { 'd', 'u', 'm', 'b', '\0' }; 78 Char STRHOST[] = { 'H', 'O', 'S', 'T', '\0' }; 79 #ifdef REMOTEHOST 80 Char STRREMOTEHOST[] = { 'R', 'E', 'M', 'O', 'T', 'E', 'H', 81 'O', 'S', 'T', '\0' }; 82 #endif /* REMOTEHOST */ 83 Char STRHOSTTYPE[] = { 'H', 'O', 'S', 'T', 'T', 'Y', 'P', 'E', '\0' }; 84 Char STRVENDOR[] = { 'V', 'E', 'N', 'D', 'O', 'R', '\0' }; 85 Char STRMACHTYPE[] = { 'M', 'A', 'C', 'H', 'T', 'Y', 'P', 'E', '\0' }; 86 Char STROSTYPE[] = { 'O', 'S', 'T', 'Y', 'P', 'E', '\0' }; 87 Char STRedit[] = { 'e', 'd', 'i', 't', '\0' }; 88 Char STRaddsuffix[] = { 'a', 'd', 'd', 's', 'u', 'f', 'f', 'i', 'x', 89 '\0' }; 90 Char STRcsubstnonl[] = { 'c', 's', 'u', 'b', 's', 't', 'n', 'o', 'n', 'l', 91 '\0' }; 92 Char STRnostat[] = { 'n', 'o', 's', 't', 'a', 't', '\0' }; 93 Char STRshell[] = { 's', 'h', 'e', 'l', 'l', '\0' }; 94 Char STRtmpsh[] = { '/', 't', 'm', 'p', '/', 's', 'h', '\0' }; 95 Char STRverbose[] = { 'v', 'e', 'r', 'b', 'o', 's', 'e', '\0' }; 96 Char STRecho[] = { 'e', 'c', 'h', 'o', '\0' }; 97 Char STRpath[] = { 'p', 'a', 't', 'h', '\0' }; 98 Char STRprompt[] = { 'p', 'r', 'o', 'm', 'p', 't', '\0' }; 99 Char STRprompt2[] = { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' }; 100 Char STRprompt3[] = { 'p', 'r', 'o', 'm', 'p', 't', '3', '\0' }; 101 Char STRrprompt[] = { 'r', 'p', 'r', 'o', 'm', 'p', 't', '\0' }; 102 Char STRellipsis[] = { 'e', 'l', 'l', 'i', 'p', 's', 'i', 's', '\0' }; 103 Char STRcwd[] = { 'c', 'w', 'd', '\0' }; 104 Char STRowd[] = { 'o', 'w', 'd', '\0' }; 105 Char STRstar[] = { '*', '\0' }; 106 Char STRdot[] = { '.', '\0' }; 107 Char STRhistory[] = { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' }; 108 Char STRhistdup[] = { 'h', 'i', 's', 't', 'd', 'u', 'p', '\0' }; 109 Char STRhistfile[] = { 'h', 'i', 's', 't', 'f', 'i', 'l', 'e', '\0' }; 110 Char STRsource[] = { 's', 'o', 'u', 'r', 'c', 'e', '\0' }; 111 Char STRmh[] = { '-', 'h', '\0' }; 112 Char STRmhT[] = { '-', 'h', 'T', '\0' }; 113 Char STRmm[] = { '-', 'm', '\0' }; 114 Char STRmr[] = { '-', 'r', '\0' }; 115 Char STRmerge[] = { 'm', 'e', 'r', 'g', 'e', '\0' }; 116 Char STRtildothist[] = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r', 117 'y', '\0' }; 118 119 #ifdef NLS_CATALOGS 120 Char STRcatalog[] = { 'c', 'a', 't', 'a', 'l', 'o', 'g', '\0' }; 121 Char STRNLSPATH[] = { 'N', 'L', 'S', 'P', 'A', 'T', 'H', '\0' }; 122 #endif /* NLS_CATALOGS */ 123 #ifdef KANJI 124 Char STRnokanji[] = { 'n', 'o', 'k', 'a', 'n', 'j', 'i', '\0' }; 125 # ifdef DSPMBYTE 126 Char STRdspmbyte[] = { 'd', 's', 'p', 'm', 'b', 'y', 't', 'e', '\0' }; 127 # ifdef BSDCOLORLS 128 Char STRmmliteral[] = { '-', 'G', '\0' }; 129 # else 130 Char STRmmliteral[] = { '-', '-', 'l', 'i', 't', 'e', 'r', 'a', 'l', '\0' }; 131 # endif 132 Char STReuc[] = { 'e', 'u', 'c', '\0' }; 133 Char STRsjis[] = { 's', 'j', 'i', 's', '\0' }; 134 Char STRbig5[] = { 'b', 'i', 'g', '5', '\0' }; 135 Char STRutf8[] = { 'u', 't', 'f', '8', '\0' }; 136 Char STRstarutfstar8[] = { '*', 'u', 't', 'f', '*', '8', '\0' }; 137 Char STRGB2312[] = { 'g', 'b', '2', '3', '1', '2', '\0' }; 138 # ifdef MBYTEDEBUG /* Sorry, use for beta testing */ 139 Char STRmbytemap[] = { 'm', 'b', 'y', 't', 'e', 'm', 'a', 'p', '\0' }; 140 # endif /* MBYTEMAP */ 141 /* PATCH IDEA FROM Issei.Suzuki VERY THANKS */ 142 /* dspmbyte autoset trap */ 143 /* STRLANGEUCJP,STRLANGEUCJPB(,STRLANGEUCJPC) = EUCJP Trap */ 144 /* STRLANGEUCKR,STRLANGEUCKRB = EUCKR Trap */ 145 /* STRLANGEUCZH,STRLANGEUCZHB = EUCZH Trap */ 146 /* STRLANGSJIS,STRLANGSJISB = SJIS Trap */ 147 # if defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) 148 Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; 149 Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; 150 # if defined(__uxps__) 151 Char STRLANGEUCJPB[] = { 'j', 'a', 'p', 'a', 'n', '\0' }; 152 Char STRLANGEUCKRB[] = { 'k', 'o', 'r', 'e', 'a', '\0' }; 153 # elif defined(aix) 154 Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '\0' }; 155 Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '\0' }; 156 # else 157 Char STRLANGEUCJPB[] = { '\0' }; 158 Char STRLANGEUCKRB[] = { '\0' }; 159 # endif 160 Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', 161 '\0' }; 162 Char STRLANGSJISB[] = { '\0' }; 163 Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', 164 '\0' }; 165 Char STRLANGEUCZH[] = { '\0' }; 166 Char STRLANGEUCZHB[] = { '\0' }; 167 # elif defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) 168 Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '-', 169 'J', 'P', '\0' }; 170 Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; 171 Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 172 'P', '\0' }; 173 Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', '\0' }; 174 Char STRLANGEUCJPC[] = { 'j', 'a', '_', 'J', 'P', '.', 'u', 'j', 'i', 's', 175 '\0' }; 176 Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', 177 '\0' }; 178 Char STRLANGSJISB[] = { '\0' }; 179 Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', 180 '\0' }; 181 Char STRLANGEUCZH[] = { '\0' }; 182 Char STRLANGEUCZHB[] = { '\0' }; 183 # elif (defined(__FreeBSD__) || defined(__NetBSD__)) || defined(__MidnightBSD__) 184 Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 185 'P', '\0' }; 186 Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; 187 Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', 188 'R', '\0' }; 189 Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; 190 Char STRLANGEUCZH[] = { 'z', 'h', '_', 'C', 'N', '.', 'e', 'u', 'c', 'C', 191 'N', '\0' }; 192 Char STRLANGEUCZHB[] = { 'z', 'h', '_', 'C', 'N', '.', 'E', 'U', 'C', '\0' }; 193 Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', 194 '\0' }; 195 Char STRLANGSJISB[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'h', 'i', 'f', 196 't', '_', 'J', 'I', 'S', '\0' }; 197 Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', 198 '\0' }; 199 # elif defined(__uxpm__) 200 Char STRLANGEUCJP[] = { 'j', 'a', 'p', 'a', 'n', '\0' }; 201 Char STRLANGEUCKR[] = { 'k', 'o', 'r', 'e', 'a', '\0' }; 202 Char STRLANGEUCZH[] = { '\0' }; 203 Char STRLANGEUCJPB[] = { '\0' }; 204 Char STRLANGEUCKRB[] = { '\0' }; 205 Char STRLANGEUCZHB[] = { '\0' }; 206 Char STRLANGSJIS[] = { '\0' }; 207 Char STRLANGSJISB[] = { '\0' }; 208 Char STRLANGBIG5[] = { '\0' }; 209 # elif defined(SOLARIS2) 210 Char STRLANGEUCJP[] = { 'j', 'a', '\0' }; 211 Char STRLANGEUCKR[] = { 'k', 'o', '\0' }; 212 Char STRLANGEUCZH[] = { '\0' }; 213 Char STRLANGEUCJPB[] = { 'j', 'a', 'p', 'a', 'n', 'e', 's', 'e', '\0' }; 214 Char STRLANGEUCKRB[] = { 'k', 'o', 'r', 'e', 'a', 'n', '\0' }; 215 Char STRLANGEUCZHB[] = { '\0' }; 216 Char STRLANGSJIS[] = { '\0' }; 217 Char STRLANGSJISB[] = { '\0' }; 218 Char STRLANGBIG5[] = { '\0' }; 219 # elif defined(hpux) 220 Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P' }; 221 Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', 'R' }; 222 Char STRLANGEUCZH[] = { '\0' }; 223 Char STRLANGEUCJPB[] = { '\0' }; 224 Char STRLANGEUCKRB[] = { '\0' }; 225 Char STRLANGEUCZHB[] = { '\0' }; 226 Char STRLANGSJIS[] = { '\0' }; 227 Char STRLANGSJISB[] = { '\0' }; 228 Char STRLANGBIG5[] = { '\0' }; 229 # else 230 Char STRLANGEUCJP[] = { '\0' }; 231 Char STRLANGEUCKR[] = { '\0' }; 232 Char STRLANGEUCZH[] = { '\0' }; 233 Char STRLANGEUCJPB[] = { '\0' }; 234 Char STRLANGEUCKRB[] = { '\0' }; 235 Char STRLANGEUCZHB[] = { '\0' }; 236 Char STRLANGSJIS[] = { '\0' }; 237 Char STRLANGSJISB[] = { '\0' }; 238 Char STRLANGBIG5[] = { '\0' }; 239 # endif 240 # endif /* defined(DSPMBYTE) */ 241 #endif 242 243 Char STRtildotdirs[] = { '~', '/', '.', 'c', 's', 'h', 'd', 'i', 'r', 244 's', '\0' }; 245 Char STRdirsfile[] = { 'd', 'i', 'r', 's', 'f', 'i', 'l', 'e', '\0' }; 246 Char STRsavedirs[] = { 's', 'a', 'v', 'e', 'd', 'i', 'r', 's', '\0' }; 247 Char STRloginsh[] = { 'l', 'o', 'g', 'i', 'n', 's', 'h', '\0' }; 248 Char STRdirstack[] = { 'd', 'i', 'r', 's', 't', 'a', 'c', 'k', '\0' }; 249 Char STRargv[] = { 'a', 'r', 'g', 'v', '\0' }; 250 Char STRcommand[] = { 'c', 'o', 'm', 'm', 'a', 'n', 'd', '\0' }; 251 Char STRsavehist[] = { 's', 'a', 'v', 'e', 'h', 'i', 's', 't', '\0' }; 252 Char STRnormal[] = { 'n', 'o', 'r', 'm', 'a', 'l', '\0' }; 253 Char STRsldtlogout[] = { '/', '.', 'l', 'o', 'g', 'o', 'u', 't', '\0' }; 254 Char STRjobs[] = { 'j', 'o', 'b', 's', '\0' }; 255 Char STRdefprompt[] = { '%', '#', ' ', '\0' }; 256 Char STRmquestion[] = { '%', 'R', '?' | QUOTE, ' ', '\0' }; 257 Char STRKCORRECT[] = { 'C', 'O', 'R', 'R', 'E', 'C', 'T', '>', '%', 'R', 258 ' ', '(', 'y', '|', 'n', '|', 'e', '|', 'a', ')', 259 '?' | QUOTE, ' ', '\0' }; 260 Char STRunalias[] = { 'u', 'n', 'a', 'l', 'i', 'a', 's', '\0' }; 261 Char STRalias[] = { 'a', 'l', 'i', 'a', 's', '\0' }; 262 Char STRprecmd[] = { 'p', 'r', 'e', 'c', 'm', 'd', '\0' }; 263 Char STRjobcmd[] = { 'j', 'o', 'b', 'c', 'm', 'd', '\0' }; /*GrP*/ 264 Char STRpostcmd[] = { 'p', 'o', 's', 't', 'c', 'm', 'd', '\0' }; 265 Char STRcwdcmd[] = { 'c', 'w', 'd', 'c', 'm', 'd', '\0' }; 266 Char STRperiodic[] = { 'p', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\0' }; 267 Char STRtperiod[] = { 't', 'p', 'e', 'r', 'i', 'o', 'd', '\0' }; 268 Char STRmf[] = { '-', 'f', '\0' }; 269 Char STRml[] = { '-', 'l', '\0' }; 270 Char STRslash[] = { '/', '\0' }; 271 Char STRdotsl[] = { '.', '/', '\0' }; 272 Char STRdotdotsl[] = { '.', '.', '/', '\0' }; 273 Char STRcdpath[] = { 'c', 'd', 'p', 'a', 't', 'h', '\0' }; 274 Char STRcd[] = { 'c', 'd', '\0' }; 275 Char STRpushdtohome[] = { 'p', 'u', 's', 'h', 'd', 't', 'o', 'h', 'o', 'm', 276 'e', '\0' }; 277 Char STRpushdsilent[] = { 'p', 'u', 's', 'h', 'd', 's', 'i', 'l', 'e', 'n', 278 't', '\0' }; 279 Char STRdextract[] = { 'd', 'e', 'x', 't', 'r', 'a', 'c', 't', '\0' }; 280 Char STRdunique[] = { 'd', 'u', 'n', 'i', 'q', 'u', 'e', '\0' }; 281 Char STRsymlinks[] = { 's', 'y', 'm', 'l', 'i', 'n', 'k', 's', '\0' }; 282 Char STRignore[] = { 'i', 'g', 'n', 'o', 'r', 'e', '\0' }; 283 Char STRchase[] = { 'c', 'h', 'a', 's', 'e', '\0' }; 284 Char STRexpand[] = { 'e', 'x', 'p', 'a', 'n', 'd', '\0' }; 285 Char STRecho_style[] = { 'e', 'c', 'h', 'o', '_', 's', 't', 'y', 'l', 'e', 286 '\0' }; 287 Char STRbsd[] = { 'b', 's', 'd', '\0' }; 288 Char STRsysv[] = { 's', 'y', 's', 'v', '\0' }; 289 Char STRboth[] = { 'b', 'o', 't', 'h', '\0' }; 290 Char STRnone[] = { 'n', 'o', 'n', 'e', '\0' }; 291 Char STRPWD[] = { 'P', 'W', 'D', '\0' }; 292 Char STRor2[] = { '|', '|', '\0' }; 293 Char STRand2[] = { '&', '&', '\0' }; 294 Char STRor[] = { '|', '\0' }; 295 Char STRcaret[] = { '^', '\0' }; 296 Char STRand[] = { '&', '\0' }; 297 Char STRequal[] = { '=', '\0' }; 298 Char STRbang[] = { '!', '\0' }; 299 Char STRtilde[] = { '~', '\0' }; 300 Char STRLparen[] = { '(', '\0' }; 301 Char STRLbrace[] = { '{', '\0' }; 302 Char STRfakecom[] = { '{', ' ', '.', '.', '.', ' ', '}', '\0' }; 303 Char STRRbrace[] = { '}', '\0' }; 304 Char STRKPATH[] = { 'P', 'A', 'T', 'H', '\0' }; 305 Char STRdefault[] = { 'd', 'e', 'f', 'a', 'u', 'l', 't', '\0' }; 306 Char STRmn[] = { '-', 'n', '\0' }; 307 Char STRminus[] = { '-', '\0' }; 308 Char STRnoglob[] = { 'n', 'o', 'g', 'l', 'o', 'b', '\0' }; 309 Char STRnonomatch[] = { 'n', 'o', 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' }; 310 Char STRglobstar[] = { 'g', 'l', 'o', 'b', 's', 't', 'a', 'r', '\0' }; 311 Char STRglobdot[] = { 'g', 'l', 'o', 'b', 'd', 'o', 't', '\0' }; 312 Char STRfakecom1[] = { '`', ' ', '.', '.', '.', ' ', '`', '\0' }; 313 Char STRampm[] = { 'a', 'm', 'p', 'm', '\0' }; 314 Char STRtime[] = { 't', 'i', 'm', 'e', '\0' }; 315 Char STRnotify[] = { 'n', 'o', 't', 'i', 'f', 'y', '\0' }; 316 Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v', 317 'a', 'l', 'u', 'e', '\0' }; 318 Char STRLparensp[] = { '(', ' ', '\0' }; 319 Char STRspRparen[] = { ' ', ')', '\0' }; 320 Char STRspace[] = { ' ', '\0' }; 321 Char STRspor2sp[] = { ' ', '|', '|', ' ', '\0' }; 322 Char STRspand2sp[] = { ' ', '&', '&', ' ', '\0' }; 323 Char STRsporsp[] = { ' ', '|', ' ', '\0' }; 324 Char STRsemisp[] = { ';', ' ', '\0' }; 325 Char STRsemi[] = { ';', '\0' }; 326 Char STRQQ[] = { '"', '"', '\0' }; 327 Char STRBB[] = { '[', ']', '\0' }; 328 Char STRspLarrow2sp[] = { ' ', '<', '<', ' ', '\0' }; 329 Char STRspLarrowsp[] = { ' ', '<', ' ', '\0' }; 330 Char STRspRarrow2[] = { ' ', '>', '>', '\0' }; 331 Char STRspRarrow[] = { ' ', '>', '\0' }; 332 Char STRgt[] = { '>', '\0' }; 333 Char STRcent2[] = { '%', '%', '\0' }; 334 Char STRcentplus[] = { '%', '+', '\0' }; 335 Char STRcentminus[] = { '%', '-', '\0' }; 336 Char STRcenthash[] = { '%', '#', '\0' }; 337 #ifdef BSDJOBS 338 Char STRcontinue[] = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\0' }; 339 Char STRcontinue_args[] = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '_', 'a', 340 'r', 'g', 's', '\0' }; 341 Char STRunderpause[] = { '_', 'p', 'a', 'u', 's', 'e', '\0' }; 342 #endif 343 Char STRbackqpwd[] = { '`', 'p', 'w', 'd', '`', '\0' }; 344 #if defined(FILEC) && defined(TIOCSTI) 345 Char STRfilec[] = { 'f', 'i', 'l', 'e', 'c', '\0' }; 346 #endif /* FILEC && TIOCSTI */ 347 Char STRhistchars[] = { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' }; 348 Char STRpromptchars[] = { 'p', 'r', 'o', 'm', 'p', 't', 'c', 'h', 'a', 'r', 349 's', '\0' }; 350 Char STRhistlit[] = { 'h', 'i', 's', 't', 'l', 'i', 't', '\0' }; 351 Char STRKUSER[] = { 'U', 'S', 'E', 'R', '\0' }; 352 Char STRLOGNAME[] = { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' }; 353 Char STRKGROUP[] = { 'G', 'R', 'O', 'U', 'P', '\0' }; 354 Char STRwordchars[] = { 'w', 'o', 'r', 'd', 'c', 'h', 'a', 'r', 's', '\0' }; 355 Char STRKTERM[] = { 'T', 'E', 'R', 'M', '\0' }; 356 Char STRKHOME[] = { 'H', 'O', 'M', 'E', '\0' }; 357 Char STRbackslash_quote[] = { 'b', 'a', 'c', 'k', 's', 'l', 'a', 's', 'h', '_', 358 'q', 'u', 'o', 't', 'e', '\0' }; 359 Char STRcompat_expr[] = { 'c', 'o', 'm', 'p', 'a', 't', '_', 'e', 'x', 'p', 360 'r', '\0' }; 361 Char STRRparen[] = { ')', '\0' }; 362 Char STRmail[] = { 'm', 'a', 'i', 'l', '\0' }; 363 #ifndef HAVENOUTMP 364 Char STRwatch[] = { 'w', 'a', 't', 'c', 'h', '\0' }; 365 #endif /* HAVENOUTMP */ 366 367 Char STRsldottcshrc[] = { '/', '.', 't', 'c', 's', 'h', 'r', 'c', '\0' }; 368 Char STRsldotcshrc[] = { '/', '.', 'c', 's', 'h', 'r', 'c', '\0' }; 369 Char STRsldotlogin[] = { '/', '.', 'l', 'o', 'g', 'i', 'n', '\0' }; 370 Char STRignoreeof[] = { 'i', 'g', 'n', 'o', 'r', 'e', 'e', 'o', 'f', '\0' }; 371 Char STRnoclobber[] = { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' }; 372 Char STRhelpcommand[] = { 'h', 'e', 'l', 'p', 'c', 'o', 'm', 'm', 'a', 'n', 373 'd', '\0' }; 374 Char STRfignore[] = { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' }; 375 Char STRrecexact[] = { 'r', 'e', 'c', 'e', 'x', 'a', 'c', 't', '\0' }; 376 Char STRlistmaxrows[] = { 'l', 'i', 's', 't', 'm', 'a', 'x', 'r', 'o', 'w', 377 's', '\0' }; 378 Char STRlistmax[] = { 'l', 'i', 's', 't', 'm', 'a', 'x', '\0' }; 379 Char STRlistlinks[] = { 'l', 'i', 's', 't', 'l', 'i', 'n', 'k', 's', '\0' }; 380 Char STRDING[] = { 'D', 'I', 'N', 'G', '!', '\0' }; 381 Char STRQNULL[] = { '\0' | QUOTE, '\0' }; 382 Char STRcorrect[] = { 'c', 'o', 'r', 'r', 'e', 'c', 't', '\0' }; 383 Char STRcmd[] = { 'c', 'm', 'd', '\0' }; 384 Char STRall[] = { 'a', 'l', 'l', '\0' }; 385 Char STRalways[] = { 'a', 'l', 'w', 'a', 'y', 's', '\0' }; 386 Char STRerase[] = { 'e', 'r', 'a', 's', 'e', '\0' }; 387 Char STRprev[] = { 'p', 'r', 'e', 'v', '\0' }; 388 Char STRcomplete[] = { 'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', '\0' }; 389 Char STREnhance[] = { 'E', 'n', 'h', 'a', 'n', 'c', 'e', '\0' }; 390 Char STRenhance[] = { 'e', 'n', 'h', 'a', 'n', 'c', 'e', '\0' }; 391 Char STRigncase[] = { 'i', 'g', 'n', 'c', 'a', 's', 'e', '\0' }; 392 Char STRautoexpand[] = { 'a', 'u', 't', 'o', 'e', 'x', 'p', 'a', 'n', 'd', 393 '\0' }; 394 Char STRautocorrect[] = { 'a', 'u', 't', 'o', 'c', 'o', 'r', 'r', 'e', 'c', 395 't', '\0' }; 396 Char STRautolist[] = { 'a', 'u', 't', 'o', 'l', 'i', 's', 't', '\0' }; 397 Char STRautorehash[] = { 'a', 'u', 't', 'o', 'r', 'e', 'h', 'a', 's', 'h', '\0' }; 398 Char STRbeepcmd[] = { 'b', 'e', 'e', 'p', 'c', 'm', 'd', '\0' }; 399 Char STRmatchbeep[] = { 'm', 'a', 't', 'c', 'h', 'b', 'e', 'e', 'p', '\0' }; 400 Char STRnomatch[] = { 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' }; 401 Char STRambiguous[] = { 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', '\0' }; 402 Char STRnotunique[] = { 'n', 'o', 't', 'u', 'n', 'i', 'q', 'u', 'e', '\0' }; 403 Char STRret[] = { '\n', '\0' }; 404 Char STRnobeep[] = { 'n', 'o', 'b', 'e', 'e', 'p', '\0' }; 405 Char STRnoding[] = { 'n', 'o', 'd', 'i', 'n', 'g', '\0' }; 406 Char STRpadhour[] = { 'p', 'a', 'd', 'h', 'o', 'u', 'r', '\0' }; 407 Char STRnoambiguous[] = { 'n', 'o', 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 408 's', '\0' }; 409 Char STRvisiblebell[] = { 'v', 'i', 's', 'i', 'b', 'l', 'e', 'b', 'e', 'l', 410 'l', '\0' }; 411 Char STRrecognize_only_executables[] = { 'r', 'e', 'c', 'o', 'g', 'n', 'i', 412 'z', 'e', '_', 'o', 'n', 'l', 'y', 413 '_', 'e', 'x', 'e', 'c', 'u', 't', 414 'a', 'b', 'l', 'e', 's', '\0' }; 415 Char STRinputmode[] = { 'i', 'n', 'p', 'u', 't', 'm', 'o', 'd', 'e', 416 '\0' }; 417 Char STRoverwrite[] = { 'o', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 418 '\0' }; 419 Char STRinsert[] = { 'i', 'n', 's', 'e', 'r', 't', '\0' }; 420 Char STRnohup[] = { 'n', 'o', 'h', 'u', 'p', '\0' }; 421 Char STRhup[] = { 'h', 'u', 'p', '\0' }; 422 Char STRnice[] = { 'n', 'i', 'c', 'e', '\0' }; 423 Char STRthen[] = { 't', 'h', 'e', 'n', '\0' }; 424 Char STRlistjobs[] = { 'l', 'i', 's', 't', 'j', 'o', 'b', 's', '\0' }; 425 Char STRlistflags[] = { 'l', 'i', 's', 't', 'f', 'l', 'a', 'g', 's', '\0' }; 426 Char STRlong[] = { 'l', 'o', 'n', 'g', '\0' }; 427 Char STRwho[] = { 'w', 'h', 'o', '\0' }; 428 Char STRsched[] = { 's', 'c', 'h', 'e', 'd', '\0' }; 429 Char STRrmstar[] = { 'r', 'm', 's', 't', 'a', 'r', '\0' }; 430 Char STRrm[] = { 'r', 'm', '\0' }; 431 Char STRhighlight[] = { 'h', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', '\0' }; 432 433 Char STRimplicitcd[] = { 'i', 'm', 'p', 'l', 'i', 'c', 'i', 't', 434 'c', 'd', '\0' }; 435 Char STRkillring[] = { 'k', 'i', 'l', 'l', 'r', 'i', 'n', 'g', '\0' }; 436 Char STRkilldup[] = { 'k', 'i', 'l', 'l', 'd', 'u', 'p', '\0' }; 437 Char STRshlvl[] = { 's', 'h', 'l', 'v', 'l', '\0' }; 438 Char STRKSHLVL[] = { 'S', 'H', 'L', 'V', 'L', '\0' }; 439 Char STRLANG[] = { 'L', 'A', 'N', 'G', '\0' }; 440 Char STRLC_ALL[] = { 'L', 'C', '_', 'A', 'L', 'L', '\0' }; 441 Char STRLC_CTYPE[] = { 'L', 'C', '_', 'C', 'T', 'Y', 'P', 'E' ,'\0' }; 442 Char STRLC_NUMERIC[] = { 'L', 'C', '_', 'N', 'U', 'M', 'E', 'R', 'I', 443 'C', '\0' }; 444 Char STRLC_TIME[] = { 'L', 'C', '_', 'T', 'I', 'M', 'E', '\0' }; 445 Char STRLC_COLLATE[] = { 'L', 'C', '_', 'C', 'O', 'L', 'L', 'A', 'T', 446 'E', '\0' }; 447 Char STRLC_MESSAGES[] = { 'L', 'C', '_', 'M', 'E', 'S', 'S', 'A', 'G', 448 'E', 'S', '\0' }; 449 Char STRLC_MONETARY[] = { 'L', 'C', '_', 'M', 'O', 'N', 'E', 'T', 'A', 450 'R', 'Y', '\0' }; 451 Char STRNOREBIND[] = { 'N', 'O', 'R', 'E', 'B', 'I', 'N', 'D', '\0' }; 452 453 #if defined(SIG_WINDOW) || defined (_VMS_POSIX) 454 /* atp - problem with declaration of str{lines,columns} in sh.func.c (1277) */ 455 Char STRLINES[] = { 'L', 'I', 'N', 'E', 'S', '\0'}; 456 Char STRCOLUMNS[] = { 'C', 'O', 'L', 'U', 'M', 'N', 'S', '\0'}; 457 Char STRTERMCAP[] = { 'T', 'E', 'R', 'M', 'C', 'A', 'P', '\0'}; 458 #endif /* SIG_WINDOW || _VMS_POSIX */ 459 460 #if defined (_OSD_POSIX) /* BS2000 needs this variable set to "SHELL" */ 461 Char STRPROGRAM_ENVIRONMENT[] = { 'P', 'R', 'O', 'G', 'R', 'A', 'M', 462 '_', 'E', 'N', 'V', 'I', 'R', 'O', 'N', 'M', 463 'E', 'N', 'T', '\0'}; 464 #endif /* _OSD_POSIX */ 465 Char STRCOMMAND_LINE[] = { 'C', 'O', 'M', 'M', 'A', 'N', 'D', '_', 'L', 'I', 466 'N', 'E', '\0' }; 467 468 #ifdef WARP 469 Char STRwarp[] = { 'w', 'a', 'r', 'p', '\0' }; 470 #endif /* WARP */ 471 472 #ifdef apollo 473 Char STRSYSTYPE[] = { 'S', 'Y', 'S', 'T', 'Y', 'P', 'E', '\0' }; 474 Char STRoid[] = { 'o', 'i', 'd', '\0' }; 475 Char STRbsd43[] = { 'b', 's', 'd', '4', '.', '3', '\0' }; 476 Char STRsys53[] = { 's', 'y', 's', '5', '.', '3', '\0' }; 477 Char STRver[] = { 'v', 'e', 'r', '\0' }; 478 #endif /* apollo */ 479 480 #ifndef IS_ASCII 481 Char STRwarnebcdic[] = { 'w', 'a', 'r', 'n', 'e', 'b', 'c', 'd', 'i', 'c', '\0' }; 482 #endif 483 484 Char STRmCF[] = { '-', 'C', 'F', '\0', '\0' }; 485 #ifdef COLOR_LS_F 486 Char STRlsmF[] = { 'l', 's', '-', 'F', '\0' }; 487 Char STRcolor[] = { 'c', 'o', 'l', 'o', 'r', '\0' }; 488 #ifdef BSD_STYLE_COLORLS 489 Char STRmmcolormauto[] = { '-', 'G', '\0' }; 490 #else 491 Char STRmmcolormauto[] = { '-', '-', 'c', 'o', 'l', 'o', 'r', '=', 'a', 'u', 't', 'o', '\0' }; 492 #endif /* BSD_STYLE_COLORLS */ 493 Char STRLS_COLORS[] = { 'L', 'S', '_', 'C', 'O', 'L', 'O', 'R', 'S', '\0' }; 494 #endif /* COLOR_LS_F */ 495 496 Char STRls[] = { 'l', 's', '\0' }; 497 498 Char STRup[] = { 'u', 'p', '\0' }; 499 Char STRdown[] = { 'd', 'o', 'w', 'n', '\0' }; 500 Char STRleft[] = { 'l', 'e', 'f', 't', '\0' }; 501 Char STRright[] = { 'r', 'i', 'g', 'h', 't', '\0' }; 502 Char STRend[] = { 'e', 'n', 'd', '\0' }; 503 504 #ifdef COLORCAT 505 Char STRcolorcat[] = { 'c', 'o', 'l', 'o', 'r', 'c', 'a', 't', '\0' }; 506 #endif 507 508 Char STRshwspace[] = { ' ', '\t', '\0' }; 509 Char STRshwordsep[] = { ' ', '\t', '&', '|', ';', '<', '>', '(', ')', '\0' }; 510 Char STRrepeat[] = { 'r', 'e', 'p', 'e', 'a', 't', '\0' }; 511 512 Char STReof[] = { '^', 'D', '\b', '\b', '\0' }; 513 Char STRonlyhistory[] = { 'o', 'n', 'l', 'y', 'h', 'i', 's', 't', 'o', 'r', 514 'y', '\0' }; 515 Char STRparseoctal[] = { 'p', 'a', 'r', 's', 'e', 'o', 'c', 't', 'a', 'l', 516 '\0' }; 517 Char STRli[] = { 'l', 'i', '#', '\0' }; 518 Char STRco[] = { 'c', 'o', '#', '\0' }; 519