Autor: Walter Dnes Fecha: A: Devuan list Asunto: Re: [DNG] Terminal type mismatch?
On Wed, Jan 15, 2025 at 12:15:40PM +0100, Didier Kryn wrote
> You might check you have ncurses library and the package
> ncurses-base installed. Then list /lib/ncurses/x to see which
> version of xterm fits best your needs (I would bet some version of
> xterm-color).
There is no /lib/ncurses/* on the Devuan (server) machine...
===============================================
[dev1][root][~] apt list --installed | grep ncu
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libncurses6/stable,now 6.4-4 amd64 [installed,automatic]
libncursesw6/stable,now 6.4-4 amd64 [installed]
ncurses-base/stable,now 6.4-4 all [installed]
ncurses-bin/stable,now 6.4-4 amd64 [installed]
ncurses-term/stable,now 6.4-4 all [installed]
===============================================
> Then check that ssh is forwarding your TERM variable: this is
> parameter SendEnv in /etc/ssh/ssh_config, and , on the server side,
> that parameter AcceptEnv in /etc/ssh/sshd_config also lists the
> TERM variable.
/etc/ssh/sshd_config on the Devuan machine has
===============================================
AcceptEnv LANG LC_*
===============================================
/etc/ssh/ssh_config on the Gentoo machine has the line...
===============================================
Include "/etc/ssh/ssh_config.d/*.conf"
===============================================
Which pulls in /etc/ssh/ssh_config.d/9999999gentoo.conf which has...