How to Add or Modify a terminfo Entry for a Terminal

Last reviewed: August 28, 1995
Article 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).

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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.