DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c92291332⟧ TextFile

    Length: 36687 (0x8f4f)
    Types: TextFile
    Notes: UNIX file
    Names: »uniplex.cmd«

Derivation

└─⟦bee8f15db⟧ Bits:30004169/disk2.imd Uniplex II+ V.6 release 1.0 (dansk)
└─⟦bee8f15db⟧ UNIX Filesystem
    └─⟦this⟧ »up/new/usr/UAP/uniplex.cmd« 

TextFile

V.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T.......T....H..
.SL59
.BM4

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
UNIPLEX version : 6.00                              File : uniplex.cmd
Last updated    : 18 February 1988                  Page : #
.TM3
UNIPLEX.CMD                                             Change history
=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

******
*       MODS 25-8/05/87 : Marked with '###' in comments.
*       MODS 06/08/87   : Marked with '$$$' in comments.
*       MODE 17/08/87   : Marked with '&&&' in comments.
*       MODS 27/08/87   : &-'K'-'I' and &-'Y'-'D' added.
*       MODS 23/11/87   : Map for tilde added (avoids conflict with hard ret.)
*       MODS 04/05/88   : AGJ
******

******
*
*            04/05/88   : Danish command set defined.
*                         RC terminals and keyboards included.
*                         Character mapping for IBM PC850 charset included.
*                         AGJ / RC
******

*  Supports:
*     o "Tapes" record & playback
*     o Window & process switching
*     o Generic key matching
*     o Soft Function Keys
*     o Multiple Terminals
*     o Multiple Printers
*     o Pop-up Menus
*     o Extended printing
*     o Business Graphics
*     o Hi-resolution Graphics
*
* Documentation notes/pleas:-
*
* 1.  Keep this document tidy.  The fact that V6 supports embedding of
*     dot commands in this file means that you should maintain this
*     file in such a way that it can be neatly printed off as an
*     extension to standard documentation.
*
* 2.  Please document any changes to this on standard BUGFIX &
*     ENHANCEMENT REPORT form
*     Also, mark them up in this file, following current MOD marker
*     technique.
*
* 3.  This document is Designed to print correctly on HP laserjet with
*     5 character offset
*
*     Page length and width are deliberately short to avoid right
*     margin truncation by the Laserjet, and unwanted formfeeds, when
*     printing RE on US Quarto paper.
*
* 4.  Please keep the COMMANDS2 sections in alphabetical tty order.


.FS
.TM3
UNIPLEX.CMD                          COMMANDS - master keystroke list
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

#COMMANDS
                * CURSOR MOVES
F011=13         * Carriage Return
f012=L          * Cursor Left
f013=R          * Cursor Right
f014=U          * Cursor Up
f015=D          * Cursor Down
F093=8          * Control H = Backspace
f016=T          * Tab
F017=26         * CTL Z Previous Word
F018=24         * CTL X Next Word
F019=25         * CTL Y Scroll Line Up
F020=22         * CTL V Scroll Line Down
                * ### WARNING: F20 = ^V, may conflict with cursor keys
f021=&-L        * Beginning Of Text Line
f022=&-R        * End Of Text Line
f023=&-U        * Top Of Screen
f024=&-D        * Bottom Of Screen
F025=21         * CTL U Top Left Of Screen
F026=10         * CTL J Last Character On Screen
F027=14         * CTL N Next Screen
f027=&-&-D      *
F028=15         * CTL O Previous Screen
f028=&-&-U      *
*F046=&-'P'     * Goto Page               $$$ NOW REPLACED BY GENERIC
f064=B           * Backtab (From Termcap) NB. Usually ESC I
*F064=7          * Backtab
f090=&-&-L      * Page Left
f091=&-&-R      * Page Right


                * DELETES
F001=3          * CTL C Delete Character
F002=127        * Erase Left Character (DEL/RUB)
F003=23         * CTL W Delete Word
F006=12         * CTL L Delete Whole Line

                * GENERIC DELETE
G001=&-'S'      * Root For Delete
F001='T'        * Delete Character
F003='O'        * Delete Word
F004='H'        * Delete Right
F005='V'        * Delete Left
F006='L'        * Delete Whole Line
F007='B'        * Delete Blank Lines
F080='A'        * Default all form fields
F081='S'        * Default form page
F082='F'        * Default form field
F083='M'        * Delete Mark

.BS10
                * INSERTS
F008=5          * CTRL-E - Add Space
F009=16         * CTRL-P - Open Line
G002=&-'I'      * Root For Insert (Add)
F008='M'        * Add Space
F009='L'        * Add An Open Line
F010='B'        * Add Blank Lines
F036='D'        * Add Line Break
F067='I'        * Mode : Toggle Insert/Overtype
F082='S'        * Add Page

                * FORMATTING
G003=6          * Root for format
F038='A'        * Format Paragraph
F044='O'        * Format Document
F078='H'        * Right Align
F031='V'        * Convert To Lower Case
F032='^'        * Convert To Upper Case
F033='C'        * Centre Line
F034='_'        * Underline With Character
F036='D'        * Split Line
F051='S'        * Join Lines
F110='J'        * Align Columns

                * FINDS
