MTS Volume 4 - Terminals and Networks (3278)
MTS Volume 4 - Terminals and Networks (3278)
MTS Volume 4 - Terminals and Networks (3278)
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 31. Only the first 25 define<br />
functions have default values (the values that correspond to the numeric<br />
pad); the Define Functions 26 through 31 are undefined initially. The<br />
following example illustrates how the numeric pad may be reconfigured:<br />
%DEFINE 7=$RUN *PAGEPR SCARDS= PAR=PORTRAIT<br />
%DEFINE 8=$RUN *PAGEPR SCARDS= PAR=LANDSCAPE<br />
%DEFINE 9=$RELEASE *PRINT*<br />
%DEFINE 4=$COPY *PRINT*<br />
%DEFINE 5=$LIST *PRINT*<br />
%DEFINE 6=$DISPLAY RECEIPTS<br />
%DEFINE 1=$DISPLAY *PRINT*<br />
%DEFINE 2=$CONTROL *PRINT* ROUTE=UNYN<br />
%DEFINE 3=$CONTROL *PRINT* ROUTE=NUBS<br />
%DEFINE 0=$MESSAGE RETREIVE NEW HEADER<br />
%DEFINE 20=$EDIT<br />
%DEFINE 21=$SY Q<br />
%DEFINE 22=$DISPLAY TIMESPELLEDOUT<br />
%PAD=DEFINE<br />
This device-comm<strong>and</strong> sequence reconfigures the unshifted numeric pad to<br />
insert <strong>MTS</strong> comm<strong>and</strong>s into the input area. The shifted numeric pad is<br />
unchanged <strong>and</strong> hence may be used for normal numeric calculations. By<br />
placing this device-comm<strong>and</strong> sequence into a sigfile, a user may<br />
reconfigure the terminal for every session. The %PAD=NUMERIC comm<strong>and</strong><br />
may be given subsequently to restore the numeric pad for numeric use.<br />
The %DEF? comm<strong>and</strong> may be used to display the current definitions of the<br />
define functions.<br />
In PF-key mode, the keys may be redefined to transmit different<br />
characters or sequences of characters to the system. Note that this<br />
differs from define mode where the characters are only entered into the<br />
input area instead of being transmitted directly to the system. Each<br />
key has a program _______ function ________ associated with it. There are 32 program<br />
functions available, labelled PFA0 through PFA15 <strong>and</strong> PFB0 through PFB15.<br />
By default, the program functions for the numeric pad are organized in<br />
the following format:<br />
┌───────────────────────────────┐ ┌ ┌ ┌ ┌───────────────────────────────┐<br />
┌ ┌ ┌<br />
| PFA13 | PFA14 | PFA15 | | | PFA1 | PFA2 | PFA3 | |<br />
|───────┼───────┼───────| ┌ ┘ | |───────┼───────┼───────| ┌ ┘ |<br />
| PFB0 | PFB1 | PFB2 | PFA0 | | PFA4 | PFA5 | PFA6 | PFA0 |<br />
|───────┼───────┼───────┼───────| ┌ ┘ |───────┼───────┼───────┼───────|<br />
┌ ┘<br />
| PFB3 | PFB4 | PFB5 | | | PFA7 | PFA8 | PFA9 | |<br />
|───────────────┼───────| ┌ ┘ ┘ | |───────────────┼───────| ┌ ┘ ┘ |<br />
| PFB6 | PFB7 | PFB8 | | PFA10 | PFA11 | PFA12 |<br />
└───────────────────────────────┘ ┘ ┘ └───────────────────────────────┘ ┘ ┘<br />
Unshifted Shifted<br />
This particular arrangement of program functions was chosen so that the<br />
numeric pad could be used to simulate the program function pad of an IBM<br />
<strong>3278</strong> Display Station when used in visual mode with the <strong>MTS</strong> file editor<br />
(see <strong>MTS</strong> <strong>Volume</strong> 18, The ___________________ <strong>MTS</strong> File Editor, for further details). Some of<br />
30 The Ontel Display Terminal