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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Oct 31, 2023 at 10:59:48PM +0000, Jamie Landeg-Jones wrote: > Jamie Landeg-Jones <jamie@catflap.org> wrote: > > > switch to tcsh, and reinitialise terminal information: > > > > % setenv TERM dumb > > % setenv TERM xterm > > % setenv TERM xterm-256color > > Apologies, it seems this doesn't affect plain "xterm", but it does at least > affect xterm-16color and xterm-256color. actually it probably does affect "xterm" Checking the source, tcsh is expecting a termcap string, while data read from 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 describing, but supporting $TERMCAP would be work) > Is this, therefore, a terminfo.db issue? > > Thanks again, Jamie > -- Thomas E. Dickey <dickey@invisible-island.net> https://invisible-island.net [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZUGZPWBSt80p3jHa>
