Re: ports-mgmt/portconfig surprize

From: Alfonso Sabato Siciliano <alfix86_at_gmail.com>
Date: Fri, 05 Jan 2024 23:00:13 UTC
On Fri, Jan 5, 2024, 00:45 Peter <pmc@citylink.dinoex.sub.org> wrote:

> Folks,
>
>   somebody got the idea to replace the dialog4ports options
> configuring interface by something named 'ports-mgmt/portconfig'.
> (And they did not even find it worth mentioning this in the
> UPGRADING file.)
>
> Now this one looks terrible, the screen is garbled, and it is
> quite unintellegible which line is currently entered.
> See pictures here (old and new):
>
> https://forums.freebsd.org/threads/2024q1-portbuild-trouble.91770/post-636816
>
> What is happening:
> I am starting a shell script. That fires up a bhyve. In the bhyve 'make'
> is run with stdio connected to the second COM.
> In the script on the host, bhyve is put in background, 'cu' is started
> and connected to that second COM. There the dialog appears.
> Since the script on the host is run from remote, it is run within
> tmux.
> Point is: it did work before.
>
> disappointed,
> PMc
>



Thank you for the report

I am in a rural place far from my laptop.
I'll investigate the problem on Monday.

However you could run:
# pkg install dialog4ports
and adding
DIALOG4PORTS=${LOCALBASE}/bin/dialog4ports
to /etc/make.conf you can use the previous utility instead of portconfig to
set up ports options via a TUI.

Please next time open a new issue to https://gitlab.com/alfix/portconfig to
report a problem about portconfig.

Alfonso