Specifications

DDE reference
186
Glink: API reference manual Gallagher & Robertson
Pokable items
The following POKE commands are accepted by the Glink DDE:
KeyPut Feeds keystrokes to the emulator as though they were entered from
the keyboard. This command may not be used to enter data into
dialog boxes, only into the main emulator window. The format is
also in the 'old' style where you may enter ASCII codes and/or
scan codes. Each keystroke must be separated by a space, comma
or semicolon. If you wish to enter a scancode as well as an ASCII
code you should use the format 'scancode:ascii' or 'scancode/ascii'.
The format 'scancode/' with no ASCII code may be used to enter a
scancode with no accompanying ASCII code. Both the scancode
and the ASCII code may be entered in any of the following for-
mats:
#n (decimal number)
$n (hexadecimal number)
^x (control character)
x (single ASCII character)
For example, to enter 'AT' plus a carriage return you could use
KeyPut with 'A T ^M'. Or to enter the function key F1 you
could use '#58/' (58 is the decimal value of the scancode for
the F1 key).
LinBrk Sends a break on the communications interface.
LinCon Initiates a connection using the current interface. The data accom-
panying the command specifies the host name. If there is a
currently active connection then this will be terminated first.
LinDis Disconnects the current communications interface.
LinPrg Purges the communications read buffer, discarding any characters
that may have been received.