Lines Matching defs:prompt
94 #include "prompt.h"
111 static struct prompt *SignalPrompt;
288 CheckLabel(const char *label, struct prompt *prompt, int mode)
292 if ((err = system_IsValid(label, prompt, mode)) != NULL) {
311 struct prompt *prompt;
354 prompt = NULL;
356 SignalPrompt = prompt = prompt_Create(NULL, NULL, PROMPT_STD);
379 CheckLabel(argv[arg], prompt, sw.mode);
381 CheckLabel("default", prompt, sw.mode);
384 prompt_Printf(prompt, "Working in %s mode\n", mode2Nam(sw.mode));
396 if (system_Select(bundle, "default", CONFFILE, prompt, NULL) < 0)
397 prompt_Printf(prompt, "Warning: No default entry found in config file.\n");
416 system_Select(bundle, argv[arg], CONFFILE, prompt, NULL);
425 prompt_Printf(prompt, "You must ``set ifaddr'' with a peer address "
430 if (prompt) {
431 prompt->bundle = bundle; /* couldn't do it earlier */
433 prompt_Printf(prompt, "Using interface: %s\n", bundle->iface->name);
471 prompt_Printf(prompt, "PPP enabled\n");
477 prompt_Printf(prompt, "Attempting redial\n");
481 prompt_Printf(prompt, "Attempting reconnect\n");
484 prompt_Printf(prompt, "Child failed (%s)\n",
492 prompt_Printf(prompt, "Child exit, no status.\n");
508 prompt_Destroy(prompt, 0);
525 prompt_TtyInit(prompt);
526 prompt_TtyCommandMode(prompt);
527 prompt_Required(prompt);