* F042=&-'F'    * Find Forwards
F041=&-'N'      * Find Next
G000=&-'F'      * GENERIC FIND
F042='F'        * Locate string Forwards                   ### was 'S'
F086='B'        * Locate string Backwards                  ### was 'U'
F041='N'        * Find Next
F043='E'        * Locate & Replace
F075='S'        * Locate spelling Errors
* F075='E'      * Locate spelling Errors (AP.04 compatibility)
* F075=&-'$'    * Locate spelling Errors
F087='<'        * Normal Search & Replace Backwards (removed)

.BS30
                * CUT AND PASTE
F052=&-'('      * Mark Top Left Block
F071=&-'{'      * Mark Top Left Serial
F077=&-'M'      * clipboard number

G005=&-')'      * Root For Cut
F054='K'        * Mark Bottom Leave
F055='F'        * Mark Bottom Remove
F053='B'        * Mark Bottom Blank
F072='G'        * Cut To Named File
F096='T'        * Append To File
F085=')'        * Mark Bottom Right, No Action.
F076='A'        * Mark and convert to upper case
F107='H'        * Hide Marked area
F108='S'        * Show Marked area
F109='*'        * Draw Box

G013=&-'}'      * Root for serial cut
F136='B'        * Cut & Blank
F137='K'        * Cut & Leave
F138='F'        * Cut & Remove
F139='G'        * Cut & Write
F140='T'        * Cut & Append

G006=&-'*'      * Root For Paste
F057='O'        * Paste Overlay
F058='I'        * Paste Insert
F059='B'        * Paste Elbow
F120='F'        * Move Marked Area
F109='*'        * Paste Overlay Box
F119='K'        * Copy Marked Area

.BS30
                * GOTO
G012=&-'B'      * Root For Goto
F029='B'        * Goto Top of file
F030='S'        * Goto Bottom of file
F046='#'        * Go to Page number

*G019=&-'P'     * Go to page start/end/next
G019=2          * CTL B Go to page start/end/next
F133='B'        * Start Page
F134='S'        * End Page
F135='N'        * Next Page
F046='#'        * Page number

G009=20         * CTL T Go to sentence start/end/next
F104='B'        * Start Sentence
F105='S'        * End Sentence
F106='N'        * Next Sentence

G008=7          * CTL G Go to paragraph start/end/next
F101='B'        * Start Block/Paragraph
F102='S'        * End Block/Paragraph
F103='N'        * Next Sentence

                * GENERIC OPTIONS SWITCH
G018=&-'T'      * Generic option start               &&& $$$ WAS &-'M'
F050='F'        * Mode : Preferences
F056='K'        * Mode : Column Counts
F067='I'        * Mode : Toggle Insert/Overtype
F035='A'        * Mode : Show print effects
F192='L'        * List files : Next mode
*F193=0         * List files : Previous mode
*F194=0         * List files : in name order
*F195=0         * List files : in time order
*F196=0         * List files : in name order - long list
*F197=0         * List files : in time order - long list
F198='W'        * Mode : Wysiwyg (PWP)
F199='E'        * Mode : PS/draft mode (PWP)

                * PWP - OUTLINE SEQUENCES
F094='O'        * Outline Edit/Outline View
F201='+'        * Expand outline
F202='-'        * Compress outline
F203='V'        * Outline View
F204='X'        * Outline full expand
F205='T'        * Outline body text

.BS15
G007=&-&-'I'    * GENERIC READ          $$$ Restored for UII+ flavor
F073='O'        * Read and Overlay
F065='I'        * Read and Insert
F151='F'        * Read from file

.BS15
G010=&-'L'      * GENERIC FORMAT CONTROLS (PWP) $$$ WAS &-'C'
F047='H'        * Read Ruler            (wp UII+ Compatibility)
F048='G'        * Save Ruler
F125='P'        * Page format
F126='X'        * Index                                 $$$ WAS &-'CI'
F127='C'        * Table of Contents                     $$$ WAS &-'CT'
F128='E'        * Reference or Footnote                 $$$ WAS &-'CR'
F129='N'        * Notes or remarks
F130='D'        * Division
F131='B'        * Block or Paragraph

G014=&-'G'      * GENERIC SAVES
F049='O'        * Save Outline (PWP)
F061='A'        * Save & Exit
F063='F'        * Save File
F074='K'        * Save to Named file
F084='S'        * Save Screen (to clipboard)
F048='L'        * Save Ruler

F061=&-'U'      * Save And Exit (Enter In Other Applications)
F062=&-'A'      * Quit, Abandon - No Update
F061=&-'E'      * Save And Exit (Enter In Other Applications)
F062=&-'Q'      * Quit, Abandon - No Update
F063=&-'W'      * Save File
.FS
                * GENERAL COMMANDS
*F098=0         * Go back       (removed & replaced with Mode: Edit)
*F049=0         * Use Ruler     (removed - dangerous & redundant!)
*F068=0         * Unused
*F092=0         * Current Cell, @ Equivalent. Unused
*F095=0         * Show Labels, Unused

F037=&-'.'      * Repeat Last Command
F066=1          * CTL A Undo Last Delete
F114=18         * CTL R Undo last line change
F115=&-&-'.'    * Redo last undo

F099=&-'!'      * Expand
F097=&-&-'!'    * Alternate expand

F069=&-'<'      * Print Effect On
F070=&-'>'      * Print Effect Off

F112=&-'+'      * Indent left margin
F113=&-'-'      * Un-indent left margin
F116=&-&-'+'    * Indent right margin
F117=&-&-'-'    * Un-Indent right margin

F039=&-'H'      * Help!
F039=&-'?'      * Help!

F040=&-'D'      * Redraw Screen

F045=4          * CTL D Abandon Global Commands

F079=&-'R'      * Calculate : Will Do Calculations On Numbers

F084=&-':d'     * Dump screen map to file
F190=&-':t'     * INTERNAL TEST : Command For Utest
F191=&-':l'     * INTERNAL TEST : Keystroke Logging On/Off
P100=&-':b'     * INTERNAL TEST : Bitmap graphics

.FS
G011=&-'V'      * GENERIC WINDOW COMMAND                 $$$ WAS &-'W'
F170='N'        * Window: Open
F171='F'        * Window: Forwards
F172='L'        * Window: Close
F173='S'        * Window: Switch
F174='T'        * Window: Backwards
F176='K'        * Window: Link
F177='B'        * Window: Unlink
F179='P'        * Window: Desk (Direct call to #DESK softkey menu) &&&
F060='O'        * Window: Integrate (Direct call to #EDITMENU in WP)

G022=&-'X'      * GENERIC EXTERNAL WINDOWS             $$$ WAS &-&-'W'
F141='F'        * Forwards
F143='S'        * Switch
F148='M'        * Process (Process Switch Menu)
F144='T'        * Backwards
F146='R'        * Move
F147='G'        * Grow
F179='P'        * Window: Desk (Direct call to #DESK softkey menu) &&&
F240='H'        * Utility DESK                                     &&&


                * KEYSTROKE RECORDING GENERICS (aka: TAPES)
F187=11         * ^K Tape Play
G015=&-'K'      * Root for tapes
F180='I'        * Tape Insert
F181='B'        * Tape Begin
F182='S'        * Tape End
F183='F'        * Tape Continue
F184='G'        * Tape Save
F185='H'        * Tape Recall
F186='T'        * Tape Attach
F187='U'        * Tape Play
F188='M'        * Tape Menu
F189='A'        * Tape Library select

.FS
                * GRAPHICS COMMANDS

F152=0          * mouse event
F150=&-'ZV'     * view graph , used for graphics user interface
F153=&-'ZR'     * redraw graph

* Graphics Data Entry Form Codes

****=0          * Row Data
****=0          * Row Label
****=0          * Column Data
****=0          * Column Label

***************** PED GRAPHICS COMMANDS *************************

G024=&-'ZA'     * GRAPHICS ADD
P001='L'        * Add a line
P002='B'        * Add a box
P003='M'        * Add a marker
P004='S'        * Add an segment
P005='A'        * Add an arc
P006='P'        * Add a poly
P007='T'        * Add Text
P008='C'       * Add Circle

G026=&-'ZZ'     * BITMAP GRAPHICS PAN AND ZOOM FUNCTIONS
P010='N'        * -- revert to default/normal full image zoom
P011='I'        * -- zoom in
P012='B'        * -- zoom box
P013='O'        * -- zoom out
P014='L'        * -- pan left
P015='R'        * -- pan right
P016='U'        * -- pan up
P017='D'        * -- pan down

* P014=L                *
* P015=R                *
* P016=U                *
* P017=D                *

G021=&-'ZS'     * CHANGE SCREEN MENU (SOLIDS)
P024='C'        * -- outline color
P023='S'        * -- outline style
P022='W'        * -- outline width
P021='H'        * -- fill color/hue
P020='P'        * -- fill pattern

G020=&-'ZL'     * CHANGE SCREEN MENU (LINES)
P024='C'        * -- line color
P023='S'        * -- line style
P022='W'        * -- line width

.BS10
G025=&-'ZT'     * CHANGE SCREEN MENU (Text)
P024='C'        * -- text color
P023='F'        * -- text face
P022='T'        * -- text type
P021='S'        * -- text size
P020='J'        * -- text horizontal justification
P025='R'        * -- text rotation

G023=&-'ZM'     * CHANGE SCREEN MENU (Markers)
P024='C'        * -- marker color
P023='T'        * -- marker style/type
P022='S'        * -- marker size

G027=&-'ZG'     * MISCELLANEOUS GRAPHICS CMDS
P030='G'        * Grid on/off toggle
P031='S'        * Snap on/off toggle
P032='P'        * Set grid pitch
P033='N'        * switch number of graphs displayed
P034='R'        * redraw current graph
.FS
**********************************************************************
* Version 5 compatibility sequences.
* The following are all alternate key sequences for standard Version 6
* functions.  The key sequences correspond to the similar function in
* Version 5, and are therefore a more familiar mechanism for a
* user upgrading from Uniplex-II Plus Version 5 to Version 6
**********************************************************************

*F033=&-'C'      * Centre line
*F029=&-'T'      * Goto Top of file
*F030=&-'B'      * Goto Bottom of file
*f067=&-'i'      * Mode : INSERT TOGGLE (BACKTAB is often 'ESC-I')
*F035=&-'@'      * Mode : Show print effects
*F063=&-'W'      * Write to file



                * HARD ENTERED CHARACTERS - commands
                * Description           Internal Decimal value
                * -----------           ----------------------
F111=&-T        * Hard tab.             137
*F121=&-'/'     * Hard line break
F122=&-13       * Explicit hard return  141
F124=&-'^'      * Footnote mark         253

                * HARD ENTERED CHARACTERS - maps

*m129=&-'%.'    * Abbreviation period

                * Following are here just to cater for terminals that
                * do not include #XOPEN-MAPS
m160=&-' '      * Hard space            160
m173=&-'%-'     * Soft Hyphen           173
*m163=&-'%#'    * Pound sign
*m175=&-'%~'    * Tilde

.FS
****************  FULL GENERIC COMMANDS LISTING **********************

*               * ROOTS                 (These Are Specified Above)
*G000=0         * Find
*G001=0         * Delete
*G002=0         * Insert
*G003=0         * Format
*G004=0         * NOT USED (Mark ??)
*G005=0         * Cut
*G006=0         * Paste
*G007=0         * Merge
*G008=0         * Goto Paragraph
*G009=0         * Goto Sentence
*G010=0         * Format control
*G011=0         * Window
*G012=0         * Go To
*G013=0         * Serial Cut
*G014=0         * Save
*G015=0         * Tape
*G016=0         * NOT USED (Calc ??)
*G017=0         * NOT USED (Block cut ??)
*G018=0         * Options
*G019=0         * Go to Page
*G020=0         * Ped menu option
*G021=0         * Ped menu option
*G022=0         * Extended window (process windows)
*G023=0         * Ped menu options
*G024=0         * Ped graphical object add
*G025=0         * Ped menu option
*G026=0         * Ped Pan and Zoom functions
*G027=0         * Ped miscellaneous

* FULL PSEUDO COMMAND LIST
*
* The following pseudo-commands are implemented in the standard
* UNIPLEX configuration. Their functional definition is found in
* #SKCOMMANDS section(s) of softkey files

*F240           * #DESK2   (Utility DESK screen;
                *           Main DESK is a real command - F179)
F241=&-&-'$'    * Escape to sub-shell                              &&&
F242=&-16       * Surrogate PRINT key (ESC CTRL-P)                 &&&

.FS
s001=&-'1'      * SOFTKEYS DEFAULT
s002=&-'2'      * (in addition to lf0-lf9 in terminfo)
s003=&-'3'      * Note that standard UNIPLEX only uses S1-S16
s004=&-'4'
s005=&-'5'
s006=&-'6'
s007=&-'7'
s008=&-'8'
s009=&-'9'
s010=&-'0'                                                       * &&&
s011=&-&-'1'                                                     * &&&
F240=&-&-'2'                                                     * &&&
s013=&-&-'3'                                                     * &&&
s014=&-&-'4'                                                     * &&&
s015=&-&-'5'                                                     * &&&
s016=&-&-'6'                                                     * &&&
s017=&-&-'7'                                                     * &&&
s018=&-&-'8'                                                     * &&&
s019=&-&-'9'                                                     * &&&
* NB: K020 used for X/OPEN PREFIX/COMPOSE key
*     s020 is reserved for #SKDEFAULTS to map to
*          "unknown Function Key" message
))

