HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Appendix A I/O Function Codes

A.5 Terminal Driver

This section lists the function codes and function modifiers for the terminal driver.

FunctionsArgumentsModifiers

IO$_READVBLK IO$_READLBLK IO$_READPROMPT

P1 — buffer address

P2 — buffer size

P3 — timeout

P4 — read terminator block address

P5 — prompt string buffer address

P6 — prompt string buffer size[25]

IO$M_NOECHO

IO$M_CVTLOW

IO$M_NOFILTR

IO$M_TIMED IO$M_PURGE IO$M_DSABLMBX IO$M_TRMNOECHO

IO$M_ESCAPE

IO$_READVBLK

P1 — buffer address

P2 — buffer size

P3 — access mode to probe itemlist

P4 — (zero)

P5 — itemlist buffer address

P6 — itemlist buffer size

IO$M_EXTEND[26]

IO$_WRITEVBLK IO$_WRITELBLK IO$_WRITEPBLK

P1 — buffer address

P2 — buffer size

P3 — (ignored)

P4 — carriage control specifier[27]

IO$M_CANCTRLO IO$M_ENABLMBX IO$M_NOFORMAT

IO$M_REFRESH IO$M_BREAKTHRU

IO$_SETMODE IO$_SETCHAR

P1 — characteristics buffer address

P2 — characteristics buffer size

P3 — speed specifier

P4 — fill specifier

P5 — parity flags

 

IO$_SETMODE IO$_SETCHAR

None

IO$M_HANGUP

IO$_SETMODE

P1 — buffer address

P2 — buffer size

IO$M_BRDCST

IO$_SETMODE IO$_SETCHAR

P1 — AST service routine address

P2 — AST parameter

P3 — access mode to deliver AST

IO$M_CTRLCAST

IO$M_CTRLYAST

IO$_SETMODE IO$_SETCHAR

P1 — AST service routine address

P2 — character mask address

P3 — access mode to deliver AST

IO$M_OUTBAND

IO$M_TT_ABORT[28]

IO$M_INCLUDE

IO$_SETMODE IO$_SETCHAR

P1 — address of control signals

IO$M_SET_MODEM[29]

IO$M_MAINT

IO$_SETMODE IO$_SETCHAR

None

IO$M_LOOP[29]

IO$M_UNLOOP[29]

IO$M_MAINT

IO$_TTY_PORT

 

IO$M_LT_CONNECT IO$M_LT_DISCON

IO$_TTY_PORT

P1 — itemlist address[30]

P2 — queued status

IO$M_LT_MAP_PORT

IO$_TTY_PORT

P1 — service name descriptor address

P2 — service rating

IO$M_LT_RATING

IO$_TTY_PORT

P1 — itemlist address

P2 — itemlist length

P3 — entity type

P4 — entity string descriptor

IO$M_LT_SENSEMODE

IO$_TTY_PORT

P1 — itemlist address

P2 — itemlist length

P3 — entity type

P4 — entity string descriptor

IO$M_LT_SETMODE

IO$_SENSEMODE IO$_SENSECHAR

P1 — characteristics buffer address

P2 — characteristics buffer size

IO$M_TYPEAHDCNT

IO$_SENSEMODE IO$_SENSECHAR

P1 — address of input modem signal block

IO$M_RD_MODEM

IO$_SENSEMODE

P1 — buffer address

P2 — buffer size

IO$M_BRDCST

[25] Only for IO$_READPROMPT

[26] Only for itemlist read function. Do not specify with other modifiers.

[27] Only for IO$_WRITEBLK and IO$_WRITEVBLK

[28] Only with IO$M_OUTBAND

[29] Only with IO$M_MAINT

[30] Itemlist: IO$V_LT_MAP_NODENAM, IO$V_LT_MAP_PORNAM, IO$V_LT_MAP_SRVNAM, IO$V_LT_MAP_LNKNAM, and IO$V_LT_MAP_NETADR.

QIO Status Returns

SS$_ABORT

SS$_BADESCAPE

SS$_BADPARAM

SS$_CANCEL

SS$_CHANINTLK

SS$_CONTROLC

SS$_CONTROLO

SS$_CONTROLY

SS$_DATAOVERUN

SS$_INCOMPAT

SS$_NORMAL

SS$_PARITY

SS$_PARTESCAPE

SS$_TIMEOUT