Yes, that is nice
Klemens Nanni <[email protected]> wrote:
> '?' output could better distuingish from questions and other lines,
> like sets selection does with four leading spaces.
>
> ---
> Terminal type? [vt220]
> Available disks are: sd0.
> Which disk is the root disk? ('?' for details) [sd0] ?
> -sd0: VirtIO, Block Device (5.0G)
> -sd1: VirtIO, Block Device (5.0G)
> + sd0: VirtIO, Block Device (5.0G)
> + sd1: VirtIO, Block Device (5.0G)
> Available disks are: sd0.
> Which disk is the root disk? ('?' for details) [sd0]
> ---
> Network interface to configure? (name, lladdr, '?', or 'done') [vio0] ?
> Available network interfaces are: vio0 vio1 vlan0.
> - vio0: lladdr fe:e1:bb:d1:e4:c3
> - vio1: lladdr fe:e1:bb:d2:63:dd
> + vio0: lladdr fe:e1:bb:d1:e4:c3
> + vio1: lladdr fe:e1:bb:d2:63:dd
> Network interface to configure? (name, lladdr, '?', or 'done') [vio0]
> ---
>
> Feedback? OK?
>
> Index: install.sub
> ===================================================================
> RCS file: /cvs/src/distrib/miniroot/install.sub,v
> retrieving revision 1.1241
> diff -u -p -r1.1241 install.sub
> --- install.sub 7 Apr 2023 13:48:42 -0000 1.1241
> +++ install.sub 16 Apr 2023 20:02:13 -0000
> @@ -281,7 +281,7 @@ diskinfo() {
> _s=$(disklabel -dpg $_d 2>/dev/null | sed -n '/.*# total bytes:
> \(.*\)/{s//(\1)/p;}')
> rm -f /dev/{r,}$_d?
>
> - echo "$_d: $_i $_n $_s"
> + echo " $_d: $_i $_n $_s"
> done
> }
>
> @@ -1354,7 +1354,7 @@ configure_ifs() {
> if [[ $resp == '?' ]]; then
> for _if in "${_ifs[@]}"; do
> _lladdr=$(if_name_to_lladdr $_if)
> - [[ -n $_lladdr ]] && echo " $_if: lladdr
> $_lladdr"
> + [[ -n $_lladdr ]] && echo " $_if: lladdr
> $_lladdr"
> done
> fi
>
>