/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1982-2012 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
/*
* UNIX shell
* S. R. Bourne
* Rewritten by David Korn
*
* AT&T Labs
*
*/
/* error messages */
const char e_timewarn[] =
"\r\n\ashell will timeout in 60 seconds due to inactivity";
const char e_runvi[] =
"\\hist -e \"${VISUAL:-${EDITOR:-vi}}\" ";
const char e_timeout[] =
"timed out waiting for input";
const char e_mailmsg[] =
"you have mail in $_";
const char e_query[] =
"no query process";
const char e_histopen[] =
"history file cannot open";
const char e_option[] =
"%s: bad option(s)";
const char e_toomany[] =
"open file limit exceeded";
const char e_argtype[] =
"invalid argument of type %c";
const char e_formspec[] =
"%c: unknown format specifier";
const char e_badregexp[] =
"%s: invalid regular expression";
const char e_number[] =
"%s: bad number";
const char e_nullset[] =
"%s: parameter null";
const char e_notset[] =
"%s: parameter not set";
const char e_subst[] =
"%s: bad substitution";
const char e_create[] =
"%s: cannot create";
const char e_tmpcreate[] =
"cannot create temporary file";
const char e_pfsh[] =
"%s: disabled in profile shell";
const char e_pexists[] =
"process already exists";
const char e_exists[] =
"%s: file already exists";
const char e_pipe[] =
"cannot create pipe";
const char e_alarm[] =
"cannot set alarm";
const char e_open[] =
"%s: cannot open";
const char e_badseek[] =
"%s: invalid seek offset";
const char e_noread[] =
"%s: pattern seek requires read access";
const char e_logout[] =
"Use 'exit' to terminate this shell";
const char e_exec[] =
"%s: cannot execute";
const char e_pwd[] =
"cannot access parent directories";
const char e_found[] =
"%s: not found";
const char e_defined[] =
"%s: function not defined";
const char e_nointerp[] =
"%s: interpreter not found";
const char e_subscript[] =
"%s: subscript out of range";
const char e_toodeep[] =
"%s: recursion too deep";
const char e_access[] =
"permission denied";
#endif /* _cmd_universe */
const char e_direct[] =
"bad directory";
const char e_file[] =
"%s: bad file unit number";
const char e_trap[] =
"%s: bad trap";
const char e_badfield[] =
"%d: negative field size";
const char e_ident[] =
"%s: is not an identifier";
const char e_varname[] =
"%s: invalid variable name";
const char e_badfun[] =
"%s: invalid function name";
const char e_aliname[] =
"%s: invalid alias name";
const char e_badexport[] =
"%s: only simple variables can be exported";
const char e_badref[] =
"%s: reference variable cannot be an array";
const char e_noarray[] =
"%s: cannot be an array";
const char e_badappend[] =
"%s: invalid append to associative array";
const char e_noref[] =
"%s: no reference name";
const char e_nounattr[] =
"cannot unset attribute C or A or a";
const char e_selfref[] =
"%s: invalid self reference";
const char e_globalref[] =
"%s: global reference cannot refer to local variable";
const char e_noalias[] =
"%s: alias not found\n";
const char e_format[] =
"%s: bad format";
const char e_redef[] =
"%s: type cannot be redefined";
const char e_required[] =
"%s: is a required element of %s";
const char e_badtformat[] =
"%c: bad format character in time format";
const char e_nolabels[] =
"%s: label not implemented";
const char e_notimp[] =
"%s: not implemented";
const char e_notelem[] =
"%.*s: is not an element of %s";
const char e_notenum[] =
"%s: not an enumeration type";
const char e_mapchararg[] =
"-M requires argument when operands are specified";
const char e_subcomvar[] =
"%s: compound assignment requires sub-variable name";
const char e_badtypedef[] =
"%s: type definition requires compound assignment";
const char e_typecompat[] =
"%s: array instance incompatible with type assignment";
const char e_eneedsarg[] =
"-e - requires single argument";
const char e_loop[] =
"%s: would cause loop";
const char e_staticfun[] =
"%s: defined as a static function in type %s and cannot be redefined";
const char e_on [] =
"on";
const char e_off[] =
"off";
const char is_builtver[] =
"is a shell builtin version of";
const char is_alias[] =
"%s is an alias for ";
const char is_xalias[] =
"%s is an exported alias for ";
const char is_talias[] =
"is a tracked alias for";
const char e_newtty[] =
"Switching to new tty driver...";
const char e_oldtty[] =
"Reverting to old tty driver...";
const char e_no_start[] =
"Cannot start job control";
# endif /*SIGTSTP */
const char e_done[] =
" Done";
const char e_badpid[] =
"%s: invalid process id";
const char e_jobusage[] =
"%s: Arguments must be %%job, process ids, or job pool names";
# else
const char e_jobusage[] =
"%s: Arguments must be %%job or process ids";
# endif /* SHOPT_COSHELL */
#endif /* JOBS */
const char e_alphanum[] =
"[_[:alpha:]]*([_[:alnum:]])";
const char e_devfdstd[] =
"/dev/@(fd/+([0-9])|std@(in|out|err))";
const char e_signo[] =
"Signal %d";
#endif /* SHOPT_FS_3D */
/* string constants */
const char e_heading[] =
"Current option settings";
const char e_unknown [] =
"<command unknown>";
#endif
#endif
#endif
#endif /* SHOPT_SUID_EXEC */
const char e_dot[] =
".";
const char e_timeformat[] =
"\nreal\t%2lR\nuser\t%2lU\nsys\t%2lS";
const char e_dict[] =
"libshell";
const char e_funload[] =
"function, built-in or type definition for %s not found in %s";