Searched refs:prompt (Results 1 - 20 of 20) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/legacy/
H A Dgetpass.c8 char *getpass(const char *prompt) argument
26 dprintf(fd, "%s", prompt);
/seL4-refos-master/seL4_tools/cmake-tool/helpers/
H A Dcmakerepl28 set(prompt "> ")
38 s = raw_input(\"${prompt}\")
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/win/tty/
H A Dtopl.c333 * be shown in the prompt to the user but will be acceptable as input.
341 char prompt[QBUFSZ]; local
345 ttyDisplay->toplin = 3; /* special prompt state */
354 Sprintf(prompt, "%s [%s] ", query, respbuf);
355 if (def) Sprintf(eos(prompt), "(%c) ", def);
356 pline("%s", prompt);
373 addtopl(prompt);
389 addtopl(prompt);
H A Dwintty.c328 /* prevent an unnecessary prompt */
336 char *prompt = build_plselection_prompt(pbuf, QBUFSZ, flags.initrole, local
341 tty_putstr(BASE_WINDOW, 0, prompt);
346 if ((int)strlen(prompt) + 1 < CO) {
348 tty_putsym(BASE_WINDOW, (int)strlen(prompt)+1, echoline, pick4u);
673 /* erase previous prompt (in case of ESC after partial response) */
1018 const char *prompt = cw->morestr ? cw->morestr : defmorestr; local
1025 xputs(prompt);
1026 ttyDisplay->curx += strlen(prompt);
2061 tty_end_menu(window, prompt)
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/win/tty/
H A Dtopl.c333 * be shown in the prompt to the user but will be acceptable as input.
341 char prompt[QBUFSZ]; local
345 ttyDisplay->toplin = 3; /* special prompt state */
354 Sprintf(prompt, "%s [%s] ", query, respbuf);
355 if (def) Sprintf(eos(prompt), "(%c) ", def);
356 pline("%s", prompt);
373 addtopl(prompt);
389 addtopl(prompt);
H A Dwintty.c328 /* prevent an unnecessary prompt */
336 char *prompt = build_plselection_prompt(pbuf, QBUFSZ, flags.initrole, local
341 tty_putstr(BASE_WINDOW, 0, prompt);
346 if ((int)strlen(prompt) + 1 < CO) {
348 tty_putsym(BASE_WINDOW, (int)strlen(prompt)+1, echoline, pick4u);
673 /* erase previous prompt (in case of ESC after partial response) */
1018 const char *prompt = cw->morestr ? cw->morestr : defmorestr; local
1025 xputs(prompt);
1026 ttyDisplay->curx += strlen(prompt);
2061 tty_end_menu(window, prompt)
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dqt_win.h209 QLabel prompt; member in class:NetHackQtStringRequestor
254 virtual void EndMenu(const char* prompt);
522 virtual void EndMenu(const char* prompt);
579 QLabel prompt; member in class:NetHackQtMenuWindow
665 virtual void EndMenu(const char* prompt);
815 static void qt_end_menu(winid wid, const char *prompt);
831 static void qt_getlin(const char *prompt, char *line);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dqt_win.h209 QLabel prompt; member in class:NetHackQtStringRequestor
254 virtual void EndMenu(const char* prompt);
522 virtual void EndMenu(const char* prompt);
579 QLabel prompt; member in class:NetHackQtMenuWindow
665 virtual void EndMenu(const char* prompt);
815 static void qt_end_menu(winid wid, const char *prompt);
831 static void qt_getlin(const char *prompt, char *line);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dcmd.c226 * direction), and the input prompt is not shown. Also, while in_doagain is
340 char cbuf[QBUFSZ], prompt[QBUFSZ], fmtstr[20]; local
392 Sprintf(buf, fmtstr, prompt);
401 Sprintf(prompt, "%s [%s]", choices[i]->ef_txt,
404 Sprintf(prompt, "%s or %s", choices[i-1]->ef_txt,
407 Strcat(prompt," or ");
408 Strcat(prompt, choices[i]->ef_txt);
414 Sprintf(buf, fmtstr, prompt);
418 Sprintf(prompt, "Extended Command: %s", cbuf);
419 end_menu(win, prompt);
[all...]
H A Dspell.c1048 dospellmenu(prompt, splaction, spell_no)
1049 const char *prompt;
1090 end_menu(tmpwin, prompt);
H A Dinvent.c727 /* match the prompt for either 'T' or 'R' command */
735 /* match the prompt for either 'W' or 'P' command */
1032 /* they typed a letter (not a space) at the prompt */
1742 the user to perform selection at the --More-- prompt for tty */
1982 const char *prompt = "What type of object do you want an inventory of?"; local
1999 n = query_category(prompt, invent, i, &pick_list, PICK_ONE);
2006 /* collect a list of classes of objects carried, for use as a prompt */
2035 c = yn_function(prompt, types, '\0');
H A Dpickup.c2374 in_or_out_menu(prompt, obj, outokay, inokay)
2375 const char *prompt;
2407 end_menu(win, prompt);
H A Doptions.c292 { "pickup_burden", "maximum burden picked up before prompt",
1608 /* maximum burden picked up before prompt (Warren Cheung) */
1662 (and during initialization, we can't prompt yet) */
1716 else if (!strncmpi (op, "prompt", sizeof("prompt")-1))
2421 "Compounds (selecting will prompt for new value):",
2482 * or prompt for new values. In most cases, call parseoptions()
2587 /* parseoptions will prompt for the list of types */
2632 ATR_NONE,"Never disclose and don't prompt", MENU_UNSELECTED);
2636 ATR_NONE,"Always disclose and don't prompt", MENU_UNSELECTE
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dcmd.c226 * direction), and the input prompt is not shown. Also, while in_doagain is
340 char cbuf[QBUFSZ], prompt[QBUFSZ], fmtstr[20]; local
392 Sprintf(buf, fmtstr, prompt);
401 Sprintf(prompt, "%s [%s]", choices[i]->ef_txt,
404 Sprintf(prompt, "%s or %s", choices[i-1]->ef_txt,
407 Strcat(prompt," or ");
408 Strcat(prompt, choices[i]->ef_txt);
414 Sprintf(buf, fmtstr, prompt);
418 Sprintf(prompt, "Extended Command: %s", cbuf);
419 end_menu(win, prompt);
[all...]
H A Dspell.c1048 dospellmenu(prompt, splaction, spell_no)
1049 const char *prompt;
1090 end_menu(tmpwin, prompt);
H A Dinvent.c727 /* match the prompt for either 'T' or 'R' command */
735 /* match the prompt for either 'W' or 'P' command */
1032 /* they typed a letter (not a space) at the prompt */
1742 the user to perform selection at the --More-- prompt for tty */
1982 const char *prompt = "What type of object do you want an inventory of?"; local
1999 n = query_category(prompt, invent, i, &pick_list, PICK_ONE);
2006 /* collect a list of classes of objects carried, for use as a prompt */
2035 c = yn_function(prompt, types, '\0');
H A Dpickup.c2374 in_or_out_menu(prompt, obj, outokay, inokay)
2375 const char *prompt;
2407 end_menu(win, prompt);
H A Doptions.c292 { "pickup_burden", "maximum burden picked up before prompt",
1608 /* maximum burden picked up before prompt (Warren Cheung) */
1662 (and during initialization, we can't prompt yet) */
1716 else if (!strncmpi (op, "prompt", sizeof("prompt")-1))
2421 "Compounds (selecting will prompt for new value):",
2482 * or prompt for new values. In most cases, call parseoptions()
2587 /* parseoptions will prompt for the list of types */
2632 ATR_NONE,"Never disclose and don't prompt", MENU_UNSELECTED);
2636 ATR_NONE,"Always disclose and don't prompt", MENU_UNSELECTE
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex531 a menu of choices, or with a command line prompt requesting information. Which
748 a further menu or prompt will appear once you've closed this menu.
1489 You can throw just about anything via the `{\tt t}' command. It will prompt
2192 {\tt y} --- prompt you and default to yes on the prompt.\\
2193 {\tt n} --- prompt you and default to no on the prompt.\\
2195 {\tt -} --- do not disclose it and do not prompt.
2200 The example sets {\it inventory\/} to {\it prompt\/} and default to {\it yes\/},
2201 {\it attributes\/} to {\it prompt\/} an
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex531 a menu of choices, or with a command line prompt requesting information. Which
748 a further menu or prompt will appear once you've closed this menu.
1489 You can throw just about anything via the `{\tt t}' command. It will prompt
2192 {\tt y} --- prompt you and default to yes on the prompt.\\
2193 {\tt n} --- prompt you and default to no on the prompt.\\
2195 {\tt -} --- do not disclose it and do not prompt.
2200 The example sets {\it inventory\/} to {\it prompt\/} and default to {\it yes\/},
2201 {\it attributes\/} to {\it prompt\/} an
[all...]

Completed in 117 milliseconds