xref: /onnv-gate/usr/src/cmd/terminfo/header (revision 0:68f95e015346)
1#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.5	*/
2#
3# CDDL HEADER START
4#
5# The contents of this file are subject to the terms of the
6# Common Development and Distribution License, Version 1.0 only
7# (the "License").  You may not use this file except in compliance
8# with the License.
9#
10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11# or http://www.opensolaris.org/os/licensing.
12# See the License for the specific language governing permissions
13# and limitations under the License.
14#
15# When distributing Covered Code, include this CDDL HEADER in each
16# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17# If applicable, add the following below this CDDL HEADER, with the
18# fields enclosed by brackets "[]" replaced with your own identifying
19# information: Portions Copyright [yyyy] [name of copyright owner]
20#
21# CDDL HEADER END
22#
23# ------------------------
24#
25# This file describes capabilities of various terminals, as needed by
26# software such as screen editors.  It does not attempt to describe
27# printing terminals very well, nor graphics terminals.  Someday.
28# See terminfo(5) in the Unix Programmers Manual for documentation.
29#
30# Conventions: First entry is two chars, first char is manufacturer,
31# second char is canonical name for model or mode.
32# Third entry is the one the editor will print with "set" command.
33# Last entry is verbose description.
34# Others are mnemonic synonyms for the terminal.
35#
36# Terminal naming conventions:
37# Terminal names look like <manufacturer> <model> - <modes/options>
38# Certain abbreviations (e.g. c100 for concept100) are also allowed
39# for upward compatibility.  The part to the left of the dash, if a
40# dash is present, describes the particular hardware of the terminal.
41# The part to the right can be used for flags indicating special ROM's,
42# extra memory, particular terminal modes, or user preferences.
43# All names are always in lower case, for consistency in typing.
44# Because of file naming restrictions, terminal names should not contain
45# period or slash, in fact, entirely alphanumeric characters plus dash are
46# highly recommended.  These restrictions do not apply to the verbose name.
47#
48# The following are conventionally used flags:
49#	rv	Terminal in reverse video mode (black on white)
50#	2p	Has two pages of memory.  Likewise 4p, 8p, etc.
51#	w	Wide - in 132 column mode.
52#	pp	Has a printer port which is used.
53#	na	No arrow keys - terminfo ignores arrow keys which are
54#		actually there on the terminal, so the user can use
55#		the arrow keys locally.
56#	#	The number of lines on the screen.
57#	s	With a status line.
58#
59# There are some cases where the same name is used for two different
60# terminals, e.g. "teleray" or "2621" or "vt100".  In these cases,
61# if a site has one of these, they should choose a local default and
62# bring that terminal to the front in the reorder script.  This works
63# because setupterm() picks the first match in /usr/share/lib/terminfo/*/*.
64#
65# If you absolutely MUST check for a specific terminal (this is discouraged)
66# check for the 1st entry (the canonical form) since all other codes are
67# subject to change.  We would much rather put in special capabilities to
68# describe your terminal rather than having you key on the name.
69