How to Add or Modify a terminfo Entry for a Terminal

ID: Q120021

The information in this article applies to:

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).

REFERENCES

termcap & terminfo, published by O'Reilly & Associates, Inc., ISBN 0-937175-22-6

SCO Operating System "User's Reference"

Additional reference words: FoxUnix 2.60 add modify KBCategory: kbenv KBSubcategory:

Last Reviewed: August 28, 1995