DeviceSubTypes
Synopsis
[DeviceSubTypes] Name=n=a^b^c^d^e^f^g^h^i
Description
The [DeviceSubTypes] section of the configuration parameter file (CPF) contains an entry for each subtype configured for this installation. Each entry has a Name, as well as nine values separated by up-arrows (^) that define a device subtype. The entries are as follows
(a) RightMargin— The number that represents the location of the right margin. Device output wraps at that number of characters.
(b) FormFeed— The ASCII code that represents a form feed on the selected device in the form #,$C(code1,code2...). This setting is used by the InterSystems IRIS® data platform CHUI utilities.
(c) ScreenLength— The number of lines that comprise one screen or page for the device.
(d) Backspace— The ASCII code that represents the backspace character on the selected device in the form $C(code1). This setting is used by the InterSystems IRIS CHUI utilities.
(e) CursorControl— The ASCII code that represents the cursor on the selected device in the form $C(code1).
(f) EraseEOL— The ASCII code that represents erasing the end of line characters on this device in the form $C(code1,code2).
(g) EraseEOF— The ASCII code that represents erasing the end of file character on the selected device in the form $C(code1,code2...).
(h) ZU22FormFeed— The ASCII code that represents a form feed on the selected device in the form $C(code1,code2). This setting is used by InterSystems Terminal output.
(i) ZU22Backspace— The ASCII code that represents a backspace on the selected device in the form $C(code1). This setting is used by InterSystems Terminal output.
Default values depend on the device type.
Examples
The following is a sample [DeviceSubTypes] section. This example wraps long lines to fit them onto the viewing page. In the .cpf file itself, each entry appears all on one line:
[DeviceSubTypes] C-ANSI=80^#,$C(27,91,72,27,91,74)^25^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_"H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^$C(27,91,72,27,91,74)^$C(8,32,8) C-Terminal=80^#,$C(27,91,72,27,91,74)^24^$C(8)^W $C(27,91)_(DY+1)_";"_ (DX+1)_"H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^$C(27,91,72,27,91,74)^ $C(8,32,8) C-TV925=80^#,$C(27,44)^24^$C(8)^W $C(27,61,DY+32,DX+32) S $X=DX,$Y=DY^^^ $C(27,44)^$C(8,32,8) C-VT100=80^#,$C(27,91,72,27,91,74)^24^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_ "H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^^ C-VT101W=132^#,$C(27,91,72,27,91,74)^14^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_ "H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^^ C-VT132=132^#,$C(27,91,72,27,91,74)^24^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_ "H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^^ C-VT220=80^#,$C(27,91,72,27,91,74)^24^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_"H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^$C(27,91,72,27,91,74)^$C(8,32,8) C-VT240=80^#,$C(27,91,72,27,91,74)^24^$C(8)^W $C(27,91)_(DY+1)_";"_(DX+1)_"H" S $X=DX,$Y=DY^$C(27,91,74)^$C(27,91,75)^$C(27,91,72,27,91,74)^$C(8,32,8) C-VT52=80^#,$C(27,72)^24^$C(8)^W $C(27,89,DY+32,DX+32) S $X=DX,$Y=DY^^^^ M/UX=255^#^66^$C(8)^^^^^ MAIL=132^#^11^$C(8)^^^^^ P-DEC=132^#^66^$C(8)^^^^^ PK-DEC=150^#^66^$C(8)^^^^^ PK-QUME=150^#^66^$C(8)^^^^^
Changing This Parameter
On the Device SubTypes page of the Management Portal (System Administration > Configuration > Device Settings > Device SubTypes) is a list of existing subtypes. Select Create New Sub Type, Edit, or Delete to modify the list.