Re: minicom display problems
Miquel van Smoorenburg wrote:
In article <[🔎] 432A2BB4.email@example.com>,
Marty <firstname.lastname@example.org> wrote:
Is there any way to get minicom to properly display the color graphics
of an ncurses app like iptraf? I am using the multi GNOME terminal as my
X terminal, but xterm seems to have the same problems.
So far I've tried:
-setting the minicom terminal type to ANSI
-setting the remote shell TERM type to xterm (it starts up as VT100)
-turning the minicom color on using the "-c on" option
minicom -c on should start minicom in color. If ctrla-z shows the
command summary in color, minicom supports color.
Then you need the right terminal type on the remote system to
tell its apps to use ansi-color. Try TERM=xterm-color or TERM=linux
Thanks. Now I have color. The ncurses border line graphics are still
not rendered correctly, however.
So you have to change that manually. Use "stty rows 40 columns 120"
on the remote system, or run "resize" if that command is installed.
(See "man stty", "man resize").
These both work too. Thanks again.
[I notice that resize on my Linux box doesn't set the tty properties
but prints out COLUMNS= / LINES= .. how 1980's ..]
I mercifully forgot everything I knew about terminals in the '80s,
But now I am puzzled by two purely theoretical questions:
1) why don't LINE and COLUMN get listed when I run "printenv"?
2) How does "resize" retrieve the TTY properties via minicom, and why
can't the remote shell automatically do likewise?