This page is a part of ProNFS online Help Manual.
|< previous | content | next >|
terminfo.ini is the ASCII file that describes the emulation capabilities of terminals. The description is very similar to the TERMINFO source code of UNIX system.
The file consists of terminal sections. Each section begins with a header string - a logical terminal name enclosed in brackets. The name is used to select the terminal type in the Telnet Options/Settings/Type tab.
The section header is followed by a set of entry records that describes the emulation capabilities of the terminal. Each record consists of a capability keyword, a '=' separator, and one or more capability values separated by a ',' delimiter. White spaces are ignored after the ',' separator as well as after the last value.
Any line may contain a comment. A comment begins with a ';' character on a line and lasts to the end of the current line.
Normally there may be several groups of records in each terminal section:
Examples for VT240:
XK_Home=155,72 / 155,50,126 ; CSI H / CSI 2 ~
XK_KP_Home=155,72/143,119 ; CSI H / SS3 w
XK_KP_Space=/143,117 ; / SS3 u
Alt-F10=PRINT ; five characters
Shift-F1=0x1bOp ; one hex code 0x1b with two characters O and p
You can set up terminal capabilities by records with the following keywords and values:
The record specifies a number of lines on a screen of a terminal.
The record specifies a number of characters in a line.
The record specifies the maximum number of colors on the screen.
The record specifies the palette description for colors to be used for color terminals instead of default colors of MS Windows. Each color number (beginning at 0 to Colors-1) is represented by R, G and B - the relative intensities for red, green, and blue primaries (each in the range of 0...255 decimal) to be used for a certain color. The RGB values indicate normal locations in color space. The primaries in a triple are '.' separated while triples are separated by a ',' delimiter.
The terminal can (UseCSI=1) or cannot (UseCSI=0) use 8-bit control sequences.
The record defines to use the terminal or application mode for arrows keys instead of ANSI mode (as default).
The terminal can (Use2W=1) or cannot (Use2W=0) use characters with double width. (See the control sequence Esc#6 for DEC terminals.)
The terminal can (Use2HW=1) or cannot (Use2HW=0) use characters with double height and width. (See control sequences Esc#3 and Esc#4 for DEC terminals.)
The terminal can use the 8-space default tab stops (in case the TabSet record below does not exist).
The record defines the horizontal tabulation stop set that will be used as the default tabulation set for the terminal. Decimal numbers separated by a ',' delimiter (n1,n2,...) are column numbers for horizontal tab stops. No values means the tabulation set is empty.
The records define re-mapping tables for the main character set (MG0) and for the alternate character set (MG1). Each table consists of code pairs separated by a ',' delimiter. A code pair has an input code (to be remapped), a '.' sign, and an output code from the character set used to display characters. The codes must be a hex number. Tables may continue onto multiple lines. The 'i' suffix in the keywords (MG0i or MG1i) shows the value for 'line number - 1'.
|< previous | content | next >|
|Copyright © 1999 - 2009 LabtamTM Inc.|