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