From nobody Tue Mar 22 21:11:37 2022 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B8C61A378B3 for ; Tue, 22 Mar 2022 21:11:39 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNPLK62z8z4nnp for ; Tue, 22 Mar 2022 21:11:37 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 822363C0199; Tue, 22 Mar 2022 21:11:37 +0000 (UTC) Date: Tue, 22 Mar 2022 21:11:37 +0000 From: Brooks Davis To: "Alfonso S. Siciliano" Cc: freebsd-arch@freebsd.org Subject: Re: TERMs for bsdinstall Message-ID: <20220322211137.GC93207@spindle.one-eyed-alien.net> References: <20220320173809.644227669c080c2c48a7ed29@gmail.com> List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <20220320173809.644227669c080c2c48a7ed29@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4KNPLK62z8z4nnp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-3.85 / 15.00]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; FREEFALL_USER(0.00)[brooks]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.946]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arch]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net] X-ThisMailContainsUnwantedMimeParts: N --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 > . 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--