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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

July 1988<br />

where "n" is an integer from 0 to 8, <strong>and</strong> "string" may be any string of<br />

characters. For example, the following sequence of device comm<strong>and</strong>s will<br />

reconfigure the shifted program functions keys to transmit different<br />

device comm<strong>and</strong>s, <strong>MTS</strong> comm<strong>and</strong>s, <strong>and</strong> other replies to the system:<br />

%PFB0=%PAGE<br />

%PFB1=%LINE<br />

%PFB2=%ROLL<br />

%PFB3=%PF?<br />

%PFB4=$RUN *FORUM<br />

%PFB5=$MESS RETRIEVE NEW HEADER<br />

%PFB6=$CONTROL *PRINT* PRINTER=PAGE<br />

%PFB7=$RELEASE *PRINT*<br />

%PFB8=CANCEL<br />

Note that if the program-function string is to be used as a device<br />

comm<strong>and</strong>, that string must always be specified with an initial percent<br />

sign (%), even when the device-comm<strong>and</strong> character has been changed.<br />

The %PF? device comm<strong>and</strong> may be used to display the current status of<br />

all the program function strings.<br />

Note that whenever a program function key is pressed, if the string<br />

associated with that key is a valid nontransmitted device comm<strong>and</strong>, the<br />

line at which the cursor is positioned <strong>and</strong> the lateral position of the<br />

cursor are saved; that is, the line, including any undisplayed parts, is<br />

moved to the input area after the comm<strong>and</strong> is processed. If the cursor<br />

is in the input area when the PF key is pressed, the contents of the<br />

input area will remain unchanged. The cursor is also positioned so that<br />

its relative ________ lateral position remains unchanged.<br />

The ___________________________<br />

FUNCTION Device Comm<strong>and</strong><br />

Each key on the Ontel keyboard has a function code associated with<br />

it. When the key is pressed, the function code causes one of the<br />

following operations to occur:<br />

(1) A character or sequence of characters is inserted into the input<br />

area (e.g., pressing the SHIFT-A key inserts the character A<br />

into the input area).<br />

(2) A line-editing or terminal operation is performed (e.g., pressing<br />

the DELETE key deletes the character pointed to by the<br />

cursor <strong>and</strong> pressing the ATTN key generates an attention<br />

interrupt).<br />

(3) A character or sequence of characters is transmitted to the<br />

system (e.g., pressing the PF7 key transmits (by default) the<br />

%BLANK device comm<strong>and</strong> to the system).<br />

The %FUNCTION device comm<strong>and</strong> may be used to change the function code<br />

that is assigned to each key by default, thus allowing the user to<br />

26 The Ontel Display Terminal

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

Saved successfully!

Ooh no, something went wrong!