From nobody Wed Nov 01 00:18:05 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 4SKnfK0t5rz4y893 for ; Wed, 1 Nov 2023 00:18:17 +0000 (UTC) (envelope-from btv1==669c19df0ec==tom@invisible-island.net) Received: from smtp-2a.his.com (dc-16.his.net [108.56.65.16]) (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 4SKnfJ3Zs9z3HYR for ; Wed, 1 Nov 2023 00:18:16 +0000 (UTC) (envelope-from btv1==669c19df0ec==tom@invisible-island.net) Authentication-Results: mx1.freebsd.org; none Received: from cuda501.his.com (cuda501.his.com [18.191.10.220]) by smtp-2a.his.com (Postfix) with ESMTPS id 45610C7 for ; Tue, 31 Oct 2023 20:18:10 -0400 (EDT) X-ASG-Debug-ID: 1698797889-1f26af249d3f0a30001-XDYc8F Received: from smtp-4a.his.com (smtp-4a.his.com [216.194.253.31]) by cuda501.his.com with ESMTP id h1fJzKKs4MtaSEXs (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 31 Oct 2023 20:18:09 -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 4439187; Tue, 31 Oct 2023 20:18:09 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 1759D17753A; Tue, 31 Oct 2023 20:18:09 -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 stK2o3iCQspt; Tue, 31 Oct 2023 20:18:09 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id F258A177538; Tue, 31 Oct 2023 20:18:08 -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 tdz3yDpAKeQJ; Tue, 31 Oct 2023 20:18:08 -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 DBB8917753C; Tue, 31 Oct 2023 20:18:08 -0400 (EDT) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.94.2) (envelope-from ) id 1qxyvt-000I6S-1o; Tue, 31 Oct 2023 20:18:05 -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: Tue, 31 Oct 2023 20:18:05 -0400 From: Thomas Dickey To: Jamie Landeg-Jones Cc: freebsd-current@freebsd.org, 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> 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="XnAKLCn0WtGE0TZ3" Content-Disposition: inline In-Reply-To: <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net> X-Barracuda-Connect: smtp-4a.his.com[216.194.253.31] X-Barracuda-Start-Time: 1698797889 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: 1049 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.116147 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:701, ipnet:108.56.0.0/16, country:US] X-Rspamd-Queue-Id: 4SKnfJ3Zs9z3HYR --XnAKLCn0WtGE0TZ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 31, 2023 at 10:59:48PM +0000, Jamie Landeg-Jones wrote: > Jamie Landeg-Jones wrote: >=20 > > switch to tcsh, and reinitialise terminal information: > > > > % setenv TERM dumb > > % setenv TERM xterm >=20 > % setenv TERM xterm-256color >=20 > Apologies, it seems this doesn't affect plain "xterm", but it does at lea= st=20 > affect xterm-16color and xterm-256color. actually it probably does affect "xterm"=20 Checking the source, tcsh is expecting a termcap string, while data read =66rom the terminfo database is going to be in terminfo format -- even if read via tgetent/tgetstr tcsh is expecting a termcap string, and in its EchoTC function it duplicates the termcap version of what's tparm in a terminfo program. (tcsh could be modified readily to use terminfo for the case you're describ= ing, but supporting $TERMCAP would be work) =20 > Is this, therefore, a terminfo.db issue? >=20 > Thanks again, Jamie >=20 --=20 Thomas E. Dickey https://invisible-island.net --XnAKLCn0WtGE0TZ3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmVBmTkACgkQzCr0RyFn vgPRlAv5Ac27UAjTp2Jl5DjsKm9b7GlNdsbS1UBmjiwXUigAo3jD7n4ptBxkSHro WHNzf909A9I41K3WpPSTYUmWu3mAfka/L35/vBvDZZbVAKAyGO1lyzxUzBMP5R9c DbtmbAlHI+92V3xZhqgkvRPBIV8XfycVrvFGQHPHcYWkvbDucyO+pE+6aBdFxn6T /Fj4byuAIlGBXdf/Xb4xfBFs3819ZMlpZuongpwwhF05u69RqHKfTutoxMAZqy7N nJ0mTQ19RqVRjb7p1wwHTxJjFw36UGCUNUNvImMH5Eosrp0Wg+XjeTQpE7lIcZeQ 7qysclmrXhlgpCJPeHVHwc6i09dNHYE0ZPI82Zxc5kXOig1JctiaZDq7eXdJnWIx 4+eIgZ82JgcZ8rraeB3V+24c++odb81ZckUfpZt1aWlTFhGFzyUgE4UDMtYCIH9b LNL3noa9WTDHWHGdUDt08FDsVIi28aS1WrrdB08E1jWklgiNheyy5BXy1Gq46UQN 72k4m1Xi =RqJ9 -----END PGP SIGNATURE----- --XnAKLCn0WtGE0TZ3--