diff --git a/usr.sbin/bsdinstall/scripts/docsinstall b/usr.sbin/bsdinstall/scripts/docsinstall --- a/usr.sbin/bsdinstall/scripts/docsinstall +++ b/usr.sbin/bsdinstall/scripts/docsinstall @@ -55,7 +55,7 @@ msg_cancel="Cancel" msg_dadoc_desc="Danish Documentation" msg_dedoc_desc="German Documentation" -msg_docsinstall_menu_text="This menu allows you to install the whole documentation set from\nthe FreeBSD Documentation Project: Handbook, FAQ, and articles.\n\nPlease select the language versions you wish to install. At\nminimum, you should install the English version, the original\nversion of the documentation." +msg_docsinstall_menu_text="This menu allows you to install the whole documentation set from the FreeBSD Documentation Project: Handbook, FAQ, and articles.\n\nPlease select the language versions you wish to install. At minimum, you should install the English version, the original version of the documentation." msg_eldoc_desc="Greek Documentation" msg_endoc_desc="English Documentation (recommended)" msg_esdoc_desc="Spanish Documentation" @@ -80,7 +80,7 @@ # dialog_menu_main # -# Display the dialog(1)-based application main menu. +# Display the bsddialog(1)-based application main menu. # dialog_menu_main() { @@ -108,15 +108,8 @@ " # END-QUOTE done - local height width rows - eval f_dialog_checklist_size height width rows \ - \"\$title\" \ - \"\$btitle\" \ - \"\$prompt\" \ - \"\$hline\" \ - $check_list local selected - selected=$( eval $DIALOG \ + selected=$( eval bsddialog \ --title \"\$title\" \ --backtitle \"\$btitle\" \ --separate-output \ @@ -124,7 +117,7 @@ --ok-label \"\$msg_ok\" \ --cancel-label \"\$msg_cancel\" \ --checklist \"\$prompt\" \ - $height $width $rows \ + 0 0 0 \ $check_list \ 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD )