'xterm-16color': unknown terminal type ?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
volpone
Posts: 21
Joined: Fri Mar 17, 2017 1:38 pm

'xterm-16color': unknown terminal type ?

Post by volpone »

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

Code: Select all

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

OK from RPI3 LX and UX terminal.

Any fix or bash settings workaround ?
Thank's
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: 'xterm-16color': unknown terminal type ?

Post by Fourdee »

Hi,

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

Code: Select all

export TERM=linux
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
volpone
Posts: 21
Joined: Fri Mar 17, 2017 1:38 pm

Re: 'xterm-16color': unknown terminal type ?

Post by volpone »

Fourdee wrote:Hi,

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

Code: Select all

export TERM=linux
Thank you.
Good fix !
Post Reply