(solved) Nano on kodi osmc

Hi

having the problem to start nano

sudo nano /etc/ssh/fstab     
Error opening terminal: screen.xterm-256color.

how to solve?
Thanks

How are you accessing the device?

via ssh

never had this

logout
'screen.xterm-256color': unknown terminal type.
Connection to 192.168.1.185 closed.
tr@T410:~$ ssh osmc@192.168.1.185

solved

user error

was in a screen session…

sorry

Even in screen nano works. Next time - before you execute nano, issue the following command:

export TERM=screen

Then it works. My screen sets the env. variable automatically when started.
Yo can also set it to: “linux” :slight_smile:

1 Like