Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 21:11:37 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        "Alfonso S. Siciliano" <alfix86@gmail.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: TERMs for bsdinstall
Message-ID:  <20220322211137.GC93207@spindle.one-eyed-alien.net>
In-Reply-To: <20220320173809.644227669c080c2c48a7ed29@gmail.com>
References:  <20220320173809.644227669c080c2c48a7ed29@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--neYutvxvOLaeuPCA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 20, 2022 at 05:38:09PM +0100, Alfonso S. Siciliano wrote:
> Hello,
>=20
> I am ready to start to replace LGPL-dialog with bsddialog in bsdinstall/s=
cripts,
> so some question and proposal:
>=20
> I noted 'release/rc.local' prompts 4 TERMs for bsdinstall: xterm, vt100, =
ansi,
> cons25w:
>=20
> 	# Serial or other console
> 	echo
> 	echo "Welcome to FreeBSD!"
> 	echo
> 	echo "Please choose the appropriate terminal type for your system."
> 	echo "Common console types are:"
> 	echo "   ansi     Standard ANSI terminal"
> 	echo "   vt100    VT100 or compatible terminal"
> 	echo "   xterm    xterm terminal emulator (or compatible)"
> 	echo "   cons25w  cons25w terminal"
> 	echo
> 	echo -n "Console type [vt100]: "
> 	read TERM
> 	TERM=3D${TERM:-vt100}
>=20
>=20
> I would replace:
>=20
> ansi
> vt100 [default]
> xterm
> cons25w
>=20
> with:
>=20
> vt100
> vt220 [default]
> xterm
> cons25w (delete?)
>=20
> Why?
>=20
> Add vt220 and new default, because it has better UI features than vt100 a=
nd is
> similarly old.
>=20
> xterm is ok.
>=20
> Delete ansi, I seem it is not usable also with LGPL-dialog, do somebody r=
eally
> use it? Some test:
> % env TERM=3Dansi sade
> % env TERM=3Dansi dialog --menu test 0 0 0 n1 d1 n2 d2
>=20
> Delete cons25w? Reading the logs it seems useful for pc98 now deleted, ho=
wever
> it was added for japanese users, I have not this hardware so I could send=
 a call
> for testing in current@.
>=20
> Please note I want to remove nothing (TERMs, drivers, etc.), it is just an
> echo-prompt update.
>=20
>=20
> Feel free to point me to any useful resource and let me know if you want =
to be
> involved in reviews / other discussions.
> Finally I added an editable wiki page for tracking the replacement process
> <https://wiki.freebsd.org/RoadmapFromDialogToBSDDialog>.

It's hard to imagine anyone using something that isn't xterm compatible.
Does it even make sense to have this prompt?

-- Brooks

--neYutvxvOLaeuPCA
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJiOjuIAAoJEKzQXbSebgfAGOkIAIq2yWj1sgJqsHBAj22cy6R/
wq1S+B9m+VHSKMT62xNlrPIWJkg8/I4PGe6Whm9sIkCZiFM0N/Cl6jAPYJN6xPHF
OKOKEdjN78gI378mWcc8S/C1heGMBNqrVG7JqgMgxnEVh1IBJvFhYZNhUY71aCIT
Wy5zr50q2XSowuQUdEA5HV+vYQzGVrqy1UvtUrt0MxiKI/YjiJa5k6W7olXWcUZp
AQS9khnIPUJMIL7TTivAsu2y6wyWpfCPv1fryt9VFcvcLmxhKQf8DxIGoOJcyTUc
HGr5XHosCtzsni35u30g+oBYaudOA9bor7q2T7mn9NCjMmCCMKAmsp5rt8xFhgk=
=P3/V
-----END PGP SIGNATURE-----

--neYutvxvOLaeuPCA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220322211137.GC93207>