Re: bsdinstall TUI utility
- In reply to: Alfonso S. Siciliano: "bsdinstall TUI utility"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 20:18:10 UTC
A few days late to this, but I added Xdialog support kind of on a lark in the original version of the utility. I don't think anyone has ever used it or cared about, and I think it can be nuked without issue. -nathan On 5/28/22 17:59, Alfonso S. Siciliano wrote: > Hello, > > > So far I replaced and adapted `dialog` with `bsddialog` in > bsdinstall/scripts. > <https://wiki.freebsd.org/RoadmapFromDialogToBSDDialog> > > > Currently, I am addressing the last 4 scripts: auto, bootconfig, keymap, > and wlanconfig. These scripts use also the $DIALOG variable and some > "if" to handle Xdialog(1). > For example 'auto' uses $DIALOG, $USE_XDIALOG, and `dialog`. > > * $DIALOG: I seem bsdinstall(8) uses only dialog(1) as TUI utility. > * I seem bsdconfig(8) does not "call" these 4 scripts, so, probably, > Xdialog(1) is not used in this context (that is `bsdconfig -X`). > > > Is there any objection to delete $DIALOG/LGPL-dialog/Xdialog to > provide only the support for bsddialog(1) in bsdinstall(8)? > > I would prefer this solution because I can avoid: to handle some > dialog/Xdialog/bsddialog command line difference and to hook some > bsdconfig function built on dialog(1) incompatible with bsddialog(1) > (for example autosizing, implemented in bsddialog(3) already). > > > Please note these considerations are only for bsdinstall, bsdconfig is > unchanged. > > > Best regards, > Alfonso >