Date: Tue, 31 Oct 2023 22:45:23 +0000 From: Jamie Landeg-Jones <jamie@catflap.org> To: bapt@freebsd.org, freebsd-current@freebsd.org Subject: Freebsd 14+ -- tcsh incompatible with terminfo Message-ID: <202310312245.39VMjNJB080965@donotpassgo.dyslexicfish.net>
next in thread | raw e-mail | index | archive | help
Hi! The changes to FreeBSD base ncurses to use the terminfo db over termcap if it exists have caused a few issues with tcsh, which doesn't seem to grok terminfo. e.g. : install misc-terminfo switch to tcsh, and reinitialise terminal information: % setenv TERM dumb % setenv TERM xterm % echotc AF 1 echotc: `AF' requires 2 arguments. Deleting the relevent terminfo entry, and reinitialising the terminal information causes everything to work again. Tested on stock 14.0-RC3 I have some other locally grown stuff that complains for similar reasons, that I'll have to fix too, but in the meantime, what's the easiest way to force any program to use termcap over terminfo rather than the other way around, or is this the wrong approach? I considered kludging with environment variables TERMINFO/TERMCAP, but these are login based rather than program based, and if instead set inside a program, could cause spawned programs to also be polluted, if not careful, especially with a shell. Cheers, Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310312245.39VMjNJB080965>