.FS
.TM3
COMMANDS-$TERM          Replacement for COMMANDS for a given terminal
=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

**********************************************************************
*
* #COMMANDS-3161    (and work around prototype)
*
* This is an alternate #COMMANDS section for the IBM 3161 terminal,
* which, because it likes to generate ESC-x strings from its keyboard
* is the archetypal awkward terminal to map for Uniplex use.
* This COMMANDS section simply adjusts for the fact that the 4
* sequences ESC-A, ESC-B, ESC-C and ESC-D must not be used in
* #COMMANDS, since they are unalterably generated by the 4 IBM cursor
* keys.
*
* There are also a number of other keys which generate "direct Uniplex
* commands" - such as the HOME key, which generates ESC-H, the CLEAR
* key, which generates an XOFF (hence mucking up XON/XOFF flow
* control) - which have not been specially addressed in this mapping,
* but probably ought to be by a keen integrator!!
*
* Note also that the INSERT key can cause immense problems to Uniplex,
* since, when in INSERT mode (shows INSERT in middle of status line),
* all characters are  preceded by ESC-P (Uniplex GOTO Page root).
*
* The adjustment for the 4 sequences means that we have to make
* Uniplex case sensitive on any conflicting "direct Uniplex" commands
* (eg: ESC-d as root for delete). Remember that the problem could be
* solved by changing the conflicting Uniplex functions to some other
* string, but then you would find that anyone used to using direct
* commands on another terminal would be confused.
*
* The changes between #COMMANDS and #COMMANDS-3161 (at time of
* creation anyway - this needs reviewing in version 6.xx) are:
*
* #COMMANDS       #COMMANDS-3161  Comment
* ---------       --------------  -------
* G001=&-'D'      g001=&-'d'      * Root For Delete
* G002=&-'A'      g002=&-'a'      * Root For Insert (Add)
* G010=&-'C'      g010=&-'c'      * Root for Generic Formats (PWP)
* G008=&-&-'B'    g008=&-&-'b'    * Go to paragraph start/end/next
* F030=&-'B'      f030=&-'b'      * alternate mechanism for
******************************************************************

#COMMANDS-3161.sample
* To save space, this section has not been implemented. If you want
* to implement it:
* 1. Change the COMMANDS-name above,
* 2. Copy the entire COMMANDS section here
* 3. Make the changes listed in the table above
))
.FS
.TM3
UNIPLEX.CMD                                Standard "include" sections
=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

