Home
last modified time | relevance | path

Searched full:dialog (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/freebsd/contrib/dialog/
H A Dpause.c4 * pause.c -- implements the pause dialog
27 #include <dialog.h>
71 WINDOW *dialog; in dialog_pause() local
116 /* center dialog box on screen */ in dialog_pause()
120 dialog = dlg_new_window(height, width, y, x); in dialog_pause()
121 dlg_register_window(dialog, "pause", binding); in dialog_pause()
122 dlg_register_buttons(dialog, "pause", buttons); in dialog_pause()
125 nodelay(dialog, TRUE); in dialog_pause()
129 (void) werase(dialog); in dialog_pause()
130 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_pause()
[all …]
H A Dmsgbox.c27 #include <dialog.h>
52 WINDOW *dialog = 0; in dialog_msgbox() local
93 dialog = dlg_new_window(height, width, y, x); in dialog_msgbox()
94 dlg_register_window(dialog, "msgbox", binding); in dialog_msgbox()
95 dlg_register_buttons(dialog, "msgbox", buttons); in dialog_msgbox()
101 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_msgbox()
102 dlg_draw_title(dialog, title); in dialog_msgbox()
104 dlg_attrset(dialog, dialog_attr); in dialog_msgbox()
109 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr); in dialog_msgbox()
111 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_msgbox()
[all …]
H A Dyesno.c27 #include <dialog.h>
31 * Display a dialog box with two buttons - Yes and No.
49 WINDOW *dialog = 0; in dialog_yesno() local
81 dialog = dlg_new_window(height, width, y, x); in dialog_yesno()
82 dlg_register_window(dialog, "yesno", binding); in dialog_yesno()
83 dlg_register_buttons(dialog, "yesno", buttons); in dialog_yesno()
85 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_yesno()
86 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr); in dialog_yesno()
87 dlg_draw_title(dialog, title); in dialog_yesno()
88 dlg_draw_helpline(dialog, FALSE); in dialog_yesno()
[all …]
H A Dtimebox.c4 * timebox.c -- implements the timebox dialog
121 CleanupResult(int code, WINDOW *dialog, char *prompt, DIALOG_VARS * save_vars) in CleanupResult() argument
123 dlg_del_window(dialog); in CleanupResult()
134 * Display a dialog box for entering a date
181 WINDOW *dialog; in dialog_timebox() local
218 dialog = dlg_new_window(height, width, in dialog_timebox()
223 return CleanupResult(DLG_EXIT_ERROR, dialog, prompt, &save_vars); in dialog_timebox()
226 dlg_register_window(dialog, "timebox", binding); in dialog_timebox()
227 dlg_register_buttons(dialog, "timebox", buttons); in dialog_timebox()
229 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_timebox()
[all …]
H A Dmixedgauge.c4 * mixedgauge.c -- implements the mixedgauge dialog
27 #include <dialog.h>
38 WINDOW *dialog; member
109 WINDOW *win = dlg->dialog; in myprint_status()
213 * Update mixed-gauge dialog (may be from pipe, may be via direct calls).
225 (void) wmove(dlg->dialog, dlg->height - 3, 4); in dlg_update_mixedgauge()
226 dlg_attrset(dlg->dialog, gauge_attr); in dlg_update_mixedgauge()
229 (void) waddch(dlg->dialog, ' '); in dlg_update_mixedgauge()
231 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2); in dlg_update_mixedgauge()
232 (void) wprintw(dlg->dialog, "%3d%%", percent); in dlg_update_mixedgauge()
[all …]
H A Dinputbox.c46 * Display a dialog box for entering a string
85 WINDOW *dialog; in dialog_inputbox() local
130 dialog = dlg_new_window(height, width, yorg, xorg); in dialog_inputbox()
131 dlg_register_window(dialog, "inputbox", binding); in dialog_inputbox()
132 dlg_register_buttons(dialog, "inputbox", buttons); in dialog_inputbox()
136 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_inputbox()
137 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr); in dialog_inputbox()
138 dlg_draw_title(dialog, title); in dialog_inputbox()
140 dlg_attrset(dialog, dialog_attr); in dialog_inputbox()
141 dlg_draw_helpline(dialog, FALSE); in dialog_inputbox()
[all …]
H A Dmakefile.in2 # template makefile for DIALOG
48 THIS = dialog
183 dialog.h \
204 dialog$o \
205 $(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION
207 $(PROG) : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
208 $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(CFLAGS) $(LDFLAGS) $(LIBS)
234 $(RM) dialog-config
238 $(SHELL) -c "DIALOG=./$(PROG) ./run_test.sh $(srcdir)/samples"
264 $(srcdir)/dialog.1 \
[all …]
H A Dconfigure.in31 AC_INIT(dialog.h)
71 dnl Allow dialog program and library to be renamed.
74 [ --with-package=XXX rename dialog to XXX, library to libXXX.a, etc],
76 [PACKAGE=dialog])
78 CF_VERSION_INFO(dialog,$PACKAGE)
119 CF_WITH_SHARED_OR_LIBTOOL(DIALOG,${VERSION_MAJOR}.${VERSION_MINOR},`echo "$VERSION" |sed -e 's/:/./…
164 CF_ARG_MSG_ENABLE([if you want the form dialog],
166 [ --disable-form do not include the form dialog],
168 AC_DEFINE(HAVE_DLG_FORMBOX,1,[Define to 1 to include the form dialog])],,$cf_all_widgets)
170 CF_ARG_MSG_ENABLE([if you want the gauge dialog],
[all …]
H A Dguage.c4 * guage.c -- implements the gauge dialog
27 #include <dialog.h>
121 WINDOW *dialog = obj->obj.win; in repaint_text() local
123 if (dialog != 0) { in repaint_text()
126 (void) werase(dialog); in repaint_text()
127 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
130 dlg_draw_title(dialog, obj->title); in repaint_text()
132 dlg_attrset(dialog, dialog_attr); in repaint_text()
133 dlg_draw_helpline(dialog, FALSE); in repaint_text()
134 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
[all …]
H A Dchecklist.c29 #include <dialog.h>
36 WINDOW *dialog; member
106 getyx(data->dialog, cur_y, cur_x); in print_list()
116 dlg_draw_scrollbar(data->dialog, in print_list()
128 (void) wmove(data->dialog, cur_y, cur_x); in print_list()
203 WINDOW *dialog; in dlg_checklist() local
283 dialog = dlg_new_window(height, width, y, x); in dlg_checklist()
284 all.dialog = dialog; in dlg_checklist()
285 dlg_register_window(dialog, widget_name, binding); in dlg_checklist()
286 dlg_register_buttons(dialog, widget_name, buttons); in dlg_checklist()
[all …]
H A Drangebox.c4 * rangebox.c -- implements the rangebox dialog
202 WINDOW *dialog; in dialog_rangebox() local
241 dialog = dlg_new_window(height, width, in dialog_rangebox()
245 data.window = dialog; in dialog_rangebox()
263 * The slider is scaled, to try to use the width of the dialog. in dialog_rangebox()
280 dlg_register_window(dialog, "rangebox", binding); in dialog_rangebox()
281 dlg_register_buttons(dialog, "rangebox", buttons); in dialog_rangebox()
283 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_rangebox()
286 dlg_draw_box2(dialog, in dialog_rangebox()
292 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr); in dialog_rangebox()
[all …]
H A Ddialog.lsm2 Title: dialog - Display dialog boxes in scripts
5 Description: Dialog is a program that will let you present a variety
7 non-graphical dialog boxes from a shell or perl script.
8 Various dialog boxes can be presented such as yes/no, menu,
13 Keywords: dialog, cdialog, shell, script, window
17 Primary-site: http://invisible-island.net/dialog/
19 Alternate-site: ftp://ftp.us.debian.org/debian/pool/main/d/dialog/
/freebsd/contrib/bsddialog/lib/
H A Dtheme.c63 .dialog.delimtitle = true,
64 .dialog.titlecolor = WHITE,
65 .dialog.lineraisecolor = WHITE,
66 .dialog.linelowercolor = WHITE,
67 .dialog.color = WHITE,
68 .dialog.bottomtitlecolor = WHITE,
69 .dialog.arrowcolor = WHITE,
112 .dialog.delimtitle = true,
113 .dialog.titlecolor = GET_COLOR(COLOR_BLUE, COLOR_WHITE) | A_BOLD,
114 .dialog.lineraisecolor = GET_COLOR(COLOR_BLACK, COLOR_WHITE),
[all …]
H A Dbsddialog.3321 is a string printed inside the dialog.
334 is a struct to customize the current dialog, it does not set global properties
431 dialog subtitle.
433 hide the dialog at exit.
437 is set like the dialog height.
441 is set like the dialog width.
449 dialog title.
451 dialog vertical position, 0 is top screen, can be
454 dialog horizontal position, 0 is left screen, can be
462 key to close the dialog
[all...]
/freebsd/usr.bin/dpv/
H A Ddpv.130 .Nd stream data from stdin or multiple paths with dialog progress view
56 provides a dialog progress view, allowing a user to see current throughput rate
86 .Xr dialog 3
88 .Xr dialog 1
103 on the backdrop, at top-left, behind the dialog widget.
111 .Xr dialog 3 ,
113 .Xr dialog 1 .
115 .Xr dialog 1
117 .Ev DIALOG
119 .Dq Li dialog
[all …]
/freebsd/crypto/krb5/src/util/profile/
H A Ddosshell.ini44 …r you choose Editor, you can specify the file you want to work with in a dialog box.^m^mRelated To…
46 dialog =
58 …hoose MS-DOS QBasic, you can specify the file you want to work with in a dialog box.^m^mRelated To…
60 dialog =
77 dialog =
85 …s of a floppy disk to another floppy disk. After you choose Disk Copy, a dialog box suggests param…
92 dialog =
100 …py files from one disk to another. After you choose Backup Fixed Disk, a dialog box suggests param…
107 dialog =
114 …estore files that were backed up. After you choose Restore Fixed Disk, a dialog box suggests param…
[all …]
/freebsd/contrib/dialog/samples/
H A Ddialog.py2 # $Id: dialog.py,v 1.5 2019/12/10 22:52:52 tom Exp $
3 # Module: dialog.py
8 # This module is a Python wrapper around the Linux "dialog" utility
9 # by Savio Lam and Stuart Herbert. My goals were to make dialog as
14 # python dialog.py
16 # This module has one class in it, "Dialog". An application typically
31 # Add code so that the input buffer is flushed before a dialog box is
34 # Drop using temporary files when interacting with 'dialog'
44 # running on AMD K6-2 3D that causes core dump when 'dialog'
46 # in this case you'll have to recompile 'dialog' program.
[all …]
/freebsd/crypto/openssh/contrib/
H A Dgnome-ssh-askpass1.c73 GtkWidget *dialog, *entry, *label; in passphrase_dialog() local
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, in passphrase_dialog()
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, in passphrase_dialog()
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); in passphrase_dialog()
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); in passphrase_dialog()
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog()
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); in passphrase_dialog()
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); in passphrase_dialog()
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
[all …]
H A Dgnome-ssh-askpass3.c66 ok_dialog(GtkWidget *entry, gpointer dialog) in ok_dialog() argument
68 g_return_if_fail(GTK_IS_DIALOG(dialog)); in ok_dialog()
69 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); in ok_dialog()
73 check_none(GtkWidget *widget, GdkEventKey *event, gpointer dialog) in check_none() argument
77 /* esc -> close dialog */ in check_none()
78 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE); in check_none()
83 dialog, GTK_RESPONSE_CLOSE)); in check_none()
140 GtkWidget *parent_window, *dialog, *entry, *err; in passphrase_dialog() local
174 dialog = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0, in passphrase_dialog()
177 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); in passphrase_dialog()
[all …]
H A Dgnome-ssh-askpass2.c82 ok_dialog(GtkWidget *entry, gpointer dialog) in ok_dialog() argument
84 g_return_if_fail(GTK_IS_DIALOG(dialog)); in ok_dialog()
85 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); in ok_dialog()
89 check_none(GtkWidget *widget, GdkEventKey *event, gpointer dialog) in check_none() argument
93 /* esc -> close dialog */ in check_none()
94 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE); in check_none()
99 dialog, GTK_RESPONSE_CLOSE)); in check_none()
156 GtkWidget *parent_window, *dialog, *entry; in passphrase_dialog() local
187 dialog = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0, in passphrase_dialog()
190 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); in passphrase_dialog()
[all …]
/freebsd/contrib/bsddialog/utility/
H A Dbsddialog.136 .Fl Fl dialog
40 .Op Ar dialog-argument
46 .Oo Fl Fl and-dialog
62 .Fl Fl and-dialog
63 builds another dialog unless the previous one returns Error, ESC or Cancel.
65 Each dialog accepts
80 common to some dialog.
90 Set dialog horizontal position,
96 Set dialog vertical position,
123 .It Fl Fl clear-dialog
[all...]
/freebsd/contrib/dialog/package/debian/
H A Dcontrol7 Homepage: http://invisible-island.net/dialog/
12 Description: dialog - display dialog boxes from shell scripts
13 Dialog is a program that will let you present a variety of questions or
14 display messages using dialog boxes from a shell script. These types
15 of dialog boxes are implemented (though not all are necessarily
16 compiled into dialog):
29 Description: dialog - display dialog boxes from shell scripts
30 Dialog is a program that will let you present a variety of questions or
31 display messages using dialog boxes from a shell script. These types
/freebsd/lib/libdpv/
H A Ddialog_util.c50 /* [X]dialog(1) characteristics */
56 char dialog[PATH_MAX] = DIALOG; variable
58 /* [X]dialog(1) functionality */
76 * maximum height and width (respectively) for a dialog(1) widget based on the
131 snprintf(cmdbuf, LINE_MAX, "%s --print-maxsize 2>&1", dialog); in x11_maxsize_update()
167 * Return the current maximum height (rows) for an [X]dialog(1) widget.
181 * Return the current maximum width (cols) for an [X]dialog(1) widget.
217 * Spawn an [X]dialog(1) `--gauge' box with a `--prompt' value of init_prompt.
219 * file descriptor (int) suitable for writing data to the [X]dialog(1) instance
221 * [X]dialog(1) process).
[all …]
H A Ddpv.330 .Nd dialog progress view library
53 .Xr dialog 3 ,
54 .Xr dialog 1 ,
82 const char *status_solo; /* dialog(3) solo-status format.
84 const char *status_many; /* dialog(3) many-status format.
94 DPV_DISPLAY_LIBDIALOG = 0, /* Use dialog(3) (default) */
96 DPV_DISPLAY_DIALOG, /* Use spawned dialog(1) */
341 .Pq only available when using Xr dialog 3
400 .It Ev DIALOG
402 .Xr dialog 1
[all …]
/freebsd/usr.sbin/bsdconfig/share/
H A Ddialog.subr32 f_dprintf "%s: loading includes..." dialog.subr
42 # Default file descriptor to link to stdout for dialog(1) passthru allowing
43 # execution of dialog from within a sub-shell (so-long as its standard output
51 # Default name of dialog(1) utility
54 DIALOG="bsddialog"
57 # Default dialog(1) title and backtitle text
63 # Settings used while interacting with dialog(1)
76 # Exit codes for [X]dialog(1)
87 # Set bsddialog(1) compatibility with dialog(1): exit codes and use_shadow
106 # Minimum width(s) for various dialog(1) implementations (sensible global
[all …]

12345678910>>...26