Home
last modified time | relevance | path

Searched refs:inputline (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_get.c102 static unsigned char inputline[128]; in getach() local
123 c = read(0, inputline, sizeof inputline - 4); in getach()
127 inputline[c++] = CTRL('d'); in getach()
128 if (inputline[c-1] == '\n') in getach()
133 if(inputline[i] != 0) in getach()
134 inputline[prev++] = inputline[i]; in getach()
135 inputline[prev] = 0; in getach()
136 input = inputline; in getach()
139 if (read(0, inputline, 1) != 1) in getach()
142 lastc = inputline[0]; in getach()
[all …]
H A Dex_addr.c213 address(inputline) in address() argument
214 unsigned char *inputline; in address()
284 if (inputline && execute(0, dot)) {
286 while (loc1 <= (char *)inputline) {
293 } else if (loc1 < (char *)inputline) {
303 } while (loc1 < (char *)inputline);
330 if (inputline && c == '?') {
331 inputline = &linebuf[LBSIZE];
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c700 tenex(tchar *inputline, int inputline_size) in tenex() argument
712 while ((i = read_(SHIN, inputline+num_read, inputline_size-num_read)) in tenex()
721 inputline[num_read] = '\0'; in tenex()
722 last_char = inputline[num_read - 1] & TRIM; in tenex()
731 str_end = &inputline[num_read]; in tenex()
748 for (word_start = str_end; word_start > inputline; in tenex()
754 space_left = inputline_size - (word_start - inputline) - 1; in tenex()
763 if (index_(inputline, '\t')) { /* tab tchar in input line? */ in tenex()
771 pushback(inputline, should_retype); in tenex()
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c242 static char inputline[MAXLINE]; variable
869 bzero((void *)inputline, MAXLINE); in login_conv()
871 envp = getargs(inputline); in login_conv()
874 if (inputline[0] != '\0') { in login_conv()
887 (void) strncpy(r->resp, inputline, in login_conv()
1126 check_for_dueling_unix(char *inputline) in check_for_dueling_unix() argument
1128 if (EQN(loginmsg, inputline) || EQN(passwdmsg, inputline) || in check_for_dueling_unix()
1129 EQN(incorrectmsg, inputline)) { in check_for_dueling_unix()
1499 if ((envp = getargs(inputline)) != (char **)NULL) { in get_options()
1507 (void) SCPYL(inputline, user_name); in get_options()
[all …]