#UNIPLEX-CONFIGURATION
s1=K1           * THIS SECTION SHOULD NOT BE CHANGED!!
s2=K2
s3=K3           * Standard mapping is one-to-one between K and F
s4=K4           * numbers except s12
s5=K5           * The "s" MUST be lower case in this section, to avoid
s6=K6           * problems on VT100-like terminals with ESC-CAPITAL-O keys
s7=K7
s8=K8
s9=K9
s10=K10
s11=K11
f240=K12        * PF key 12 is wired direct to #DESK2 call
                * (via .fn files)
s13=K13
s14=K14
s15=K15
s16=K16
K020=&-&-'0'    * LEADIN/PREFIX/COMPOSE key default for XOPEN    * &&&
))

#WyseSTYLE-PF1-PF16     * Altos/Wyse/ADM style function keys
K1=1-'@'-13
K2=1-'A'-13
K3=1-'B'-13
K4=1-'C'-13
K5=1-'D'-13
K6=1-'E'-13
K7=1-'F'-13
K8=1-'G'-13
K9=1-'H'-13
K10=1-'I'-13
K11=1-'J'-13
K12=1-'K'-13
K13=1-'L'-13
K14=1-'M'-13
K15=1-'N'-13
K16=1-'O'-13
s020=1-'`'-13        * Shifted F keys are trapped to S020
s020=1-'a'-13
s020=1-'b'-13
s020=1-'c'-13
s020=1-'d'-13
s020=1-'e'-13
s020=1-'f'-13
s020=1-'g'-13
s020=1-'h'-13
s024=1-'i'-13
s020=1-'j'-13
s020=1-'k'-13
s020=1-'l'-13
s020=1-'m'-13
s020=1-'n'-13
s020=1-'o'-13
))

#vt100STYLE-KEYPAD   * VT100 keypad, when in "keypad enable" mode
               * KEYPAD key
               * ----------
K01=$-'Oq'     * 1
K02=$-'Or'     * 2
K03=$-'Os'     * 3
K04=$-'Ot'     * 4
K05=$-'Ou'     * 5
K06=$-'Ov'     * 6
K07=$-'Ow'     * 7
K08=$-'Ox'     * 8
K09=$-'Oy'     * 9
K10=$-'Op'     * 0
K11=$-'OP'     * PF1
K12=$-'OQ'     * PF2
K13=$-'OR'     * PF3
K14=$-'OS'     * PF4
K15=$-'Om'     * -
K16=$-'Ol'     * ,
s01=$-'OM'     * ENTER - mapped directly to F1 (as well as '1' key)
))

#vt220STYLE-PF1-PF16   * VT220   Note: DO key is mapped to & in TERMCAP/TERMINFO
K1=$-'[17~'            * F1 (labelled F6)
K2=$-'[18~'            * F2 (labelled F7)
K3=$-'[19~'            * F3 (labelled F8)
K4=$-'[20~'            * F4 (labelled F9)
K5=$-'[21~'            * F5 (labelled F10)
K6=$-'[23~'            * F6 (labelled F11)
K7=$-'[24~'            * F7 (labelled F12)
K8=$-'[25~'            * F8 (labelled F13)
K9=$-'[26~'            * F9 (labelled F14)
K10=$-'[28~'           * F10 (labelled HELP)
K11=$-'[31~'           * F11 (labelled F17)
K12=$-'[32~'           * F12 (labelled F18)
K13=$-'[33~'           * F13 (labelled F19)
K14=$-'[34~'           * F14 (labelled F20)
K15=$-'OP'             * F15 (labelled PF1)
K16=$-'OQ'             * F16 (labelled PF2)
))


.FS
.TM3
Standard "include" sections                       X/OPEN character set
=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

* The following are set up for ease of entry on non-international
* keyboards.
* The principle being that character entry is achieved by pressing a
* COMPOSE or PREFIX key (K20) followed by an appropriate a one- or
* two- character sequence.

* If you include this section in a COMMANDS2 section,
* YOU MUST DEFINE K20 TOO!!!
* The default config will have this set for ESC ESC 0. To change
* this, add a new K020 line just before the include=XOPEN-MAPS
* eg: #COMMANDS2-termname
*     include=#UNIPLEX-CONFIGURATION
*     ....
*     K020=$-'&'
*     include=#XOPEN-MAPS
*     ))

* NB: Many "M" numbers are case sensitive

