The stty line discipline is not supported by all drivers and in fact very, very seldom requires any changes. You could try a small c program using the termio or termios calls but I rather doubt that that is your problem. Man 7 termio for details.
Your problem sounds much more like improper TERM settings. As Bill said, the programmers should consult the curses manual. This is really state of the art early 1980's stuff. Curses hides all the details about how to position
the
cursor, clear the screen, reverse video, color, how linefeeds and CR's are handled (on input and output), ... from the application.
If it ain't broke, I can fix that.