Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2016 20:34:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-sysinstall@FreeBSD.org
Subject:   [Bug 202058] bsdinstall - Disable dialog(3) for distfetch/checksum/distextract targets
Message-ID:  <bug-202058-2920-TeCheGNZ9M@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202058-2920@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202058-2920@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202058

--- Comment #5 from Devin Teske <dteske@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" (na=
me
pending) that provides the same functions but use printf/f_err/etc. to stdo=
ut
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 sti=
ll
work as-expected.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202058-2920-TeCheGNZ9M>