Re: no time selection screen in installer anymore

From: Yuri Pankov <yuripv_at_yuripv.dev>
Date: Sat, 20 Mar 2021 11:07:05 +0300
Yuri Pankov wrote:
> Installing from
> FreeBSD-14.0-CURRENT-amd64-20210318-a771bf748f9-245511-disc1.iso, I
> noticed that there's no time selection screen anymore; TZ is there, date
> is there, and only time is missing.
> 
> Not that I miss it much, but it does not seem to be removed from source,
> so I'm wondering if it's recent dialog update that broke it?

Apparently dialog does not like the height of 2 anymore here (while it
still works for --calendar):

usr.sbin/bsdinstall/scripts/time:

TIME=$(dialog --backtitle 'FreeBSD Installer' \
        --title 'Time & Date' \
        --ok-label 'Set Time' \
        --cancel-label 'Skip' \
        --defaultno \
        --time-format '%H%M.%S' \
        --timebox '' 2 40 \
2>&1 1>&3) && date $TIME

We could use a height of 0 for minimal possible size.
Received on Sat Mar 20 2021 - 07:07:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC