Lines Matching defs:dialog

52 /* [X]dialog(1) characteristics */
58 char dialog[PATH_MAX] = DIALOG;
60 /* [X]dialog(1) functionality */
78 * maximum height and width (respectively) for a dialog(1) widget based on the
133 snprintf(cmdbuf, LINE_MAX, "%s --print-maxsize 2>&1", dialog);
169 * Return the current maximum height (rows) for an [X]dialog(1) widget.
183 * Return the current maximum width (cols) for an [X]dialog(1) widget.
219 * Spawn an [X]dialog(1) `--gauge' box with a `--prompt' value of init_prompt.
221 * file descriptor (int) suitable for writing data to the [X]dialog(1) instance
223 * [X]dialog(1) process).
240 /* Override `dialog' with a path from ENV_DIALOG if provided */
242 snprintf(dialog, PATH_MAX, "%s", cp);
258 dargv[n++] = dialog;
309 /* Open a pipe(2) to communicate with [X]dialog(1) */
313 /* Fork [X]dialog(1) process */
329 error = posix_spawnp(pid, dialog, &action,
331 if (error != 0) err(EXIT_FAILURE, "%s", dialog);
379 * dialog(1) color escape codes if enabled (via `use_color' global).
398 /* dialog(1) and dialog(3) will render literal newlines */
421 /* NB: dialog(3) ignores escaped newlines */
431 } else /* [X]dialog(1)/dialog(3) only expand those */
447 * both newlines (if using dialog(1) versus Xdialog(1)) and escaped newlines
465 /* dialog(1) and dialog(3) will render literal newlines */
473 /* dialog(3) does not expand escaped newlines */
491 * dwidth - 4). Also discounts dialog(1) color escape codes if enabled (via
512 /* dialog(1) and dialog(3) will render literal newlines */
528 /* NB: dialog(3) ignores escaped newlines */
536 } else /* [X]dialog(1)/dialog(3) only expand those */
547 * dialog(1) will wrap the line (but don't go before
570 * specific to dialog(1) and does not apply to Xdialog(1).
572 * As an attempt to make shell scripts easier to read, dialog(1) will "eat"
575 * similar to `\\n' or `\n', dialog(1) expands the `\\n' and then translates
582 * to something other than `cdialog' (our current dialog(1)), then it should
586 * this is what dialog(1) is doing).
615 * clean state for rendering with dialog(1). Otherwise, if we