VMS Help  —  RTL Routines, SMG$  SMG$INIT_TERM_TABLE
    The Initialize Terminal Table 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  terminal-name, termtable-address

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 terminal-name

    OpenVMS usage:device_name
    type:         character string
    access:       read only
    mechanism:    by descriptor

    Specifies the name of the terminal. The terminal-name argument
    is the address of a descriptor pointing to the terminal name. The
    name must be an entry in TERMTABLE.EXE.

 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 that contains the address of the terminal
    capabilities table.

    You use this address when calling the SMG$GET_TERM_DATA procedure
    for the specified type of terminal. The TERMTABLE address is also
    returned by SMG$INIT_TERM_TABLE_BY_TYPE.
Close Help