Lines Matching defs:cmd_str

289 void goto_line P_((char *cmd_str));
1656 char *cmd_str;
1661 cmd_str = get_string(command_str, TRUE);
1662 if ((result = unique_test(cmd_str, commands)) != 1)
1667 wprintw(com_win, unkn_cmd_str, cmd_str);
1676 if (cmd_str != NULL)
1677 free(cmd_str);
1680 command(cmd_str);
1685 if (cmd_str != NULL)
1686 free(cmd_str);
1694 char *cmd_str = cmd_str1;
1697 if (compare(cmd_str, HELP, FALSE))
1699 else if (compare(cmd_str, WRITE, FALSE))
1705 cmd_str = next_word(cmd_str);
1706 if (*cmd_str == '\0')
1708 cmd_str = cmd_str2 = get_string(file_write_prompt_str, TRUE);
1710 tmp_file = resolve_name(cmd_str);
1712 if (tmp_file != cmd_str)
1715 else if (compare(cmd_str, READ, FALSE))
1721 cmd_str = next_word(cmd_str);
1722 if (*cmd_str == '\0')
1724 cmd_str = cmd_str2 = get_string(file_read_prompt_str, TRUE);
1726 tmp_file = cmd_str;
1728 tmp_file = resolve_name(cmd_str);
1730 if (tmp_file != cmd_str)
1733 else if (compare(cmd_str, LINE, FALSE))
1740 else if (compare(cmd_str, FILE_str, FALSE))
1749 else if ((*cmd_str >= '0') && (*cmd_str <= '9'))
1750 goto_line(cmd_str);
1751 else if (compare(cmd_str, CHARACTER, FALSE))
1757 else if (compare(cmd_str, REDRAW, FALSE))
1759 else if (compare(cmd_str, RESEQUENCE, FALSE))
1768 else if (compare(cmd_str, AUTHOR, FALSE))
1774 else if (compare(cmd_str, VERSION, FALSE))
1780 else if (compare(cmd_str, CASE, FALSE))
1782 else if (compare(cmd_str, NOCASE, FALSE))
1784 else if (compare(cmd_str, EXPAND, FALSE))
1786 else if (compare(cmd_str, NOEXPAND, FALSE))
1788 else if (compare(cmd_str, Exit_string, FALSE))
1790 else if (compare(cmd_str, chinese_cmd, FALSE))
1797 else if (compare(cmd_str, nochinese_cmd, FALSE))
1804 else if (compare(cmd_str, QUIT_string, FALSE))
1806 else if (*cmd_str == '!')
1808 cmd_str++;
1809 if ((*cmd_str == ' ') || (*cmd_str == 9))
1810 cmd_str = next_word(cmd_str);
1811 sh_command(cmd_str);
1813 else if ((*cmd_str == '<') && (!in_pipe))
1817 cmd_str++;
1818 if ((*cmd_str == ' ') || (*cmd_str == '\t'))
1819 cmd_str = next_word(cmd_str);
1820 command(cmd_str);
1824 else if ((*cmd_str == '>') && (!out_pipe))
1827 cmd_str++;
1828 if ((*cmd_str == ' ') || (*cmd_str == '\t'))
1829 cmd_str = next_word(cmd_str);
1830 command(cmd_str);
1837 wprintw(com_win, unkn_cmd_str, cmd_str);
1985 goto_line(cmd_str)
1986 char *cmd_str;
1994 ptr = cmd_str;