Microsoft KB Archive/120021

{| = How to Add or Modify a terminfo Entry for a Terminal =
 * width="100%"|

ID: Q120021

The information in this article applies to:


 * Microsoft FoxPro for UNIX, version 2.6

SUMMARY
You can either modify an existing terminfo entry or create a new terminfo entry for a terminal that needs special terminfo attributes or does not have a terminfo entry.

MORE INFORMATION
To modify an existing terminfo entry, edit the .src file and then run tic on the .src file to recompile the terminfo database. For example, to modify the existing Wyse 50 entry, edit wy50.src and then use tic:

tic /usr/lib/foxpro/terminfo.src NOTE: There is no way to uncompile a terminfo entry once it has been compiled with tic. However, all terminfo entries can be browsed by using more/cat/vi on the terminfo.src file in usr/lib/terminfo. To add a new entry to the terminfo database, model the terminfo entry as shown in "termcap & terminfo," a book published specifically on terminfo and termcap (see below).