Date: Thu, 2 Nov 2023 21:08:22 -0400 From: Thomas Dickey <dickey@his.com> To: Jamie Landeg-Jones <jamie@catflap.org>, freebsd-current@freebsd.org, dickey@his.com, bapt@freebsd.org Subject: Re: Freebsd 14+ -- tcsh incompatible with terminfo Message-ID: <ZURIBng8NTG4bfHR@prl-debianold-64.jexium-island.net> In-Reply-To: <20231102175855.A1pj0%steffen@sdaoden.eu> References: <202310312245.39VMjNJB080965@donotpassgo.dyslexicfish.net> <202310312259.39VMxm6W081150@donotpassgo.dyslexicfish.net> <ZUGZPWBSt80p3jHa@prl-debianold-64.jexium-island.net> <202311010349.3A13nX1M094463@donotpassgo.dyslexicfish.net> <20231101220247.HGrrB%steffen@sdaoden.eu> <202311020241.3A22f4o3042181@donotpassgo.dyslexicfish.net> <20231102175855.A1pj0%steffen@sdaoden.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dickey@invisible-island.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZURIBng8NTG4bfHR>