Using ncurses in a virtual terminal

I am new to Linux and virtual terminals, as well as to Curses, so please forgive me if this description is not clear how it could be. I am trying to use Curses on Fedora 12 to output status information to a virtual terminal (you know which terminal you can get by pressing ctrl-alt-Fx). When I run my application on one of the virtual terminals ($ TERM = linux), the lines for the fields come out as the characters "j", "q", "k" .... (and several other characters). However, when I run it in the terminal window ($ TERM = xterm), everything is displayed as it should. Can someone explain to me what I need to do to get VT output as xterm? Is there a terminal setting that I can install from my program,to make a conclusion correct? Any help would be greatly appreciated.

+5
source share

All Articles