#XOPEN-MAPS
M160=K20-' '    * Hard Space (NBSP)
M161=K20-'!'    * Open shriek
M162=K20-'|c'   * Cent
M163=K20-'-L'   * Sterling
M164=K20-'*X'   * Sputnik/Currency
M165=K20-'=Y'   * Yen
M166=K20-'| '   * Vertical Bar
M167=K20-'SS'   * Section (s's)
M168=K20-'""'   * Umlaut
M169=K20-'cO'   * Copyright
M170=K20-'_a'   * Feminine ordinal
M171=K20-'<'    * Double Guillemot (<<)
M172=K20-'-!'   * Logical NOT
M173=K20-'--'   * Soft hyphen (SHY)
M174=K20-'rO'   * Registered
M175=K20-'~~'   * Tilde
.FS
M176=K20-'**'   * Ring
M177=K20-'+-'   * Plus/minus
M178=K20-'2^'   * 2 superscript
M179=K20-'3^'   * 3 superscript
M180=K20-'\'\'' * Acute
M181=K20-'u'    * Mu
M182=K20-'|P'   * Para. (pilcrow)
M183=K20-'.'    * Centre dot
M184=K20-',,'   * Cedilla
M185=K20-'1^'   * 1 superscript
M186=K20-'_o'   * Masculine ordinal
M187=K20-'>'    * Double Guillemot (>>)
M188=K20-'14'   * 1/4
M189=K20-'12'   * 1/2
M190=K20-'34'   * 3/4
M191=K20-'?'    * Open query

.BS16
m192=K20-'`A'   * A grave
m193=K20-'\'A'  * A acute
m194=K20-'^A'   * A c/flex
m195=K20-'~A'   * A tilde
m196=K20-'"A'   * A umlaut
m197=K20-'*A'   * A ring
m198=K20-'AE'   * AE dipthong
m199=K20-',C'   * C cedilla
m200=K20-'`E'   * E grave
m201=K20-'\'E'  * E acute
m202=K20-'^E'   * E c/flex
m203=K20-'"E'   * E umlaut
m204=K20-'`I'   * I grave
m205=K20-'\'I'  * I acute
m206=K20-'^I'   * I c/flex
m207=K20-'"I'   * I umlaut

m208=K20-'-D'   * D stroke
m209=K20-'~N'   * N tilde
m210=K20-'`O'   * O grave
m211=K20-'\'O'  * O acute
m212=K20-'^O'   * O c/flex
m213=K20-'~O'   * O tilde
m214=K20-'"O'   * O umlaut
M215=K20-'x'    * Multiply sign
m216=K20-'/O'   * O stroke
m217=K20-'`U'   * U grave
m218=K20-'\'U'  * U acute
m219=K20-'^U'   * U c/flex
m220=K20-'"U'   * U umlaut
m221=K20-'\'Y'  * Y acute
m222=K20-'P'    * Thorn (CAP)
M223=K20-'B'    * Beta (ss Germ.)
.FS
m224=K20-'`a'   * a grave
m225=K20-'\'a'  * a acute
m226=K20-'^a'   * a c/flex
m227=K20-'~a'   * a tilde
m228=K20-'"a'   * a umlaut
m229=K20-'*a'   * a ring
m230=K20-'ae'   * ae dipthong
m231=K20-',c'   * c cedilla
m232=K20-'`e'   * e grave
m233=K20-'\'e'  * e acute
m234=K20-'^e'   * e c/flex
m235=K20-'"e'   * e umlaut
m236=K20-'`i'   * i grave
m237=K20-'\'i'  * i acute
m238=K20-'^i'   * i c/flex
m239=K20-'"i'   * i umlaut

.BS16
m240=K20-'-d'   * d stroke
m241=K20-'~n'   * n tilde
m242=K20-'`o'   * o grave
m243=K20-'\'o'  * o acute
m244=K20-'^o'   * o c/flex
m245=K20-'~o'   * o tilde
m246=K20-'"o'   * o umlaut
M247=K20-':-'   * Divide sign
m248=K20-'/o'   * o stroke
m249=K20-'`u'   * u grave
m250=K20-'\'u'  * u acute
m251=K20-'^u'   * u c/flex
m252=K20-'"u'   * u umlaut
m253=K20-'\'y'  * y acute
m254=K20-'p'    * Thorn (lower)
m255=K20-'"y'   * y umlaut
))

.FS
.TM3
COMMANDS2-$TERM                    Extra commands for a given terminal
=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

* For ease of maintenance, these sections appear in the same order as
* in Tcap (where possible)
* Note that these sequences should, generally, use '$' for ESC, rather
* than '&', since they describe direct key sequences (like TERMINFO)


#COMMANDS2-II,COMMANDS2-alt2,COMMANDS2-altosII,COMMANDS2-altos3,COMMANDS2-alt3
include=#WyseSTYLE-PF1-PF16
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f39=1-'P'-13    * Help
f08=$-'[@'      * Insert char
f27=$-'[S'      * Next Screen
f28=$-'[T'      * Previous Screen
f01=$-'[P'      * Delete  character
f09=$-'[L'      * Insert line
f06=$-'[M'      * Delete line
f25=$-'[f'      * Home Key
f04=$-'OP'      * CLR key               Delete to end of line
* Uncomment following line on Altos II terminal to enable XOPEN-MAPS
*include=#XOPEN-MAPS
))

#COMMANDS2-ansi,COMMANDS2-ansicolor
K1=$-'[M'       * Labelled F1
K2=$-'[N'       * Labelled F2
K3=$-'[O'       * Labelled F3
K4=$-'[P'       * Labelled F4
K5=$-'[Q'       * Labelled F5
K6=$-'[R'       * Labelled F6
K7=$-'[S'       * Labelled F7
K8=$-'[T'       * Labelled F8
K9=$-'[U'       * Labelled F9
K10=$-'[V'      * Labelled F10
K11=$-'[Y'      * Shifted F1 - F6 are used as F10 - F16
K12=$-'[Z'
K13=$-'[a'
K14=$-'[b'
K15=$-'[c'
K16=$-'[d'
s020=$-'[e'     * F17 - F19 (shift F7 - F9) not used by Uniplex.
s020=$-'[f'
s020=$-'[g'
include=#UNIPLEX-CONFIGURATION
* Uncomment following 2 lines for X/OPEN with LEADIN key as
* shift F10
*K20=$-'[h'
*include=#XOPEN-MAPS
))
.FS

