I'm working with a derivative of Debian Buster called Armbian. It is a distribution for ARM-based devices and I am using it with a Nanopi Neo Air.
Armbian has full screen curses-based TUI apps. When I connect to this device through SSH (and Minicom) and run these apps, such as armbian-config
, is shows up properly:
When I connect using screen
(GNU screen 4.7) via the serial console, and have TERM
set to anything such as screen
, screen-256color
, linux
, etc. I still properly get ANSI colours on the command line:
But, when I run these curses-based TUI apps, I get garbled screens:
It doesn't make any difference what value I set TERM
to. The terminal also becomes non-responsive and I have to reset the device to get it working again.
As some additional information, programs like VIM work just fine. So, I'm very confused.
What could be the reason for this? How could I fix this?
TERM
(since screen only works with certain terminal descriptions). TheTERM
outside screen is probably "linux" (and changing that also would confuse screen). dialog doesn't use 256 colors anyway.