From nobody Fri Mar 1 21:40:11 2024 X-Original-To: freebsd-hackers@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 4TmhMh1Q1rz5D64Z for ; Fri, 1 Mar 2024 21:40:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TmhMg1lQpz4459; Fri, 1 Mar 2024 21:40:15 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTPS id g2h0r57USxDxGgAc1rav7j; Fri, 01 Mar 2024 21:40:13 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id gAbzrsiGP9Cr4gAc0rx3j7; Fri, 01 Mar 2024 21:40:13 +0000 X-Authority-Analysis: v=2.4 cv=etl8zZpX c=1 sm=1 tr=0 ts=65e24b3d a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=K6JAEmCyrfEA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=s567J3IXPG-yc-eaS5AA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id A1BCCB28; Fri, 1 Mar 2024 13:40:11 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 6EBCD23C; Fri, 1 Mar 2024 13:40:11 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Craig Leres cc: freebsd-hackers@freebsd.org Subject: Re: portconfig vs xterm In-reply-to: <1f477b47-6a8e-4e32-889e-7f0788132953@freebsd.org> References: <1f477b47-6a8e-4e32-889e-7f0788132953@freebsd.org> Comments: In-reply-to Craig Leres message dated "Sat, 03 Feb 2024 19:06:07 -0800." List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Mar 2024 13:40:11 -0800 Message-Id: <20240301214011.6EBCD23C@slippy.cwsent.com> X-CMAE-Envelope: MS4xfLoz0xy73JsyKD/0wc619/LRnUf1eHIO7nng+y10RB5vb7PrkW6zZiuw+TLCk7NmFplahpLvBOJiSn8ijbR1C1vqGUyq/I2h/8DyXy9FCLdpDeBIPmIa 10aaCmhU4t+69Cqo/Xv+xcHUN3VVIHogtmSVwIjN3JQobN8woPPfCMdCwlGOBPY/G9mvYnnYrpyt99aQRmpWvn9/QwDtbxVXqlyImp0pmKozVsw4gaUMW1Jh PDczhr0hnq9OP6yBgZsIfg== X-Spamd-Bar: - X-Spamd-Result: default: False [-1.68 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; ARC_NA(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[cschubert.com]; R_DKIM_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4TmhMg1lQpz4459 In message <1f477b47-6a8e-4e32-889e-7f0788132953@freebsd.org>, Craig Leres writ es: > I was trying to give 13.3-BETA1 a legit tryout and ended up spending > hours fighting with portconfig. In my experience it does not play well > with xterm. Function and arrow keys are no-ops and unlike dialog4ports > it does not allow navigation with ^P/^N. Given that that my TERM is set > to xterm when I login to the *console* of my newly installed 13.3 system > (as when I ssh in from my FreeBSD desktop) how can my user experience be > so terrible? > > I eventually figured out I could go back by adding: > > DIALOG=/usr/local/bin/dialog4ports > > to /etc/make.conf. > > Have a I managed to overlook a subtle clue somewhere? > > Similarity, I jave been hitting this on my 13.2 build server and today > figured out the poudriere itself had a dependency on portconfig. Good > luck using portconfig to change the option that controls this though. > (In the end I used my windows laptop which identifies as a vt220 to ssh > in -- so I didn't have to resort to editing the options file with vi...) portconfig works quite well with xterm. The F1 function key works, as do the arrow and pgup/pgdown keys. Regarding print of drawing characters, one needs to either enable UTF-8 encoding -- that's ctrl + right mouse button -- or use uxterm. Or one can use a locale with a UTF-8 encoding. Another option may be to invoke xterm using the -lc option (or you can get into the weeds and set the -en option yourself). Many of these options can also be specified in your resources file. Xterm is very configurable. $TERM doesn't matter. xterm -lc invokes luit(1) to handle UTF-8 conversion. The man page says it's the preferred option. IMO piping through an "external" application uses CPU cycles that could better be used servicing builds -- if you do builds on the same machine. Probably not a big user of resources but we old dogs who used to work on 96 KB mainframes back in the day are, still, all too aware of resource utilization. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0