#COMMANDS2-at386,COMMANDS2-AT386,COMMANDS2-sat386,COMMANDS2-SAT386,COMMANDS2-at386m,COMMANDS2-AT386M,COMMANDS2-sat386m,COMMANDS2-SAT386M
K1=$-'OP'       * Labelled F1
K2=$-'OQ'       * Labelled F2
K3=$-'OR'       * Labelled F3
K4=$-'OS'       * Labelled F4
K5=$-'OT'       * Labelled F5
K6=$-'OU'       * Labelled F6
K7=$-'OV'       * Labelled F7
K8=$-'OW'       * Labelled F8
K9=$-'OX'       * Labelled F9
K10=$-'OY'      * Labelled F10
K11=$-'OZ'      * Shifted F1 - F6 are used as F10 - F16
K12=$-'OA'
K13=$-'Op'
K14=$-'Oq'
K15=$-'Or'
K16=$-'Os'
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f001=$-'[P'     * Delete                Delete Character
f006=$-'[p'     * Shift Delete          Delete Whole Line
f008=$-'[@'     * Insert                Insert A Space
f009=$-'[2'     * Shift Insert          Insert A Line
f025=$-'[H'     * Home                  Top Left Of Screen
f027=$-'[U'     * Page down             Next Screen
f028=$-'[V'     * Page up               Previous Screen
f030=$-'[Y'     * End                   Goto Bottom Of File
F064=29         * Shift TAB             Backtab
))
.FS
#COMMANDS2-freedm2
K1=1-'@'-13     * Labelled F1
K2=1-'A'-13     * Labelled F2
K3=1-'B'-13     * Labelled F3
K4=1-'C'-13     * Labelled F4
K5=1-'D'-13     * Labelled F5
K6=1-'E'-13     * Labelled F6
K7=1-'F'-13     * Labelled F7
K8=1-'G'-13     * Labelled F8
K9=1-'H'-13     * Labelled F9
K10=1-'I'-13    * Labelled F10
K11=1-'`'-13    * shifted F1 - F6 used as F11 - F16
K12=1-'a'-13
K13=1-'b'-13
K14=1-'c'-13
K15=1-'d'-13
K16=1-'e'-13
s020=1-'f'-13   * F17 - F20 do not exist on keyboard
s020=1-'g'-13
s020=1-'h'-13
s020=1-'i'-13
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f067=$-'[q'     * INS MODE              insert mode toggle
f008=$-'[Q'     * INS CHAR              insert blank space
f001=$-'[W'     * DEL CHAR              delete character
f009=$-'[E'     * INS LINE              insert blank line
f006=$-'[R'     * DEL LINE              delete line
f004=$-'[T'     * ERASE EOL             erase to right of cursor
s020=$-'[Y'     * ERASE EOP             isn't one!
))
.FS
#COMMANDS2-iclcol,COMMANDS2-icl6404cg
K1=1-'@'-13     * Labelled F1
K2=1-'A'-13     * Labelled F2
K3=1-'B'-13     * Labelled F3
K4=1-'C'-13     * Labelled F4
K5=1-'D'-13     * Labelled F5
K6=1-'E'-13     * Labelled F6
K7=1-'F'-13     * Labelled F7
K8=1-'G'-13     * Labelled F8
K9=1-'H'-13     * Labelled F9
K10=1-'I'-13    * Labelled F10
K11=1-'`'-13    * Shifted F1 to F10 used as F11 to F20
K12=1-'b'-13
K13=1-'c'-13
K14=1-'d'-13
K15=1-'e'-13
K16=1-'f'-13
s020=1-'g'-13   * shifted F7-10 (ie F17-20) not used
s020=1-'h'-13
s020=1-'i'-13
s020=1-'j'-13
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY        UNIPLEX OPERATION
                * ------------        -----------------
f12=1-','-13    * left arrow          graphic cursor left
f13=1-'.'-13    * right arrow         graphic cursor right
f14=1-'2'-13    * up arrow            graphic cursor up
f15=1-'0'-13    * down arrow          graphic cursor down
p042=1-'4'-13   * FUNCT + keypad 4    fast graphic cursor key left
p043=1-'6'-13   * FUNCT + keypad 6    fast graphic cursor key right
p040=1-'8'-13   * FUNCT + keypad 8    fast graphic cursor key up
p041=1-'5'-13   * FUNCT + keypad 5    fast graphic cursor key down
p044=1-'1'-13   * FUNCT + keypad 1    button 0
p045=1-'7'-13   * FUNCT + keypad 7    button 1
p044=1-'3'-13   * FUNCT + keypad 3    button 0
p045=1-'9'-13   * FUNCT + keypad 9    button 1
))

#COMMANDS2-link
include=#WyseSTYLE-PF1-PF16
include=#UNIPLEX-CONFIGURATION
))
.FS
#COMMANDS2-tek4207
K1=$-'[A'       * Labelled F1
K2=$-'[B'       * Labelled F2
K3=$-'[D'       * Labelled F3
K4=$-'[C'       * Labelled F4
K5=$-'OP'       * Labelled F5
K6=$-'OQ'       * Labelled F6
K7=$-'OR'       * Labelled F7
K8=$-'OS'       * Labelled F8
K9=$-'OM'       * Labelled ENTER
                * No F10 key - use $H for HELP
K11=$-'[E'      * shift F1 = F11
K12=$-'[F'      * shift F2 = F12
K13=$-'[G'      * shift F3 = F13
K14=$-'[H'      * shift F4 = F14
K15=$-'[I'      * shift F5 = F15
K16=$-'[J'      * shift F6 = F16
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY        UNIPLEX OPERATION
                * ------------        -----------------
p042=$-'Ow'     * num.kpad '7'        fast graphic cursor key left
p043=$-'Os'     * num.kpad '3'        fast graphic cursor key right
p040=$-'Oy'     * num.kpad '9'        fast graphic cursor key up
p041=$-'Oq'     * num.kpad '1'        fast graphic cursor key down
p044=$-'Op'     * num.kpad '0'        button 0
p045=$-'On'     * num.kpad '.'        button 1
))
.FS

#COMMANDS2-partner,COMMANDS2-PARTNER
K1=$-'OP'       * Labelled F1
K2=$-'OQ'       * Labelled F2
K3=$-'OR'       * Labelled F3
K4=$-'OS'       * Labelled F4
K5=$-'OT'       * Labelled F5
K6=$-'OU'       * Labelled F6
K7=$-'OV'       * Labelled F7
K8=$-'OW'       * Labelled F8
K9=$-'OX'       * Labelled F9
K10=$-'OY'      * Labelled F10
K11=$-'OZ'
K12=$-'OA'
K13=$-'Op'
K14=$-'Oq'
K15=$-'Or'
K16=$-'Os'
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f001=$-'[P'     * Delete                Delete Character
f008=$-'[@'     * Insert                Insert A Space
f025=$-'[H'     * Home key              Top Left Of Screen
))
.FS
#COMMANDS2-vis550,COMMANDS2-v550
K1=$-'OP'       * Labelled F1
K2=$-'OQ'       * Labelled F2
K3=$-'OR'       * Labelled F3
K4=$-'OS'       * Labelled F4
K5=$-'OT'       * Labelled F5
K6=$-'OU'       * Labelled F6
K7=$-'OV'       * Labelled F7
K8=$-'OW'       * Labelled F8
K9=$-'OX'       * Labelled F9
K10=$-'OY'      * Labelled F10
K11=$-'_K'-$-'\'-13    * Labelled F11
K12=$-'_L'-$-'\'-13    * Labelled F12
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f25=$-'[H'      * HOME
))

#COMMANDS2-vt100
include=#vt100STYLE-KEYPAD
include=#UNIPLEX-CONFIGURATION
* Uncomment following line for X/OPEN with LEADIN key as ESC ESC
*include=#XOPEN-MAPS
))
.FS

#COMMANDS2-vt240,COMMANDS2-vt220,COMMANDS2-vt200,COMMANDS2-VT200
include=#vt220STYLE-PF1-PF16
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
g00=$-'[1~'     * Find                  Generic Find
f67=$-'[2~'     * Insert here           Insert mode toggle
g01=$-'[3~'     * Remove                Generic delete
f52=$-'[4~'     * Select key            Mark top left block
f28=$-'[5~'     * Previous Screen
f27=$-'[6~'     * Next Screen
s020=$-'OR'     * PF3
K020=$-'OS'     * PF4                   XOPEN PREFIX
))

#COMMANDS2-vt200+rc,COMMANDS2-VT200+RC
K1=$-'OP'       * Labelled F1
K2=$-'OQ'       * Labelled F2
K3=$-'OR'       * Labelled F3
K4=$-'OS'       * Labelled F4
K5=$-'OT'       * Labelled F5
K6=$-'OU'     * Labelled F6
K7=$-'OV'     * Labelled F7
K8=$-'OW'     * Labelled F8
K9=$-'OX'     * Labelled F9
K10=$-'OY'    * Labelled F10
K11=$-'OZ'    * Labelled F11
K12=$-'OA'    * Labelled F12
K13=$-'Op'    * Labelled F13
K14=$-'Oq'    * Labelled F14
K15=$-'Or'    * Labelled F15
K16=$-'Os'    * Labelled F16
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f001=$-'[3~'    * Delete                Delete Character
f006=$-'[p'     * Shift Delete          Delete Whole Line
f008=$-'[2~'    * Insert                Insert A Space
f009=$-'[2U'    * Shift Insert          Insert A Line
f025=$-'[H'     * Home key              Top Left Of Screen
f027=$-'[6~'    * Next                  Next Screen
f028=$-'[5~'    * Prev                  Previous Screen
f030=$-'[Y'     * End                   Goto Bottom Of File
f064=29         *                       Backtab
))
.FS

#COMMANDS2-wyse60,COMMANDS2-wy60,COMMANDS2-wyse50,COMMANDS2-wy50,COMMANDS2-wyse60-132,COMMANDS2-wy60-132
include=#WyseSTYLE-PF1-PF16
include=#UNIPLEX-CONFIGURATION
                * KEYBOARD KEY          UNIPLEX OPERATION
                * ------------          -----------------
f028=$-'J'      * PREV PAGE             goto previous page
f025=30         * HOME                  goto top left of screen
))


***************
* End of File *
***************