/ast/src/lib/libcodex/ |
H A D | codexpass.c | 35 char prompt[2 * CODEX_NAME]; local 41 sfsprintf(prompt, sizeof(prompt), "Enter %s passphrase: ", meth->name); 42 return codexgetpass(prompt, buf, n);
|
H A D | codexgetpass.c | 25 * 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/libcs/ |
H A D | csclient.c | 61 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/uwin/ |
H A D | getpass.c | 50 extern char* getpass(const char *prompt) argument 66 sfputr(sfstderr,prompt,-1);
|
/ast/src/lib/libast/disc/ |
H A D | sfdcmore.c | 50 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/builtin/ |
H A D | pty.c | 441 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/lib/libtk/library/demos/ |
H A D | rmt | 128 # The procedure below is used to print out a prompt at the 132 proc prompt {} { 141 # current line after the prompt and either sends it to the remote 166 prompt 174 # we're talking to. It also updates the prompt for the current 176 # the text item (in which case a new prompt is about to be output 204 prompt
|
/ast/src/lib/libtk/generic/ |
H A D | tkMain.c | 295 goto prompt; 326 * Output a prompt. 329 prompt: 342 * Issue a prompt on standard output, or invoke a script 343 * to issue the prompt. 349 * A prompt gets output, and a Tcl script may be evaluated 360 * the secondary prompt. */ 389 "\n (script that generates prompt)");
|
/ast/src/cmd/ksh93/bltins/ |
H A D | read.c | 54 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 D | misc.c | 312 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/lib/libdss/ |
H A D | cxlib.h | 165 int prompt; member in struct:Cxinclude_s
|
H A D | cxcomp.c | 64 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/coshell/ |
H A D | command.c | 169 int prompt; local 193 prompt = !ap && isatty(0); 198 if (prompt) error(ERROR_PROMPT, "%s> ", CO_ID);
|
/ast/src/cmd/tksh/ |
H A D | tkMain.c | 199 * input, and print a prompt if the input device is a terminal. 347 goto prompt; 378 * Output a prompt. 381 prompt: 394 * Issue a prompt on standard output, or invoke a script 395 * to issue the prompt. 401 * A prompt gets output, and a Tcl script may be evaluated 412 * the secondary prompt. */ 441 "\n (script that generates prompt)");
|
/ast/src/cmd/mailx/ |
H A D | lex.c | 258 * When we wake up after ^Z, reprint the prompt. 286 * print no prompt. 313 * Print the prompt, if needed. Clear out 324 else if (state.var.prompt) 325 note(PROMPT, "%s", state.var.prompt);
|
H A D | data.c | 345 X("Check for new mail at each prompt."), 417 X("Enable the internal pager using this string as the prompt."), 426 "prompt", &state.var.prompt, N, "? ",0, 427 X("The interactive command mode prompt."),
|
H A D | mailx.h | 840 char* prompt; member in struct:__anon136::__anon147
|
/ast/src/cmd/re/ |
H A D | ed.c | 39 "[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/nmake/ |
H A D | parse.c | 40 #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/ksh93/include/ |
H A D | defs.h | 168 short nextprompt; /* next prompt is PS<nextprompt> */ \ 173 char *prompt; /* pointer to prompt string */ \
|
/ast/src/cmd/ie/ |
H A D | emacs.c | 49 * - 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 D | vi.c | 140 #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/ksh93/edit/ |
H A D | emacs.c | 41 * - 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 D | edit.c | 579 * This routine sets up the prompt string 581 * Escape sequences in the prompt can be excluded from the calculated 582 * prompt length. This is accomplished as follows: 583 * - if the prompt string starts with "%\r, or contains \r%\r", where % 586 * are not counted as part of the prompt length. 620 if(!(last = shp->prompt)) 622 shp->prompt = 0;
|
H A D | vi.c | 154 #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 ***/
|