i was one of the ncr's terminal creators-
what type of terminal do you intent to use?
4920? 4942? 7xx?
ncr has a propriatary emulation.
i would strongly suggest that you stick with some one elses terminal type, p.e. dec vt220 - 320.
make use of the termcap / terminfo tables.