Lines Matching refs:prompt
109 static struct prompt *SignalPrompt;
286 CheckLabel(const char *label, struct prompt *prompt, int mode) in CheckLabel() argument
290 if ((err = system_IsValid(label, prompt, mode)) != NULL) { in CheckLabel()
309 struct prompt *prompt; in main() local
352 prompt = NULL; in main()
354 SignalPrompt = prompt = prompt_Create(NULL, NULL, PROMPT_STD); in main()
377 CheckLabel(argv[arg], prompt, sw.mode); in main()
379 CheckLabel("default", prompt, sw.mode); in main()
382 prompt_Printf(prompt, "Working in %s mode\n", mode2Nam(sw.mode)); in main()
394 if (system_Select(bundle, "default", CONFFILE, prompt, NULL) < 0) in main()
395 prompt_Printf(prompt, "Warning: No default entry found in config file.\n"); in main()
414 system_Select(bundle, argv[arg], CONFFILE, prompt, NULL); in main()
423 prompt_Printf(prompt, "You must ``set ifaddr'' with a peer address " in main()
428 if (prompt) { in main()
429 prompt->bundle = bundle; /* couldn't do it earlier */ in main()
431 prompt_Printf(prompt, "Using interface: %s\n", bundle->iface->name); in main()
469 prompt_Printf(prompt, "PPP enabled\n"); in main()
475 prompt_Printf(prompt, "Attempting redial\n"); in main()
479 prompt_Printf(prompt, "Attempting reconnect\n"); in main()
482 prompt_Printf(prompt, "Child failed (%s)\n", in main()
490 prompt_Printf(prompt, "Child exit, no status.\n"); in main()
506 prompt_Destroy(prompt, 0); in main()
523 prompt_TtyInit(prompt); in main()
524 prompt_TtyCommandMode(prompt); in main()
525 prompt_Required(prompt); in main()