Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2021 11:07:05 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        current@freebsd.org
Subject:   Re: no time selection screen in installer anymore
Message-ID:  <70f50058-2a83-37df-6851-4897970d0e84@yuripv.dev>
In-Reply-To: <5ad70bb5-18a0-35a2-bf44-c70da6e6a922@yuripv.dev>
References:  <5ad70bb5-18a0-35a2-bf44-c70da6e6a922@yuripv.dev>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70f50058-2a83-37df-6851-4897970d0e84>