Hello:
I am maintaining some software which was written in C using the “term_”
functions to control a TERM=qnx display. When the terminal type is QNX, then
the display and keyboard are interpreted correctly. If I change the terminal
type to ANSI, however, all the formatting is wrong and it doesn’t interpret
the arrow and function keys properly. In order to get these utilities to
work with ANSI terminals, what has to change (besides the “TERM=qansi”
environment variable)? Or is term_* incompatible with ANSI terminals?
P.S. I tried to find some information on the term_* functions but there is
no documentation on the QNX web site or manuals about them. I should
probably rewrite everything to use ncurses but I don’t have the time so I
would really like to use the term_* functions as is. If there is absolutely
no way to make ANSI terminals work with the term_* functions then I guess I
will have to rewrite all my utilities using ncurses.
Lloyd Elwood, P. Eng.