12.12.2012 Views

MTS Volume 4 - Terminals and Networks (3278)

MTS Volume 4 - Terminals and Networks (3278)

MTS Volume 4 - Terminals and Networks (3278)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MTS</strong> 4: <strong>Terminals</strong> <strong>and</strong> <strong>Networks</strong> in <strong>MTS</strong><br />

Comm<strong>and</strong>: DEFINE __ n=string<br />

DEFINE ______<br />

where "n" is an integer from 0 to 31.<br />

July 1988<br />

Purpose: Define functions may be used to enter a single character<br />

or a sequence of characters into the input area. By<br />

default, the single characters that are inscribed on the<br />

numeric pad keys are assigned to Define Functions 0<br />

through 25. These default assignments are detailed in<br />

the section "The Numeric Pad." Define Functions 26<br />

through 31 do not have default assignments.<br />

The %FUNCTION device comm<strong>and</strong> may be used to a assign<br />

define function to any key on the Ontel keyboard. By<br />

default, Define Functions 0 through 25 are assigned to<br />

the numeric pad keys as outlined in the section "The<br />

Numeric Pad" <strong>and</strong> are invoked when the %PAD=DEFINE device<br />

comm<strong>and</strong> is in effect. Define Functions 26 through 31 are<br />

not assigned to any keys. The use of the %FUNCTION<br />

comm<strong>and</strong> is described in the section "The FUNCTION Device<br />

Comm<strong>and</strong>."<br />

For example, if the %FUNCTION comm<strong>and</strong> were used to assign<br />

Define Function 26 to the CTRL-8 key <strong>and</strong> the string<br />

"copy" was assigned to Define Function 26 as follows:<br />

%DEFINE 26=copy<br />

then pressing the CTRL-8 key would be exactly equivalent<br />

to typing the four keys c, o, p, <strong>and</strong> y in succession. If<br />

CAPS LOCK is on, "COPY" is entered; if INSERT mode in on,<br />

"copy" is inserted.<br />

The storage available for all 32 replacement strings is<br />

limited to a total of 255 characters. If a DEFINE<br />

comm<strong>and</strong> that would cause the maximum to be exceeded is<br />

entered, it will be ignored, <strong>and</strong> no __ error message will be<br />

given.<br />

Examples: %DEFINE 0=$RUN PROGRAM SCARDS=<br />

%DEF 10=CANCEL<br />

%DEF 31=COPY *PRINT*<br />

38 The Ontel Display Terminal: Appendix A

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!