Searched defs:prompt (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libcodex/
H A Dcodexpass.c35 char prompt[2 * CODEX_NAME]; local
41 sfsprintf(prompt, sizeof(prompt), "Enter %s passphrase: ", meth->name);
42 return codexgetpass(prompt, buf, n);
H A Dcodexgetpass.c25 * prompt for password and return it in buf
35 codexgetpass(const char* prompt, void* buf, size_t n) argument
58 if (prompt)
60 sfprintf(wp, "%s", prompt);
/ast/src/lib/libast/uwin/
H A Dgetpass.c50 extern char* getpass(const char *prompt) argument
66 sfputr(sfstderr,prompt,-1);
/ast/src/lib/libcs/
H A Dcsclient.c61 csclient(Cs_t* cs, int fd, const char* service, const char* prompt, char** argv, unsigned int flags) argument
110 if (promptlen = (!argv && prompt && isatty(fds[0].fd) && isatty(1)) ? strlen(prompt) : 0)
111 write(1, prompt, promptlen);
173 write(1, prompt, promptlen);
192 write(1, prompt, promptlen);
198 _cs_client(int fd, const char* service, const char* prompt, char** argv, unsigned int flags) argument
200 return csclient(&cs, fd, service, prompt, argv, flags);
/ast/src/lib/libast/disc/
H A Dsfdcmore.c50 char prompt[1]; /* prompt string */ member in struct:__anon257
213 r = ttyquery(sfstdin, f, more->prompt, dp);
297 * if prompt==0 then a default ansi prompt is used
303 int sfdcmore(Sfio_t* f, const char* prompt, int rows, int cols) argument
305 int sfdcmore(f, prompt, rows, cols)
307 char* prompt;
321 if (!prompt)
322 prompt
[all...]
/ast/src/cmd/coshell/
H A Dcommand.c169 int prompt; local
193 prompt = !ap && isatty(0);
198 if (prompt) error(ERROR_PROMPT, "%s> ", CO_ID);
/ast/src/lib/libdss/
H A Dcxlib.h165 int prompt; member in struct:Cxinclude_s
H A Dcxcomp.c64 if (cx->include->prompt)
359 int prompt; local
389 prompt = cx->disc->ps1 && isatty(sffileno(sp));
407 prompt = 0;
427 cx->interactive = ip->prompt = prompt;
/ast/src/cmd/ksh93/bltins/
H A Dread.c54 char *prompt; member in struct:read_save
86 name = rp->prompt;
151 /* look for prompt */
163 rp->prompt = name;
168 shp->prompt = default_prompt;
169 if(r && (shp->prompt=(char*)sfreserve(sfstderr,r,SF_LOCKR)))
171 memcpy(shp->prompt,name,r);
172 sfwrite(sfstderr,shp->prompt,r-1);
/ast/src/cmd/pax/
H A Dmisc.c312 verify(Archive_t* ap, register File_t* f, register char* prompt) argument
317 if (!prompt)
325 prompt = "Read";
328 prompt = "Write";
331 prompt = "Pass";
335 prompt = "Rename";
337 sfprintf(state.wtty, "%s %s: " , prompt, f->name);
/ast/src/cmd/ie/
H A Demacs.c49 * - A ^N as first history related command after the prompt will move
160 FIRST, /* First time thru for logical line, prompt on screen */
191 char prompt[PRSIZE]; local
202 Prompt = prompt;
1229 putstring(Prompt); /* start with prompt */
H A Dvi.c140 #define Prompt editb.e_prompt /* pointer to prompt */
141 #define plen editb.e_plen /* length of prompt */
228 char prompt[PRSIZE+2]; /* prompt */ local
240 /*** setup prompt ***/
242 Prompt = prompt;
414 /*** fiddle around with prompt length ***/
826 /*** print the prompt and ***/
/ast/src/cmd/builtin/
H A Dpty.c441 char* prompt; /* peek prompt */ member in struct:Master_s
443 int line; /* prompt line number */
455 masterline(Sfio_t* mp, Sfio_t* lp, char* prompt, int must, int timeout, Master_t* bp) argument
466 if (prompt)
467 promptlen = sfsprintf(promptbuf, sizeof(promptbuf), prompt, ++bp->line);
469 if (prompt)
542 if (prompt && strneq(r, promptbuf, promptlen))
561 if (!prompt)
618 if (prompt)
[all...]
/ast/src/cmd/ksh93/edit/
H A Demacs.c41 * - A ^N as first history related command after the prompt will move
163 FIRST, /* First time thru for logical line, prompt on screen */
189 char prompt[PRSIZE]; local
199 Prompt = prompt;
1378 putstring(ep,Prompt); /* start with prompt */
H A Dvi.c154 #define Prompt editb.e_prompt /* pointer to prompt */
155 #define plen editb.e_plen /* length of prompt */
218 char prompt[PRSIZE+2]; /* prompt */ local
243 /*** setup prompt ***/
245 Prompt = prompt;
400 /*** fiddle around with prompt length ***/
806 /*** print the prompt and ***/
/ast/src/cmd/nmake/
H A Dparse.c40 #define PS1 "make> " /* primary query prompt */
41 #define PS2 ">>>>> " /* secondary query prompt */
145 unsigned int prompt:1; /* interactive input with prompt*/ member in struct:Parseinfo_s
615 if (pp->prompt)
675 if (pp->prompt)
698 if (pp->prompt)
740 if (pp->prompt)
802 if (pp->prompt)
3282 pp->prompt
[all...]
/ast/src/cmd/re/
H A Ded.c39 "[p:prompt?Sets the command line prompt to \astring\a. The default is"
40 " no prompt.]:[string]"
120 Sfio_t* prompt; member in struct:__anon200::__anon201
166 int prompt; member in struct:__anon200
1507 if (ed.prompt > 0)
1508 sfputr(ed.msg, sfstrbase(ed.buffer.prompt), -1);
1665 if (*s || !(ed.prompt = -ed.prompt) && (s = "*")) {
1666 sfstrseek(ed.buffer.prompt,
[all...]
/ast/src/cmd/mailx/
H A Dmailx.h840 char* prompt; member in struct:__anon136::__anon147

Completed in 62 milliseconds