Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2023 20:18:05 -0400
From:      Thomas Dickey <dickey@his.com>
To:        Jamie Landeg-Jones <jamie@catflap.org>
Cc:        freebsd-current@freebsd.org, bapt@freebsd.org
Subject:   Re: Freebsd 14+ -- tcsh incompatible with terminfo
Message-ID:  <ZUGZPWBSt80p3jHa@prl-debianold-64.jexium-island.net>
In-Reply-To: <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net>
References:  <202310312245.39VMjNJB080965@donotpassgo.dyslexicfish.net> <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net>

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

--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 <jamie@catflap.org> 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 <dickey@invisible-island.net>
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--



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