[Bug 202058] bsdinstall - Disable dialog(3) for distfetch/checksum/distextract targets

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 24 20:34:20 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202058

--- Comment #5 from Devin Teske <dteske at FreeBSD.org> ---
The way that I have in-mind with how to support WITHOUT_DIALOG for the shell
code (which is not compiled, unlike the C code):

a. When WITHOUT_DIALOG is unset and unused, install the normal "dialog.subr"
which provides all the f_dialog_*() shell functions, using dialog(1)

b. When WITHOUT_DIALOG is set in src.conf(5) and present when
usr.sbin/bsdconfig/Makefile is processed, install an "anti_dialog.subr" (name
pending) that provides the same functions but use printf/f_err/etc. to stdout
instead of dialog. That way we don't have to go changing massive amounts of
shell code and all the f_dialog_msgbox/f_show_msg/etc. invocations will still
work as-expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-sysinstall mailing list