From nobody Fri Nov 3 01:08:22 2023 X-Original-To: freebsd-current@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 4SM2gN1RCdz507tR for ; Fri, 3 Nov 2023 01:08:32 +0000 (UTC) (envelope-from btv1==671aa5fb66c==tom@invisible-island.net) Received: from smtp-1a.his.com (smtp-1a.his.com [216.194.253.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SM2gM1785z3YZP for ; Fri, 3 Nov 2023 01:08:31 +0000 (UTC) (envelope-from btv1==671aa5fb66c==tom@invisible-island.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of "btv1==671aa5fb66c==tom@invisible-island.net" designates 216.194.253.2 as permitted sender) smtp.mailfrom="btv1==671aa5fb66c==tom@invisible-island.net"; dmarc=none Received: from cuda501.his.com (cuda501.his.com [18.191.10.220]) by smtp-1a.his.com (Postfix) with ESMTPS id C38AA1E5 for ; Thu, 2 Nov 2023 21:08:24 -0400 (EDT) X-ASG-Debug-ID: 1698973703-1f26af249c4948e0001-XDYc8F Received: from smtp-4a.his.com (smtp-4a.his.com [216.194.253.31]) by cuda501.his.com with ESMTP id IRcXZrQbogCVQGyI (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 02 Nov 2023 21:08:23 -0400 (EDT) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.253.31 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-4a.his.com (Postfix) with ESMTPS id C8C0287; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 9AE29177C04; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) X-Barracuda-RBL-Trusted-Forwarder: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavis, port 10032) with ESMTP id fF4wdu2l2jIj; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 823A8177C05; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) X-Virus-Scanned: amavis at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavis, port 10026) with ESMTP id aQd4uXsTVSxt; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) Received: from prl-debianold-64.jexium-island.net (static-96-255-221-90.washdc.fios.verizon.net [96.255.221.90]) by zproxy101.his.com (Postfix) with ESMTPSA id 628E9177C04; Thu, 2 Nov 2023 21:08:23 -0400 (EDT) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.94.2) (envelope-from ) id 1qyife-0000Wy-Pr; Thu, 02 Nov 2023 21:08:22 -0400 X-Barracuda-RBL-IP: 96.255.221.90 X-Barracuda-Effective-Source-IP: static-96-255-221-90.washdc.fios.verizon.net[96.255.221.90] X-Barracuda-Apparent-Source-IP: 96.255.221.90 Date: Thu, 2 Nov 2023 21:08:22 -0400 From: Thomas Dickey To: Jamie Landeg-Jones , freebsd-current@freebsd.org, dickey@his.com, bapt@freebsd.org Subject: Re: Freebsd 14+ -- tcsh incompatible with terminfo Message-ID: X-ASG-Orig-Subj: Re: Freebsd 14+ -- tcsh incompatible with terminfo Reply-To: dickey@his.com References: <202310312245.39VMjNJB080965@donotpassgo.dyslexicfish.net> <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net> <202311010349.3A13nX1M094463@donotpassgo.dyslexicfish.net> <20231101220247.HGrrB%steffen@sdaoden.eu> <202311020241.3A22f4o3042181@donotpassgo.dyslexicfish.net> <20231102175855.A1pj0%steffen@sdaoden.eu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HN1h7JErIyjKqOMa" Content-Disposition: inline In-Reply-To: <20231102175855.A1pj0%steffen@sdaoden.eu> X-Barracuda-Connect: smtp-4a.his.com[216.194.253.31] X-Barracuda-Start-Time: 1698973703 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 1863 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=5.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.116232 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spamd-Result: default: False [-3.39 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.81)[0.806]; FORGED_SENDER(0.30)[dickey@his.com,btv1==671aa5fb66c==tom@invisible-island.net]; R_SPF_ALLOW(-0.20)[+ip4:216.194.252.0/22]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[18.191.10.220:received]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[his.com]; ASN(0.00)[asn:11604, ipnet:216.194.252.0/22, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_REPLYTO(0.00)[dickey@his.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dickey@his.com,btv1==671aa5fb66c==tom@invisible-island.net]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_SEVEN(0.00)[9] X-Rspamd-Queue-Id: 4SM2gM1785z3YZP X-Spamd-Bar: --- --HN1h7JErIyjKqOMa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2023 at 06:58:55PM +0100, Steffen Nurpmeso wrote: > I do understand that a bit. Other than that plain termcap was so > small and i would assume essentially unchanged for decades, that > i do not. Termcap entries, yes. I could imagine vt220, xterm, > screen-256color, and take one of st-256color, whatever KDE and > GNOME terminal, and rxvt-unicode. Makes seven. Likely > automatically extractable via "infocmp -C" of Dickey's terminfo. >=20 > Let's just try that: >=20 > $ rm .TCAP;\ > for f in vt220 xterm screen-256color st-256color \ > rxvt-256color gnome-256color konsole-256color; do \ > infocmp -C $f >> .TCAP;\ > done;\ > ls -l .TCAP > -rw-r----- 1 steffen steffen 7145 Nov 2 18:40 .TCAP There's more data in termcap than that (which some people would like to use= ). And there's additional data for terminfo -- again, some want it. man infocmp: For best results when converting to termcap format, you should use b= oth -C and -r. Normally a termcap description is limited to 1023 byt= es. infocmp trims away less essential parts to make it fit. If you = are converting to one of the (rare) termcap implementations which accept= an unlimited size of termcap, you may want to add the -T option. More = of=E2=80=90 ten however, you must help the termcap implementation, and trim exc= ess whitespace (use the -0 option for that). (-T is appropriate here - ymmv) With -C alone, I get -rw------- 1 tom users 7315 Nov 2 21:02 .TCAP With -CrT, -rw------- 1 tom users 14390 Nov 2 21:02 .TCAP For terminfo, no options -rw------- 1 tom users 16027 Nov 2 21:03 .TCAP For terminfo with -x -rw------- 1 tom users 19533 Nov 2 21:03 .TCAP --=20 Thomas E. Dickey https://invisible-island.net --HN1h7JErIyjKqOMa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmVESAMACgkQzCr0RyFn vgPPDAwAxAJMpu7+h9Ft5tjKGxEUdtQklNCiB29PorW00Se/xBUrWIlpW2F5Zb9e /6C6DCMigMts/QlY+xT8rG5QkJ0KPwcPSxDO8L45LOyeZXl2gXewhZMj3CTvnhFd kPY2ACQp9kCbvaWH7gUlE5gubQnN7Bl/JHZFi9Y4eIC1M14M7efx6t4bJl1jm1kc F3TaCBWE7hgiqc6XwInaNaBXW92eSwbg6XErwO0WfLybOdzfBUbWpsR3SehlCM9L hCs/GQrojzIpSOtu+ygSM86gMwZeTo40d4KNRjTdMG8hw2p8URHxqqy4zwbnwfZV g2z3Pby67kRrjwC00fLQb3aO50YjncKnIXUZmub9qbSW0GcpWElspeUzQsuBR7/q RJtpopbN6w4Ej3KFIUSm5wfPgU9xzDDU6lWIvmzw8clSreeF1PzQ8w1Z0Yv/0eDh q+Hs/06yP9q9/sJ4wT1LfL+NglMsig/fgX1FyyKyQkUrs5c3BF/9R3PCCQS4PaLo db6Zc3m6 =9J1j -----END PGP SIGNATURE----- --HN1h7JErIyjKqOMa--