'xterm-16color': unknown terminal type ?

Hi,
Using RPI3. I get warnings when typing some shell commands from remote OSX terminal console.
For example:

root@DietPi:~# top
'xterm-16color': unknown terminal type.

OK from RPI3 LX and UX terminal.

Any fix or bash settings workaround ?
Thank’s

Hi,

Try the following to force non-xterm terminal emulation. Add to end of /root/.bashrc

export TERM=linux

Thank you.
Good fix !