Home
last modified time | relevance | path

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

/titanic_41/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()
126 if (c == 0 || inputline[c-1] != '\n') 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()
[all …]
H A Dex_addr.c214 address(inputline) in address() argument
215 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];
/titanic_41/usr/src/cmd/csh/
H A Dsh.file.c702 tenex(tchar *inputline, int inputline_size) in tenex() argument
714 while ((i = read_(SHIN, inputline+num_read, inputline_size-num_read)) in tenex()
723 inputline[num_read] = '\0'; in tenex()
724 last_char = inputline[num_read - 1] & TRIM; in tenex()
733 str_end = &inputline[num_read]; in tenex()
750 for (word_start = str_end; word_start > inputline; in tenex()
756 space_left = inputline_size - (word_start - inputline) - 1; in tenex()
765 if (index_(inputline, '\t')) { /* tab tchar in input line? */ in tenex()
773 pushback(inputline, should_retype); in tenex()
/titanic_41/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()
1125 check_for_dueling_unix(char *inputline) in check_for_dueling_unix() argument
1127 if (EQN(loginmsg, inputline) || EQN(passwdmsg, inputline) || in check_for_dueling_unix()
1128 EQN(incorrectmsg, inputline)) { in check_for_dueling_unix()
1498 if ((envp = getargs(inputline)) != (char **)NULL) { in get_options()
1506 (void) SCPYL(inputline, user_name); in get_options()
[all …]