| /NextBSD/contrib/tcsh/ |
| HD | tc.bind.c | 130 xprintf(CGETS(20, 1, "Invalid key name `%S'\n"), v[no]); in dobindkey() 194 xprintf(CGETS(20, 2, "Bad key name: %S\n"), in.buf); in dobindkey() 260 xprintf(CGETS(20, 3, "Bad command name: %S\n"), str); in parsecmd() 268 xprintf(CGETS(20, 4, "Bad key spec %S\n"), str); in bad_spec() 385 xprintf("%s", CGETS(20, 5, "Null string specification\n")); in parsestring() 418 xprintf("%s", CGETS(20, 6, "Standard key bindings\n")); in print_all_keys() 428 xprintf("%s", CGETS(20, 7, "Alternative key bindings\n")); in print_all_keys() 437 xprintf("%s", CGETS(20, 8, "Multi-character bindings\n")); in print_all_keys() 439 xprintf("%s", CGETS(20, 9, "Arrow key bindings\n")); in print_all_keys() 464 xprintf(CGETS(20, 10, "%-15s-> is undefined\n"), unparsed); in printkeys() [all …]
|
| HD | tc.alloc.c | 215 xprintf(CGETS(19, 1, "nbytes=%zu: Out of memory\n"), nbytes); in malloc() 315 CGETS(19, 2, "free(%p) called before any allocations."), cp); in free() 317 CGETS(19, 3, "free(%p) above top of memory."), cp); in free() 319 CGETS(19, 4, "free(%p) below bottom of memory."), cp); in free() 322 CGETS(19, 5, "free(%p) bad block."), cp); in free() 327 CGETS(19, 6, "free(%p) bad range check."), cp); in free() 330 CGETS(19, 7, "free(%p) bad block index."), cp); in free() 608 xprintf(CGETS(19, 8, "%s current memory allocation:\nfree:\t"), progname); in showall() 615 xprintf("\n%s:\t", CGETS(19, 9, "used")); in showall() 620 xprintf(CGETS(19, 10, "\n\tTotal in use: %d, total free: %d\n"), in showall() [all …]
|
| HD | tc.os.c | 361 stderror(ERR_NAME | ERR_STRING, CGETS(23, 1, "Bad cpu/site name")); in dosetspath() 364 stderror(ERR_NAME | ERR_STRING, CGETS(23, 2, "Site path too long")); in dosetspath() 381 return CGETS(23, 3, "unknown"); in sitename() 401 xprintf(CGETS(23, 4, "site: %s\n"), strerror(errno)); in migratepid() 405 xprintf(CGETS(23, 5, "%d: Site not found\n"), new_site); in migratepid() 409 xprintf(CGETS(23, 6, "setlocal: %s: %s\n"), in migratepid() 449 stderror(ERR_NAME | ERR_STRING, CGETS(23, 7, "Site not found")); in domigrate() 516 CGETS(23, 30, "Too many arguments")); in dodmmode() 527 CGETS(23, 31, "Invalid argument")); in dodmmode() 569 CGETS(23, 8, "You're trapped in a universe you never made")); in dowarp() [all …]
|
| HD | ed.screen.c | 386 xprintf("%s", CGETS(7, 1, "\n\tTcsh thinks your terminal has the\n")); in TellTC() 387 xprintf("%s", CGETS(7, 2, "\tfollowing characteristics:\n\n")); in TellTC() 388 xprintf(CGETS(7, 3, "\tIt has %d columns and %d lines\n"), in TellTC() 390 s = strsave(T_HasMeta ? CGETS(7, 5, "a") : CGETS(7, 6, "no")); in TellTC() 393 xprintf(CGETS(7, 4, "\tIt has %s meta key\n"), s); in TellTC() 394 s = strsave(T_Tabs ? "" : CGETS(7, 8, " not")); in TellTC() 396 xprintf(CGETS(7, 7, "\tIt can%s use tabs\n"), s); in TellTC() 398 CGETS(7, 10, "has") : CGETS(7, 11, "does not have")); in TellTC() 400 xprintf(CGETS(7, 9, "\tIt %s automatic margins\n"), s); in TellTC() 403 CGETS(7, 10, "has") : CGETS(7, 11, "does not have")); in TellTC() [all …]
|
| HD | tc.who.c | 269 xprintf(CGETS(26, 1, 285 xprintf(CGETS(26, 2, 487 xprintf(CGETS(26, 3, "BUG! last element is not whotail!\n")); 491 xprintf(CGETS(26, 4, "backward: ")); 498 xprintf(CGETS(26, 5, "BUG! first element is not whohead!\n")); 502 xprintf(CGETS(26, 6, "new: %s/%s\n"), new->who_name, new->who_tty); 513 Char *cp = str2short(CGETS(26, 7, "%n has %a %l from %m.")); 515 Char *cp = str2short(CGETS(26, 8, "%n has %a %l.")); 559 return strsave(CGETS(26, 9, "logged on")); 561 return strsave(CGETS(26, 10, "logged off")); [all …]
|
| HD | ma.setp.c | 122 if (eflag) xprintf(CGETS(10, 1, \ 129 if (eflag) xprintf(CGETS(10, 2, \ 243 xprintf(CGETS(10, 3, in initpaths() 422 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in iacmd() 438 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in ibcmd() 489 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in dcmd() 503 xprintf(CGETS(10, 5, in dncmd() 535 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in ccmd() 549 xprintf(CGETS(10, 5, in cncmd()
|
| HD | vms.termcap.c | 85 fprintf(stderr, CGETS(31, 1, in tgetent() 87 fprintf(stderr, CGETS(31, 2, "Can't open %s.\n"), termfile); in tgetent() 113 fprintf(stderr, CGETS(31, 3, "Found %s in %s.\n"), name, termfile); in tgetent() 126 fprintf(stderr,CGETS(31, 3, "Found %s in %s.\n"), name, termfile); in tgetent() 136 fprintf(stderr,CGETS(31, 4, "No match found for %s in file %s\n"), in tgetent()
|
| HD | ed.xmap.c | 219 xprintf("%s", CGETS(9, 1, "AddXkey: Null extended-key not allowed.\n")); in AddXkey() 225 CGETS(9, 2, "AddXkey: sequence-lead-in command not allowed\n")); in AddXkey() 323 CGETS(9, 3, "DeleteXkey: Null extended-key not allowed.\n")); in DeleteXkey() 456 xprintf(CGETS(9, 4, "Unbound extended key \"%S\"\n"), cs.buf); in PrintXkey() 516 xprintf(CGETS(9, 6, "Enumerate: BUG!! Null ptr passed\n!")); in Enumerate() 573 xprintf(fmt, CGETS(9, 7, "no input")); in printOne() 620 xprintf(CGETS(9, 8, "Something must follow: %c\n"), (char)*p); in parseescape() 674 xprintf("%s", CGETS(9, 9, in parseescape()
|
| HD | sh.exec.c | 753 xprintf(CGETS(13, 1, "hash=%-4d dir=%-2d prog=%s\n"), in dohash() 787 xprintf(CGETS(13, 2, "%d hash buckets of %d bits each\n"), in hashstat() 790 xprintf(CGETS(13, 3, "debug mask = 0x%08x\n"), hashdebug); in hashstat() 794 xprintf(CGETS(13, 4, "%d hits, %d misses, %d%%\n"), in hashstat() 978 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"), in tellmewhat() 994 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"), in tellmewhat() 1048 xprintf(CGETS(13, 6, "%S: Command not found.\n"), sp->word); in tellmewhat() 1090 xprintf("%s", CGETS(13, 7, "where: / in command makes no sense\n")); in find_cmd() 1098 xprintf(CGETS(13, 8, "%S is aliased to "), cmd); in find_cmd() 1112 xprintf(CGETS(13, 9, "%S is a shell built-in\n"), cmd); in find_cmd() [all …]
|
| HD | ed.inputl.c | 184 xprintf(CGETS(6, 1, "ERROR: illegal command from key 0%o\r\n"), ch); in Inputl() 267 xprintf("%s", CGETS(6, 2, "yes\n")); in Inputl() 273 xprintf("%s", CGETS(6, 3, "edit\n")); in Inputl() 284 xprintf("%s", CGETS(6, 4, "abort\n")); in Inputl() 292 xprintf("%s", CGETS(6, 5, "no\n")); in Inputl() 312 xprintf("%s", CGETS(6, 6, "No matching command\n")); in Inputl() 314 xprintf("%s", CGETS(6, 7, "Ambiguous command\n")); in Inputl() 548 xprintf(CGETS(7, 8, "*** editor fatal ERROR ***\r\n\n")); in Inputl()
|
| HD | tw.comp.c | 550 stderror(ERR_COMPINV, CGETS(27, 1, "command"), cmd); in tw_complete() 557 stderror(ERR_COMPINV, CGETS(27, 2, "separator"), (int)sep); in tw_complete() 562 CGETS(27, 3, "pattern")); in tw_complete() 566 stderror(ERR_COMPINC, cmd == 'p' ? CGETS(27, 4, "range") : in tw_complete() 567 CGETS(27, 3, "pattern"), ""); in tw_complete() 572 CGETS(27, 5, "completion")); in tw_complete()
|
| HD | tc.func.c | 449 xprintf(CGETS(22, 1, "%S: \t aliased to "), cmd); in cmd_expand() 759 xprintf(CGETS(22, 2, "\nIncorrect passwd for %s\n"), pw->pw_name); in auto_lock() 806 xprintf("%s", CGETS(22, 3, "Faulty alias 'precmd' removed.\n")); in precmd() 824 xprintf("%s", CGETS(22, 3, "Faulty alias 'postcmd' removed.\n")); in postcmd() 848 xprintf("%s", CGETS(22, 4, "Faulty alias 'cwdcmd' removed.\n")); in cwd_cmd() 870 xprintf("%s", CGETS(22, 5, "Faulty alias 'beepcmd' removed.\n")); in beep_cmd() 897 xprintf("%s", CGETS(22, 6, "Faulty alias 'periodic' removed.\n")); in period_cmd() 935 xprintf("%s", CGETS(22, 14, "Faulty alias 'jobcmd' removed.\n")); in job_cmd() 1125 xprintf(CGETS(22, 7, "parsing command line\n")); in rmstar() 1142 xprintf("%s", CGETS(22, 8, in rmstar() [all …]
|
| HD | tc.disc.c | 110 xprintf(CGETS(21, 1, "Couldn't get local chars.\n")); 119 xprintf(CGETS(21, 2, "Couldn't set local chars.\n"));
|
| HD | sh.lex.c | 1474 xprintf(CGETS(16, 1, "Reset tty pgrp from %d to %d\n"), in readc() 1500 xprintf("%s", CGETS(16, 2, in readc() 1503 xprintf(CGETS(16, 3, in readc() 1728 xprintf(CGETS(16, 4, "seek to eval %x %x\n"), evalvec, evalp); in bseek() 1735 xprintf(CGETS(16, 5, "seek to alias %x %x\n"), alvec, alvecp); in bseek() 1740 xprintf(CGETS(16, 6, "seek to file %x\n"), fseekp); in bseek() 1767 xprintf(CGETS(16, 7, "Bad seek type %d\n"), aret); in bseek() 1781 xprintf(CGETS(16, 8, "tell eval %x %x\n"), evalvec, evalp); in btell() 1788 xprintf(CGETS(16, 9, "tell alias %x %x\n"), alvec, alvecp); in btell() 1805 xprintf(CGETS(16, 10, "tell file %x\n"), fseekp); in btell() [all …]
|
| HD | sh.proc.c | 496 xprintf("%s", CGETS(17, 1, "BUG: waiting for background job!\n")); in pjwait() 576 xprintf(CGETS(17, 2, "Exit %d\n"), reason); in pjwait() 648 xprintf("%s", CGETS(17, 3, "BUG: process flushed twice")); in pflush() 1055 xprintf(format, CGETS(17, 4, "Running ")); in pprint() 1077 ptr = xasprintf("%s %d", CGETS(17, 5, "Signal"), in pprint() 1094 xprintf(CGETS(17, 6, "Exit %-25d"), pp->p_reason); in pprint() 1096 xprintf(format, CGETS(17, 7, "Done")); in pprint() 1101 xprintf(CGETS(17, 8, "BUG: status=%-9o"), in pprint() 1115 xprintf("%s", CGETS(17, 9, " (core dumped)")); in pprint() 1121 xprintf("%s", CGETS(17, 10, " (wd: ")); in pprint() [all …]
|
| HD | tw.parse.c | 241 xprintf(CGETS(30, 1, "starting_a_command %d\n"), looking); in tenematch() 262 xprintf(CGETS(30, 2, "complete %d "), looking); in tenematch() 268 xprintf(CGETS(30, 3, "complete %d %S\n"), looking, pat); in tenematch() 485 xprintf(CGETS(30, 4, "%s: Internal match error.\n"), progname); in tenematch() 1453 name = CGETS(30, 5, "items"); in tw_list_items() 1457 name = CGETS(30, 6, "rows"); in tw_list_items() 1463 xprintf(CGETS(30, 7, "There are %d %s, list them anyway? [n/y] "), in tw_list_items() 1474 if (strchr(CGETS(30, 13, "Yy"), tc) == NULL) in tw_list_items() 1621 xprintf(CGETS(30, 8, "looking = %d\n"), looking); in t_search() 1766 xprintf(CGETS(30, 9, in t_search() [all …]
|
| HD | sh.h | 1228 # define CGETS(b, c, d) iconv_catgets(catd, b, c, d) macro 1230 # define CGETS(b, c, d) xcatgets(catd, b, c, d) macro 1232 # define CSAVS(b, c, d) strsave(CGETS(b, c, d)) 1234 # define CGETS(b, c, d) d macro 1238 # define CGETS(b, c, d) nt_cgets( b, c, d) macro 1239 # define CSAVS(b, c, d) strsave(CGETS(b, c, d))
|
| HD | sh.c | 880 xprintf("%s", CGETS(11, 8, HELP_STRING)); in main() 1282 xprintf(CGETS(11, 1, "Warning: no access to tty (%s).\n"), in main() 1285 CGETS(11, 2, "Thus no job control in this shell.\n")); in main() 2283 xprintf(CGETS(11, 3, "You have %d mail messages.\n"), in mailchk() 2286 xprintf(CGETS(11, 4, "You have %d mail messages in %s.\n"), in mailchk() 2296 type = strsave(new ? CGETS(11, 6, "new ") : ""); in mailchk() 2299 xprintf(CGETS(11, 5, "You have %smail.\n"), type); in mailchk() 2301 xprintf(CGETS(11, 7, "You have %smail in %s.\n"), type, filename); in mailchk()
|
| HD | tw.help.c | 110 xprintf(CGETS(29, 1, "No help file for %S\n"), name); in do_help()
|
| HD | sh.set.c | 1132 xprintf(CGETS(18, 2, in update_dspmbyte_vars() 1163 xprintf(CGETS(18, 3, in update_dspmbyte_vars() 1175 xprintf(CGETS(18, 4, in update_dspmbyte_vars() 1182 xprintf(CGETS(18, 4, in update_dspmbyte_vars()
|
| HD | tc.sched.c | 78 sprintf(kludge, CGETS(24, 1, "kludge")); in dosched()
|
| HD | sh.func.c | 2322 op = strsave(limit == RLIM_INFINITY ? CGETS(15, 2, "remove") : 2323 CGETS(15, 3, "set")); 2325 type = strsave(hard ? CGETS(15, 4, " hard") : ""); 2327 xprintf(CGETS(15, 1, "%s: %s: Can't %s%s limit (%s)\n"), bname,
|
| HD | ed.term.c | 621 CGETS(8, 1, "Unknown switch")); in dosetty() 674 stderror(ERR_NAME | ERR_SYSTEM, d, CGETS(8, 2, "Invalid argument")); in dosetty()
|
| HD | sh.err.c | 210 CGETS(i, 1, "" ); in errinit()
|
| HD | sh.sem.c | 647 xprintf(CGETS(17, 2, "Exit %d\n"), rv); in execute()
|