freebsd-dev/usr.sbin/bsdinstall/scripts
Devin Teske 751952ae37 When merging docsinstall and zfsboot updates to stable/9 it was discovered
that the slightly older dialog(1) requires --separate-output when using the
--checklist widget to force response to produce unquoted values (whereas in
stable/10 --checklist widget without --separate-output will only quote the
checklist labels in the response if the label is multi-word (contains any
whitespace).

Since these enhancements (see revisions 263956 and 264437) were developed
originally on 10, the --separate-output option was omitted. When merged to
stable/9, we (Allan Jude) and I found during testing that the "always-
quoting" of the response was causing things like struct interpolation to
fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for
example -- literal quotes inherited from dialog(1) --checklist response).

To see the behavior, execute the following on stable/9 versus stable/10:

        dialog --checklist disks: 0 0 0 da0 "" off da1 "" off

Check both items and hit enter. On stable/10, the response is:

        da0 da1

On stable/9 the response is:

        "da0" "da1"

If you use the --separate-output option, the response is the same for both:

        da0
        da1

So applying --separate-output on every platform until either one of two
things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or
2) we drop support for stable/9.

MFC after:      3 days
Reviewed by:    Allan Jude
2014-04-15 06:56:59 +00:00
..
adduser Make messages about typos appear on the screen instead of in the log file. 2011-08-21 18:49:28 +00:00
auto Move the installer's keymap solution introduced by SVN r259468. The new 2013-12-21 16:43:40 +00:00
checksum Mark any distfiles with no checksum entries in the manifest "Skipped" 2011-03-23 13:43:56 +00:00
config Mask error from newaliases(1) when the hostname is not fully qualified. 2013-12-16 15:52:44 +00:00
docsinstall When merging docsinstall and zfsboot updates to stable/9 it was discovered 2014-04-15 06:56:59 +00:00
entropy Add executable bit to docsinstall [old] and entropy [new] scripts. 2013-10-15 02:07:29 +00:00
hostname
jail A series of changes tested together as a whole: 2013-11-08 09:57:03 +00:00
keymap Rewrite the keymap module to display an actual menu of selectable 2013-10-11 20:52:42 +00:00
Makefile NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
mirrorselect Remove ftp5.se.f.o, as per request to -hubs@ 2013-09-28 13:58:21 +00:00
mount
netconfig Incorporate PR bin/161547 to detect when an interface is wireless. 2013-10-11 21:12:48 +00:00
netconfig_ipv4 A series of changes tested together as a whole: 2013-11-08 09:57:03 +00:00
netconfig_ipv6 A series of changes tested together as a whole: 2013-11-08 09:57:03 +00:00
rootpass Make messages about typos appear on the screen instead of in the log file. 2011-08-21 18:49:28 +00:00
script Fix typo in debug/log statement. 2014-04-14 05:35:01 +00:00
services Dummy commit (whitespace changes and style nits) to show previous commit 2014-01-20 03:39:08 +00:00
time
umount
wlanconfig Allow bsdinstall to use WPA-Enterprise networks when installing. This 2014-01-04 17:09:41 +00:00
zfsboot When merging docsinstall and zfsboot updates to stable/9 it was discovered 2014-04-15 06:56:59 +00:00