Lines Matching +defs:command +defs:word
143 * This must be done after every command: if the tty gets into raw or
498 * Perform a RECOGNIZE or LIST command on string "word".
501 tsearch(Char *word, COMMAND command, size_t max_word_length)
513 looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL);
518 name = word + 1; /* name sans ~ */
523 extract_dir_and_name(word, &dir, &name);
545 if (command == LIST)
547 else { /* RECOGNIZE command */
573 if (command == RECOGNIZE) {
575 copyn(word, STRtilde, 2);/*FIXBUF, sort of */
578 copyn(word, dir, max_word_length);/*FIXBUF*/
580 catn(word, extended_name, max_word_length);/*FIXBUF*/
701 COMMAND command;
710 command = (last_Char == ESC) ? RECOGNIZE : LIST;
711 if (command == LIST)
718 * Find LAST occurence of a delimiter in the inputline. The word start
725 numitems = tsearch(word_start, command, space_left);
727 if (command == RECOGNIZE) {
744 if (command == LIST) /* Always retype after a LIST */