Virtual Key Names
464
TeemTalk Virtual Key Name Functions
Reading Text From
a File or Device
The following command format is used to read a string from a file or
device (e.g. COM1) and push it into the keyboard buffer as if typed.
This can be used, for example, to trigger a bar code reader, read back
the code and enter it as if typed at the keyboard.
<VK_FILE_I><name>max length,retries,termination
char<VK_FEND>
where:
name
is either the name of the file or the name of the device to be
read from.
max length
specifies the maximum number of characters to be
read before terminating. Entering
0
will give a default of 512 char-
acters.
retries
specifies the number of 100ms retries before terminating.
Entering
0
or 999 is taken as no time out (wait forever). A negative
value prevents keyboard intervention and the value is made positive.
termination char
is the decimal value of the ASCII character
used to terminate the command. Entering
0
will give a default of 26
(EOF).
A read can be terminated by the following four conditions:
•
the maximum number of characters being read,
•
the termination character being read (this is inhibited by a
0
value),
•
the number of specified retries has been reached (this is inhibited
by a
0
or
999
value),
•
the user presses a key (this is inhibited by a negative timeout).
For example, the following command will read up to 20 characters,
end at the first CR (carriage return) character, never timeout but
allow a key press to cancel the read:
<VK_FILE_I><com1:>20,0,13<VK_FEND>
Содержание t5730 - Thin Client
Страница 1: ...TeemTalk 6 0 for Windows USER MANUAL...
Страница 22: ...Table of Contents xxii...
Страница 28: ...Introduction 6 Getting More Information...
Страница 42: ...Getting Started 20 Session Management...
Страница 110: ...Host Connection Settings 88 SSH Connection Settings...
Страница 120: ...Keyboard Configuration 98 Compose Character Sequences...
Страница 298: ...DG 410 412 Emulation 276 Key Codes C2 93 89 C3 94 90 C4 95 91 UP 23 DOWN 26 LEFT 25 RIGHT 24 HOME 8 PRINT 17 1...
Страница 336: ...IBM 3270 Emulation 314 Notice Board Facility...
Страница 360: ...IBM 3151 Emulation 338 Defining Function Keys...
Страница 364: ...MDIS Prism Emulations 342 Keyboard Mapping...
Страница 374: ...PT250 Emulation 352 Displaying Alternate Characters...
Страница 378: ...Siemens 97801 Emulation 356 Keyboard Mapping...
Страница 386: ...TA6530 Emulation 364 The Status Line...
Страница 392: ...Unisys T27 Emulation 370 Keyboard Mapping...
Страница 396: ...Viewdata Emulation 374 Keyboard Mapping...
Страница 468: ...Initialization Commands 446 Keyboard Mouse...
Страница 472: ...Programming Keys Buttons 450 Including Special Characters...
Страница 496: ...Product Specification 474 Wyse 50 50 TVI 910 925 950 ADDS A2 HZ 1500 Wyse PC Term...
Страница 506: ...Index 484...