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