Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 5.4.1 How do I define a new terminal type?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Business Photos and Profiles ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.4 Display
Next Document: 5.4.2 How can I change the video mode on my workstation?
See reader questions & answers on this topic! - Help others by sharing your knowledge

In HP-UX 10.0 and later, the terminfo database
(/usr/share/lib/terminfo/?/*) is designed to take the place of the
termcap database (/usr/share/lib/termcap).  However, because of the many
programs that have been written with and for the termcap database, the
termcap database is still included with HP-UX.  All additions and
modifications to either of these databases should be done with extreme
caution.  These files are critical to the proper operation of your
terminal.

NOTE: The terminfo database contains printer definitions, in addition to
      terminal definitions.

To convert one or more termcap entries to terminfo source format, use the
captoinfo(1M) command:

  $ captoinfo termcap_entry.txt >terminfo_entry.txt

To compile a terminfo source file, and add the compiled entry to the
terminfo database, use the tic(1M) command:

  # tic terminfo_entry.txt

If you must have both termcap and terminfo terminal descriptions, keep the
terminfo description only, and use infocmp -C to get the termcap
descriptions.  This is recommended because the terminfo entry will be more
complete, descriptive, and accurate than the termcap entry possibly could
be.

If you have been using cursor optimization programs with the -ltermcap or
-ltermlib option in the cc command-line,,,,,,,,         those programs
will still be
functional. However, these options should be replaced with the -lcurses
option.

Richard S. Shuford maintains an archive of video terminal information.
The archive is a collection of information concerning character-cell
video-display terminals, serial-line remote-graphics terminals, and
software that emulates them.  The URL is:

  o <http://www.cs.utk.edu/~shuford/terminal_index.html>

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.4 Display
Next Document: 5.4.2 How can I change the video mode on my workstation?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM