[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-ncurses] Probably a bug in ncurses or something users should kn
Dr. Werner Fink
Re: [bug-ncurses] Probably a bug in ncurses or something users should know
Tue, 24 Sep 2019 08:44:21 +0200
On 2019/09/23 08:40:16 +0200, Jérémie Lefrancois wrote:
> Ok, I had read that one already and... I did not understand it all !
> However I had tried all possible export TERM=xxx with xxx in the list of
> possible tems (ansi, linux etc...) and this did not improve anything.
> Logical since the article seems to say you must set TERM to the actual
> terminal you are using.
> The only change I noticed is that some terminals do not allow you to erase
> the cursor - so I removed the setcursor(0) for the test.
> => I suppose that if lubuntu is delivered with TERM=xterm-256color it is
> the proper one.
> Also note that on the other PC where all is fine (ubuntu) the same
> defineition applies - TERM=xterm-256color.
> So I am still in the dark here :-)
Setting TERM=xxx does not reprogram a terminal nor a terminal emulator,
it only helps (n)curses based programs via terminfo description or termcap
based programs to interpret the escape sequences read from a terminal
respec. to known which escape sequences should be used to control the
terminals behaviour and appearance.
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
Description: PGP signature