Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

ENS^%ZISS: Set Up Screen Handling Variables

Reference Type: Supported, Category: Device Handler, ICR#: 10088

Description

The ENS^%ZISS API is used for screen management. It sets up screen handling variables and other terminal type attributes.

Format

  ENS^%ZISS

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Input Variables

IOST(0):

(required) Internal entry number of the selected device's subtype as recorded in the TERMINAL TYPE (#3.2) file.

%ZIS:

(optional) If you define %ZIS = "I", the output array IOIS (mapping escape codes sent by input keys to input keys) is created.

REF: For a description of the IOIS nodes created, see the "Output Variables" section.

Output Variables

NOTE: Not all characteristics are possible on all terminal types for all output variables. The IOEFLD and IOSTBM variables are used with indirection. Also, IOSTBM requires the setting of IOTM and IOBM as input variables for the top and bottom margins.

IOARM0:

Auto repeat mode off.

IOARM1:

Auto repeat mode on.

IOAWM0:

Auto wrap mode off.

IOAWM1:

Auto wrap mode on.

IOBOFF:

Blink off.

IOBON:

Blink on.

IOCOMMA:

Keypad's comma.

IOCUB:

Cursor backward.

IOCUD:

Cursor down.

IOCUF:

Cursor forward.

IOCUON:

Cursor on.

IOCUOFF:

Cursor off.

IOCUU:

Cursor up.

IODCH:

Delete character.

IODHLB:

Double-high/wide bottom.

IODHLT:

Double-high/wide top.

IODL:

Delete line.

IODWL:

Doublewide length.

IOECH:

Erase character.

IOEDALL:

Erase in display entire page.

IOEDBOP:

Erase in display from beginning of page to cursor.

IOEDEOP:

Erase in display from cursor to end of page.

IOEFLD:

Erase field (*use through indirection, such as, W @IOEFLD).

IOELALL:

Erase in line entire line.

IOELBOL:

Erase in line from beginning of line to cursor.

IOELEOL:

Erase in line from cursor to end of line.

IOENTER:

Keypad's Enter.

IOFIND:

Find key.

IOHDWN:

Half down.

IOHOME:

Home cursor.

IOHTS:

Horizontal tab set.

IOHUP:

Half up.

IOICH:

Insert character.

IOIL:

Insert line.

IOIND:

Index.

IOINHI:

High intensity.

IOINLOW:

Low intensity.

IOINORM:

Normal intensity.

IOINSERT:

Insert key.

IOKP0:

Keypad 0.

IOKP1:

Keypad 1.

IOKP2:

Keypad 2.

IOKP3:

Keypad 3.

IOKP4:

Keypad 4.

IOKP5:

Keypad 5.

IOKP6:

Keypad 6.

IOKP7:

Keypad 7.

IOKP8:

Keypad 8.

IOKP9:

Keypad 9.

IOIRM0:

Replace mode.

IOIRM1:

Insert mode.

IOKPAM:

Keypad application mode on.

IOKPNM:

Keypad numeric mode on.

IOMC:

Print screen.

IOMINUS:

Keypad's minus.

IONEL:

Next line.

IONEXTSC:

Next screen.

IOPERIOD:

Keypad's period.

IOPF1:

Function key 1.

IOPF2:

Function key 2.

IOPF3:

Function key 3.

IOPF4:

Function key 4.

IOPREVSC:

Previous screen.

IOPROP:

Proportional spacing.

IOPTCH10:

10 Pitch.

IOPTCH12:

12 Pitch.

IOPTCH16:

16 Pitch.

IORC:

Restore cursor.

IOREMOVE:

Keypad's Remove.

IORESET:

Reset.

IORI:

Reverse index.

IORLF:

Reverse line feed.

IORVOFF:

Reverse video off.

IORVON:

Reverse video on.

IOSC:

Save cursor.

IOSGR0:

Turn off select graphic rendition attributes.

IOSELECT:

Keypad's Select.

IOSTBM:

Set top and bottom margins (*use through indirection, such as, W @IOSTBM; IOTM and IOBM must be defined as the top and bottom margins.)

IOSWL:

Singlewide length.

IOTBC:

Tab clear.

IOTBCALL:

Clear all tabs.

IOUOFF:

Underline off.

IOUON:

Underline on.

IOIS:

This array is created as follows:

  IOIS(escape_code)=KEYNAME

Where escape_code is the escape code generated by pressing the key KEYNAME on the selected terminal, and KEYNAME can be one of the following:

  • COMMA
  • DO
  • ENTER
  • FIND
  • HELP
  • INSERT
  • IOCUB
  • IOCUD
  • IOCUF
  • IOCUU
  • KP0
  • KP1
  • KP2
  • KP3
  • KP4
  • KP5
  • KP6
  • KP7
  • KP8
  • KP9
  • MINUS
  • NEXTSCRN
  • PERIOD
  • PF1
  • PF2
  • PF3
  • PF4
  • PREVSCRN
  • REMOVE
  • SELECT