The Initialize TERMTABLE by OpenVMS Terminal Type routine initializes the TERMTABLE database for the terminal named, so that subsequent calls to SMG$GET_TERM_DATA can extract information and command strings for that terminal. Format SMG$INIT_TERM_TABLE_BY_TYPE terminal-type ,termtable-address [,terminal-name]
1 – Returns
OpenVMS usage:cond_value type: longword (unsigned) access: write only mechanism: by value
2 – Arguments
terminal-type OpenVMS usage:byte_signed type: byte (signed) access: read only mechanism: by reference The device type of the terminal, as designated by an OpenVMS symbolic terminal type or by another value returned by the $GETDVI system service. The terminal-type argument is the address of a signed byte that contains the terminal type. termtable-address OpenVMS usage:address type: longword (unsigned) access: write only mechanism: by reference Address of the entry for a particular type of terminal in TERMTABLE.EXE. The termtable-address argument is the address of an unsigned longword into which is written the address of a terminal entry. Use this address when calling the SMG$GET_TERM_DATA procedure for the specified type of terminal. terminal-name OpenVMS usage:device_name type: character string access: write only mechanism: by descriptor A string into which is written the terminal name associated with the device type. The terminal-name argument is the address of a descriptor pointing to the string into which the terminal name is written.