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