Searched refs:prompt (Results 126 - 150 of 289) sorted by relevance

1234567891011>>

/freebsd-9.3-release/usr.sbin/ppp/
H A Dcommand.c97 #include "prompt.h"
217 if (!arg->prompt) {
218 log_Printf(LogWARN, "help: Cannot help without a prompt\n");
224 if ((cmd->lauth & arg->prompt->auth) &&
227 prompt_Printf(arg->prompt, "%s %s\n", cmd->syntax, showcx(cmd));
235 if (cmd->name && (cmd->lauth & arg->prompt->auth)) {
244 prompt_Printf(arg->prompt, "(o) = Optional context,"
247 if (cmd->name && (cmd->lauth & arg->prompt->auth)) {
251 prompt_Printf(arg->prompt, " ");
252 prompt_Printf(arg->prompt, "
1087 FindExec(struct bundle *bundle, struct cmdtab const *cmds, int argc, int argn, char const *const *argv, struct prompt *prompt, struct datalink *cx) argument
1187 command_Run(struct bundle *bundle, int argc, char const *const *argv, struct prompt *prompt, const char *label, struct datalink *cx) argument
1223 command_Decode(struct bundle *bundle, char *buff, int nb, struct prompt *prompt, const char *label) argument
[all...]
H A Dmp.c87 #include "prompt.h"
829 prompt_Printf(arg->prompt, "Multilink is %sactive\n", mp->active ? "" : "in");
835 prompt_Printf(arg->prompt, "Socket: %s\n",
841 prompt_Printf(arg->prompt, "Pending frags: %d", bufs);
848 prompt_Printf(arg->prompt, " (Have %lu - %lu, want %lu, lowest %lu)\n",
851 prompt_Printf(arg->prompt, " First has %sbegin bit and "
854 prompt_Printf(arg->prompt, "\n");
857 prompt_Printf(arg->prompt, "\nMy Side:\n");
859 prompt_Printf(arg->prompt, " Output SEQ: %u\n", mp->out.seq);
860 prompt_Printf(arg->prompt, " MRR
[all...]
H A Dbundle.c91 #include "prompt.h"
1033 prompt_Printf(arg->prompt, "Name: %s [%s, %s]",
1036 prompt_Printf(arg->prompt, " bandwidth %d, %llu bps (%llu bytes/sec)",
1040 prompt_Printf(arg->prompt, "\n");
1049 prompt_Printf(arg->prompt, "Currently averaging %llu bps (%llu bytes/sec)"
1066 prompt_Printf(arg->prompt, "Phase %s\n", bundle_PhaseName(arg->bundle));
1067 prompt_Printf(arg->prompt, " Device: %s\n", arg->bundle->dev.Name);
1068 prompt_Printf(arg->prompt, " Interface: %s @ %lubps",
1074 prompt_Printf(arg->prompt, ", up time %d:%02d:%02d", secs / 3600,
1077 prompt_Printf(arg->prompt, "\
[all...]
H A Dradius.h110 extern void radius_Show(struct radius *, struct prompt *);
/freebsd-9.3-release/contrib/libreadline/examples/
H A Drl-fgets.c11 to readline() via LD_PRELOAD, and it supports a custom prompt and list of
36 -- Command-line editing with readline() works best when the prompt string
336 char * prompt ;
343 prompt = getenv ( "FGETS_PROMPT" ) ;
345 my_fgets_line = 0 ; ! my_fgets_line ; my_fgets_line=readline(prompt)
326 char * prompt ; local
H A Dreadlinebuf.h130 readlinebuf( const char* prompt = NULL, bool history = true )
131 : prompt_( prompt ), history_( history ),
/freebsd-9.3-release/usr.sbin/bsdconfig/console/
H A Dfont52 local prompt="$msg_font_menu_text"
76 \"\$prompt\" \
105 --menu \"\$prompt\" \
H A Dkeymap80 local prompt="$msg_keymap_menu_text"
117 \"\$prompt\" \
204 --menu \"\$prompt\" \
/freebsd-9.3-release/usr.sbin/bsdconfig/startup/
H A Drcdelete149 local prompt=
206 \"\$prompt\" \
225 --menu \"\$prompt\" \
248 local prompt="$msg_are_you_sure_you_want_delete_the_following"
287 \"\$prompt\" \
301 --menu \"\$prompt\" \
/freebsd-9.3-release/crypto/heimdal/lib/auth/pam/
H A Dpam.c218 char prompt[128]; local
241 snprintf(prompt, sizeof(prompt), "%s's Password: ", name);
243 snprintf(prompt, sizeof(prompt), "%s.%s's Password: ", name, inst);
244 msg.msg = prompt;
/freebsd-9.3-release/crypto/openssl/crypto/asn1/
H A Dn_pkey.c107 int (*cb) (char *buf, int len, const char *prompt,
111 int (*cb) (char *buf, int len, const char *prompt,
118 int (*cb) (char *buf, int len, const char *prompt,
228 int (*cb) (char *buf, int len, const char *prompt,
235 int (*cb) (char *buf, int len, const char *prompt,
275 int (*cb) (char *buf, int len, const char *prompt,
110 i2d_Netscape_RSA(const RSA *a, unsigned char **pp, int (*cb) (char *buf, int len, const char *prompt, int verify)) argument
117 i2d_RSA_NET(const RSA *a, unsigned char **pp, int (*cb) (char *buf, int len, const char *prompt, int verify), int sgckey) argument
227 d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb) (char *buf, int len, const char *prompt, int verify)) argument
234 d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, int (*cb) (char *buf, int len, const char *prompt, int verify), int sgckey) argument
274 d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os, int (*cb) (char *buf, int len, const char *prompt, int verify), int sgckey) argument
/freebsd-9.3-release/crypto/heimdal/kadmin/
H A Dutil.c45 get_response(const char *prompt, const char *def, char *buf, size_t len);
127 * allow the user to edit the attributes in `attr', prompting with `prompt'
131 edit_attributes (const char *prompt, krb5_flags *attr, int *mask, int bit) argument
248 edit_timet (const char *prompt, krb5_timestamp *value, int *mask, int bit) argument
258 if(get_response(prompt, buf, resp, sizeof(resp)) != 0)
335 edit_deltat (const char *prompt, krb5_deltat *value, int *mask, int bit) argument
344 if(get_response(prompt, buf, resp, sizeof(resp)) != 0)
555 * prompt with `prompt' and default value `def', and store the reply
570 get_response(const char *prompt, cons argument
[all...]
H A Dank.c128 char *prompt; local
131 asprintf (&prompt, "%s's Password: ", princ_name);
133 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1);
134 free (prompt);
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dmisc.c237 item_add(dialogMenuItem *list, char *prompt, char *title, argument
251 d->prompt = prompt ? strdup(prompt) : NULL;
267 for (i = 0; list[i].prompt; i++) {
268 safe_free(list[i].prompt);
431 layout[n].obj = NewStringObj(win, layout[n].prompt, layout[n].var,
437 layout[n].obj = NewButtonObj(win, layout[n].prompt, layout[n].var, layout[n].y + y, layout[n].x + x);
H A Ddoc.c89 char *str = self->prompt;
/freebsd-9.3-release/usr.bin/tip/tip/
H A Dcmds.c86 if (prompt("Local file name? ", copyname, sizeof(copyname)))
97 if (prompt("List command for remote system? ", buf, sizeof(buf))) {
113 if (prompt("[take] ", copyname, sizeof(copyname)))
220 if (prompt("Local command? ", buf, sizeof(buf)))
232 if (prompt("List command for remote system? ", buf, sizeof(buf))) {
282 if (prompt("Local file name? ", fname, sizeof(fname)))
363 do { /* wait for prompt */
407 if (prompt("[put] ", copyname, sizeof(copyname)))
483 if (prompt("Local command? ", buf, sizeof(buf)))
536 if (prompt("Loca
[all...]
/freebsd-9.3-release/usr.sbin/pppctl/
H A Dpppctl.c68 static char *prompt; /* Tell libedit what the current prompt is */ variable
102 * A callback routine for libedit to find out what the current prompt is.
108 if (prompt == NULL)
109 prompt = "";
110 return prompt;
116 * and buffer what our prompt looks like (via the `prompt' global).
133 prompt = Buffer;
144 prompt
[all...]
/freebsd-9.3-release/bin/ed/
H A Dmain.c99 const char *prompt; /* command-line prompt */ variable
100 const char *dps = "*"; /* default command-line prompt */
117 case 'p': /* set prompt */
118 prompt = optarg;
183 if (prompt) {
184 printf("%s", prompt);
643 prompt = prompt ? NULL : optarg ? optarg : dps;
/freebsd-9.3-release/contrib/texinfo/info/
H A Decho-area.c163 initialize_input_line (char *prompt) argument
165 input_line_prompt = prompt;
166 if (prompt)
167 strcpy (input_line, prompt);
171 input_line_beg = input_line_end = input_line_point = strlen (prompt);
202 non-null, is a prompt to print before reading the line. */
204 info_read_in_echo_area (WINDOW *window, char *prompt) argument
213 initialize_input_line (prompt);
805 info_read_completing_internal (WINDOW *window, char *prompt,
817 initialize_input_line (prompt);
802 info_read_completing_internal(WINDOW *window, char *prompt, REFERENCE **completions, int force) argument
896 info_read_completing_in_echo_area(WINDOW *window, char *prompt, REFERENCE **completions) argument
905 info_read_maybe_completing(WINDOW *window, char *prompt, REFERENCE **completions) argument
1386 char *prompt; member in struct:__anon4228
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dhx509.h79 const char *prompt; member in struct:hx509_prompt
/freebsd-9.3-release/sys/boot/common/
H A Dinterp.c51 static void prompt(void);
120 if (getenv("prompt") == NULL)
121 setenv("prompt", "${interpret}", 1);
128 prompt();
299 prompt();
337 * Emit the current prompt; use the same syntax as the parser
341 prompt(void) function
345 if ((cp = getenv("prompt")) == NULL)
/freebsd-9.3-release/usr.bin/chpass/
H A Dedit.c230 if (!ep->prompt) {
237 if (strncasecmp(buf, ep->prompt, ep->len) != 0)
241 tfn, ep->prompt);
258 tfn, ep->prompt, val);
/freebsd-9.3-release/usr.bin/less/
H A DMakefile7 opttbl.c os.c output.c pattern.c position.c prompt.c search.c \
/freebsd-9.3-release/usr.sbin/sade/
H A Ddmenu.c236 for (t = menu->prompt; *t; t++) {
266 rval = dialog_menu((u_char *)menu->title, (u_char *)menu->prompt,
272 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n,
277 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n,
/freebsd-9.3-release/crypto/openssl/crypto/des/
H A Ddes_old.c284 int _ossl_old_des_read_password(_ossl_old_des_cblock *key, const char *prompt, argument
287 return DES_read_password(key, prompt, verify);
292 const char *prompt, int verify)
294 return DES_read_2passwords(key1, key2, prompt, verify);
290 _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, const char *prompt, int verify) argument

Completed in 294 milliseconds

1234567891011>>