Lines Matching defs:prompt
54 prompt(void)
56 static char prompt[20]; /* probably too large, but well... */
60 if ((cp = getenv("prompt")) == NULL)
72 n = sprintf(prompt+n, "%s", ev);
76 prompt[n++] = *p;
79 if (prompt[n - 1] != ' ')
80 prompt[n++] = ' ';
81 prompt[n] = '\0';
83 return (prompt);
111 if (getenv("prompt") == NULL)
112 setenv("prompt", "${interpret}", 1);
136 if ((buffer = gl_get_line(gl, prompt(), NULL, -1)) == NULL)