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

12345678

/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DPrompt.pm5 use vars qw($prompt);
12 $prompt = "cpan> ";
/openbsd-current/games/backgammon/teachgammon/
H A Dttext1.c36 const char *const prompt = "-->"; variable
H A Dttext2.c133 addstr(prompt);
140 addstr(prompt);
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Dprompt.t15 prompt();
17 like( $@, qr/^Not enough arguments for ExtUtils::MakeMaker::prompt/,
21 prompt(undef);
23 like( $@, qr/^prompt function called without an argument/,
30 is( prompt("Foo?"), '', 'no default' );
33 is( prompt("Foo?", undef), '', 'undef default' );
36 is( prompt("Foo?", 'Bar!'), 'Bar!', 'default' );
45 is( prompt("Foo?", 'Bar!'), 'From STDIN', 'from STDIN' );
/openbsd-current/games/robots/
H A Dquery.c40 query(char *prompt) argument
47 addstr(prompt);
/openbsd-current/sys/lib/libsa/
H A Dgetfile.c41 getfile(const char *prompt, int mode) argument
47 printf("%s: ", prompt);
/openbsd-current/lib/libcrypto/ui/
H A Dui_util.c63 UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify) argument
69 prompt, verify);
76 UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, int verify) argument
86 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1);
88 ok = UI_add_verify_string(ui, prompt, 0, buff, 0,
H A Dui.h90 * The following functions are used to add strings to be printed and prompt
91 * strings to prompt for data. The names are UI_{add,dup}_<function>_string
95 * add add a text or prompt string. The pointers given to these
97 * dup make a copy of the text or prompt string, then add the copy
102 * input use the string as data prompt.
103 * verify use the string as verification prompt. This
111 * and are typically used when one wants to prompt for a yes/no response.
113 * All of the functions in this group take a UI and a prompt string.
133 int UI_add_input_string(UI *ui, const char *prompt, int flags,
135 int UI_dup_input_string(UI *ui, const char *prompt, in
[all...]
/openbsd-current/sbin/pdisk/
H A Dio.c96 get_okay(const char *prompt, int default_value) argument
101 printf("%s", prompt);
119 printf("%s", prompt);
126 get_command(const char *prompt, int promptBeforeGet, int *command) argument
131 printf("%s", prompt);
141 printf("%s", prompt);
151 get_number_argument(const char *prompt, long *number) argument
164 printf("%s", prompt);
202 get_dpistr_argument(const char *prompt) argument
214 printf("%s", prompt);
[all...]
/openbsd-current/games/sail/
H A Dpl_5.c51 char prompt[60]; local
62 (void) snprintf(prompt, sizeof prompt,
64 sgetstr(prompt, buf, sizeof buf);
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dm-x.c36 read_function_name (char *prompt, WINDOW *window) argument
58 line = info_read_completing_in_echo_area (window, prompt, array);
100 char *prompt; local
102 prompt = (char *)xmalloc (20);
111 sprintf (prompt, "%d %s ", count, keys);
113 sprintf (prompt, "%s ", keys);
116 line = read_function_name (prompt, window);
168 char prompt[80]; local
173 sprintf (prompt, _("Set screen height to (%d): "), new_height);
175 line = info_read_in_echo_area (window, prompt);
[all...]
/openbsd-current/games/phantasia/
H A Dgamesupport.c69 char *prompt; /* pointer to prompt string */ local
124 /* print player structure, and prompt for action */
222 /* prompt for password */
269 prompt = "experience";
274 prompt = "level";
279 prompt = "strength";
284 prompt = "sword";
289 prompt = "energy";
294 prompt
[all...]
/openbsd-current/sbin/fsck_msdos/
H A Dmain.c103 char prompt[256]; local
115 vsnprintf(prompt, sizeof(prompt), fmt, ap);
118 printf("%s? %s\n", prompt, rdonly ? "no" : "yes");
122 printf("%s? [Fyn] ", prompt);
/openbsd-current/gnu/lib/libreadline/
H A Dcallback.c55 rl_callback_handler_install() with the prompt and a function to call
65 /* Make sure the terminal is set up, initialize readline, and prompt. */
85 /* Install a readline handler, set up the terminal, and issue the prompt. */
87 rl_callback_handler_install (prompt, linefunc)
88 const char *prompt;
91 rl_set_prompt (prompt);
129 /* Redisplay the prompt if readline_handler_{install,remove}
/openbsd-current/gnu/lib/libreadline/examples/
H A Drltest.c46 char *temp, *prompt; local
50 prompt = "readline$ ";
55 temp = readline (prompt);
H A Drl.c5 * usage: rl [-p prompt] [-u unit] [-d default] [-n nchars]
69 fprintf (stderr, "%s: usage: %s [-p prompt] [-u unit] [-d default] [-n nchars]\n",
78 char *temp, *prompt; local
90 prompt = "readline$ ";
99 prompt = optarg;
143 temp = readline (prompt);
/openbsd-current/gnu/usr.bin/cvs/vms/
H A Dgetpass.c27 getpass (char *prompt) argument
47 buf, sizeof (buf) - 1, 0, 0, prompt, strlen (prompt));
/openbsd-current/gnu/usr.bin/binutils/binutils/
H A Darsup.h27 void prompt (void);
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/
H A Darsup.h28 void prompt (void);
/openbsd-current/usr.sbin/pkg_add/OpenBSD/
H A DInteractive.pm30 sub ask_list($self, $prompt, @values)
42 $self->{state}->fhsay($fh, '#1', $prompt);
83 sub confirm($self, $prompt, $yesno = 0)
90 $prompt, $yesno ? "Y/n" : "y/N");
/openbsd-current/lib/libcrypto/evp/
H A Devp_key.c74 EVP_set_pw_prompt(const char *prompt) argument
76 if (prompt == NULL)
79 strlcpy(prompt_string, prompt, sizeof(prompt_string));
94 EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) argument
96 return EVP_read_pw_string_min(buf, 0, len, prompt, verify);
101 EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, argument
114 if (prompt == NULL && prompt_string[0] != '\0')
115 prompt = prompt_string;
119 if (UI_add_input_string(ui, prompt, 0, buf, min, len - 1) < 0)
122 if (UI_add_verify_string(ui, prompt,
[all...]
/openbsd-current/usr.bin/ssh/
H A Dreadpass.c120 read_passphrase(const char *prompt, int flags) argument
155 * If we're on a tty, ensure that show the prompt at
179 if ((ret = ssh_askpass(askpass, prompt, askpass_hint)) == NULL)
185 if (readpassphrase(prompt, buf, sizeof buf, rppflags) == NULL) {
200 char *p, prompt[1024]; local
204 vsnprintf(prompt, sizeof(prompt), fmt, args);
207 p = read_passphrase(prompt,
240 char *prompt = NULL; local
247 xvasprintf(&prompt, fm
[all...]
/openbsd-current/usr.bin/tmux/
H A Dcmd-command-prompt.c1 /* $OpenBSD: cmd-command-prompt.c,v 1.67 2024/04/15 08:19:55 nicm Exp $ */
42 .name = "command-prompt",
55 char *prompt; member in struct:cmd_command_prompt_prompt
88 char *tmp, *prompts, *prompt, *next_prompt; local
120 while ((prompt = strsep(&next_prompt, ",")) != NULL) {
124 tmp = xstrdup(prompt);
126 xasprintf(&tmp, "%s ", prompt);
127 cdata->prompts[cdata->count].prompt = tmp;
160 status_prompt_set(tc, target, cdata->prompts[0].prompt,
177 struct cmd_command_prompt_prompt *prompt; local
[all...]
/openbsd-current/gnu/usr.bin/cvs/os2/
H A Dgetpass.c33 getpass (char *prompt) argument
38 printf ("%s", prompt);
/openbsd-current/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonReadline.cpp37 static char *simple_readline(FILE *stdin, FILE *stdout, const char *prompt) { argument
40 char *line = readline(prompt);

Completed in 214 milliseconds

12345678