Whenever I ssh into my arch linux box I get this error message:
setterm: terminal xterm does not support --blength
Also when executing:
$ sudo su -
Interestingly not when using
$ sudo su
I have sifted through various man pages trying to find where this terminal attribute is being set. Those included setterm
and terminfo
.
I went even so far doing
find / -type f -iname "terminfo" -exec grep -i blength {} \;
That returned 0 results. Also looked into /etc/.bashrc
and /etc/bash.basrc
but nowhere I discovered anything that invokes setterm
or even includes *blength*
in its statement.
This issue really just is a minor nuisance but I find it highly irritating simply because I don't like seeing error messages of a system that is in the state running
when queried with systemctl status --system
.
In addition I made sure PuTTY (using SuperPuTTY as its frontend) is not passing in any commands.
I would really appreciate some pointers on this issue. Thank you very much.
ssh -o ForwardX11=no
* rename .bash_profile * rename .bashrc-blength
, not--blength
. /etc/profile and /etc/profile.d/* are also possible ways to get terminal settings entered, as well as stty.bash_profile
but couldn't grepblength
anywhere. What is the significance of disabling X11 forwarding ?