Searched refs:prompt (Results 26 - 50 of 289) sorted by relevance

1234567891011>>

/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Devp_key.c69 void EVP_set_pw_prompt(const char *prompt) argument
71 if (prompt == NULL)
74 strncpy(prompt_string, prompt, 79);
92 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) argument
98 if ((prompt == NULL) && (prompt_string[0] != '\0'))
99 prompt = prompt_string;
101 UI_add_input_string(ui, prompt, 0, buf, 0,
104 UI_add_verify_string(ui, prompt, 0,
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dlock.c46 hx509_prompter_fct prompt; member in struct:hx509_lock_data
170 hx509_lock_set_prompter(hx509_lock lock, hx509_prompter_fct prompt, void *data) argument
172 lock->prompt = prompt;
180 lock->prompt = NULL;
190 prompter->prompt,
196 fputs (prompter->prompt, stdout);
208 hx509_lock_prompt(hx509_lock lock, hx509_prompt *prompt) argument
210 if (lock->prompt == NULL)
212 return (*lock->prompt)(loc
[all...]
/freebsd-9.3-release/contrib/binutils/binutils/
H A Darsup.h28 void prompt (void);
/freebsd-9.3-release/contrib/cvs/lib/
H A Dgetpass.c41 getpass (const char *prompt) argument
43 getpass (prompt)
44 const char *prompt;
79 /* Write the prompt. */
80 fputs (prompt, out);
/freebsd-9.3-release/contrib/libreadline/examples/
H A Dexcallback.c19 interactively change the prompt (which is very nice imo). Also, I
66 * prompt, which can't be done using the regular interface since rl_prompt is
74 * to be re-echoed on the new prompt when it returns. Unfortunately, the default
75 * terminal configuration doesn't do this. After the prompt returns, the user
78 * the prompt and then type "bar" before the prompt returns (you have 3
79 * seconds). Notice how "bar" is re-echoed on the prompt after the prompt
82 * the same thing. When the prompt returns, you should not see "bar". Now type
91 int prompt variable
[all...]
H A Drl.c5 * usage: rl [-p prompt] [-u unit] [-d default] [-n nchars]
76 fprintf (stderr, "%s: usage: %s [-p prompt] [-u unit] [-d default] [-n nchars]\n",
85 char *temp, *prompt; local
97 prompt = "readline$ ";
106 prompt = optarg;
150 temp = readline (prompt);
/freebsd-9.3-release/contrib/telnet/libtelnet/
H A Dread_password.c55 * output as a prompt, and reads a password string without
77 local_des_read_pw_string(s,max,prompt,verify)
80 char *prompt;
110 (void) printf("%s", prompt);
117 printf("\nVerifying, please re-enter %s",prompt);
/freebsd-9.3-release/gnu/lib/libodialog/TESTS/
H A Dradio2.c34 return !strcmp(bachelor, self->prompt);
40 strcpy(bachelor, self->prompt);
47 return !strcmp(bachelette, self->prompt);
53 strcpy(bachelette, self->prompt);
58 /* prompt title checked fire */
H A Dradio3.c50 if (!strcmp(self->prompt, "1000"))
52 else if (!strcmp(self->prompt, "500"))
67 /* prompt title checked fire sel data */
/freebsd-9.3-release/gnu/lib/libodialog/
H A Dgauge.c29 dialog_gauge(char *title, char *prompt, int y, int x, argument
57 if (prompt) {
58 wmove(gw, 1, (width - strlen(prompt))/2 - 1);
59 waddstr(gw, prompt);
H A Dyesno.c28 static int dialog_yesno_proc(unsigned char *title, unsigned char *prompt,
35 dialog_yesno(unsigned char *title, unsigned char *prompt, int height, int width) argument
37 return dialog_yesno_proc(title, prompt, height, width, TRUE);
44 dialog_noyes(unsigned char *title, unsigned char *prompt, int height, int width) argument
46 return dialog_yesno_proc(title, prompt, height, width, FALSE);
50 dialog_yesno_proc(unsigned char *title, unsigned char *prompt, int height, int width, int yesdefault) argument
61 height = strheight(prompt)+4;
63 i = strwidth(prompt);
110 print_autowrap(dialog, prompt, height-1, width-2, width, 1, 2, TRUE, FALSE);
/freebsd-9.3-release/share/examples/ppp/
H A Dchap-auth47 proc mkhalfframe { n prompt } {
51 text .$n.prompt -width $pwidth -height 1 -relief flat;
52 .$n.prompt insert 1.0 $prompt;
53 pack .$n.prompt -side left;
54 .$n.prompt configure -state disabled;
57 proc mkframe { n prompt value entry } {
60 mkhalfframe $n $prompt;
/freebsd-9.3-release/usr.sbin/ppp/
H A Dmain.c92 #include "prompt.h"
109 static struct prompt *SignalPrompt;
286 CheckLabel(const char *label, struct prompt *prompt, int mode) argument
290 if ((err = system_IsValid(label, prompt, mode)) != NULL) {
309 struct prompt *prompt; local
352 prompt = NULL;
354 SignalPrompt = prompt = prompt_Create(NULL, NULL, PROMPT_STD);
377 CheckLabel(argv[arg], prompt, s
[all...]
H A Dprompt.c51 #include "prompt.h"
83 prompt_Display(struct prompt *p)
135 struct prompt *p = descriptor2prompt(d);
146 log_Printf(LogTIMER, "prompt %s: fdset(r) %d\n", p->src.from, p->fd_in);
151 log_Printf(LogTIMER, "prompt %s: fdset(e) %d\n", p->src.from, p->fd_in);
166 struct prompt *p = descriptor2prompt(d);
172 prompt_ShowHelp(struct prompt *p)
186 struct prompt *p = descriptor2prompt(d);
187 struct prompt *op;
199 p->nonewline = 1; /* Maybe command_Decode does a prompt */
[all...]
H A Dthroughput.h60 extern void throughput_disp(struct pppThroughput *, struct prompt *);
67 extern void throughput_clear(struct pppThroughput *, int, struct prompt *);
H A Dthroughput.c42 #include "prompt.h"
100 throughput_disp(struct pppThroughput *t, struct prompt *prompt) argument
105 prompt_Printf(prompt, "Connect time: %d:%02d:%02d", secs_up / 3600,
108 prompt_Printf(prompt, " - down at %s", ctime(&t->downtime));
110 prompt_Printf(prompt, "\n");
113 prompt_Printf(prompt, "%llu octets in, %llu octets out\n",
115 prompt_Printf(prompt, "%llu packets in, %llu packets out\n",
118 prompt_Printf(prompt, " overall %6qu bytes/sec\n",
120 prompt_Printf(prompt, "
254 throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/sl/
H A Dss.c140 char *prompt = malloc(strlen(subsystems[idx].name) + 3); local
141 if (prompt == NULL)
144 strcpy(prompt, subsystems[idx].name);
145 strcat(prompt, ": ");
146 sl_loop(subsystems[idx].table, prompt);
147 free(prompt);
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A Dkeymap81 local prompt="$msg_test_the_keymap_by_typing"
103 "$title" "$btitle" "$prompt" "" "$hline"
111 --inputbox "$prompt" \
147 prompt="$msg_keymap_menu_text"
190 \"\$prompt\" \
202 --menu \"\$prompt\" \
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dprompter_posix.c58 prompts[i].prompt,
64 fputs (prompts[i].prompt, stdout);
/freebsd-9.3-release/crypto/openssl/crypto/ui/
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.
132 int UI_add_input_string(UI *ui, const char *prompt, int flags,
134 int UI_dup_input_string(UI *ui, const char *prompt, in
[all...]
H A Dui_lib.c135 static UI_STRING *general_allocate_prompt(UI *ui, const char *prompt, argument
142 if (prompt == NULL) {
148 ret->out_string = prompt;
157 static int general_allocate_string(UI *ui, const char *prompt, argument
164 UI_STRING *s = general_allocate_prompt(ui, prompt, prompt_freeable,
183 const char *prompt,
207 s = general_allocate_prompt(ui, prompt, prompt_freeable,
230 * direct reference to the prompt.
232 int UI_add_input_string(UI *ui, const char *prompt, int flags, argument
235 return general_allocate_string(ui, prompt,
182 general_allocate_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf) argument
241 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument
259 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
268 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
287 UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
296 UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
398 char *prompt = NULL; local
[all...]
/freebsd-9.3-release/contrib/texinfo/info/
H A Decho-area.h40 extern char * info_read_completing_internal (WINDOW *window, char *prompt,
46 non-null, is a prompt to print before reading the line. */
47 extern char *info_read_in_echo_area (WINDOW *window, char *prompt);
52 char *prompt, REFERENCE **completions);
58 char *prompt, REFERENCE **completions);
H A Dvariables.h45 extern VARIABLE_ALIST *read_variable_name (char *prompt, WINDOW *window);
/freebsd-9.3-release/contrib/gdb/gdb/
H A Devent-top.h29 /* Stack for prompts. Each prompt is composed as a prefix, a prompt
30 and a suffix. The prompt to be displayed at any given time is the
34 'actions' for tracepoints. In these cases, the prompt is '>' and
39 The prompt stack represents part of the saved state. Another part
44 beeen implemented yet. The need for a 3-part prompt arises from
45 the annotation level. When this is set to 2, the prompt is
46 actually composed of a prefix, the prompt itself and a suffix. */
48 /* At any particular time there will be always at least one prompt on
53 time, this is the only use of the prompt stac
66 char *prompt; member in struct:prompts::__anon1352
[all...]
/freebsd-9.3-release/usr.sbin/bsdconfig/console/
H A Dconsole51 local prompt="$msg_console_menu_text"
68 \"\$prompt\" \
83 --menu \"\$prompt\" \

Completed in 267 milliseconds

1234567891011>>