FAQ's - APPX Software, Inc. : Trash :
602 - APPX Keys (TABLES) | |
AppxKEYS is a utility program embedded in APPX that allows a user to create an APPX keyboard layout. APPX uses several keys on your keyboard that perform functions ("options") unique to APPX. The layout defines which keys will be used to construct each APPX Option.
Keyboard layouts can be created for each type of terminal on your system, and individual layouts can be created for each user if necessary. The utility prompts the user to press approximately three dozen keys. As each key is pressed, AppxKEYS records the codes sent out and uses them to construct a suite of keystroke combinations for accessing APPX options that is tailored to your terminal, operating system, and/or emulation software. The following steps are required for building a keyboard layout are:
Plan your layout.
APPXPATH which identifies the location of data files It may not be appropriate to try to create an APPX keyboard layout for some terminals. This version of AppxKEYS requires that the terminal be capable of sending out a unique set of codes for approximately two dozen keys, and some terminals are incapable of it.
Planning Your Layout Table 1 lists the twenty-five (25) fundamental keys and their common assignments on some keyboards. Table 1: The Twenty-five Fundamental Keys and their Common Assignments on Some Keyboards
APPX Fundamental Key DEC VT320 KeyboardBACKSPACE ÄEND F10RETURN/ENTER ReturnTAB TabOPTION PF1GO DoPAN PF3SCROLL PF4CURSOR UP -CURSOR RIGHT ®CURSOR DOWN /CURSOR LEFT INSERT Insert HereDELETE RemoveSCAN FindSELECT SelectHELP HelpPERVIOUS IMAGE F8NEXT RECORD F9ADD MODE F11DELETE MODE F12INQUIRE MODE F13CHANGE MODE F14PREV SCREEN PrevScreenNEXT SCREEN NextScreenThere are several things to bear in mind when planning your keyboard:
Certain keys, such as GO, OPTION, and END are used a great deal in APPX. Make sure they are in convenient locations.
Running AppxKEYS appx -k
For proper operation, AppxKEYS should be run from the actual terminal for which a layout is being defined (or for generic layouts, a representative of a group of identically configured terminals and types). This is the only way to assure that key code translations or interceptions by the operating system are accounted for. The first screen will also display the terminal type and APPX User ID to which the Keyboard layout will be assigned. A User TD of "any" refers to the generic layout. If a layout already exists, a warning will appear informing you that your new layout will be overwriting a layout that is already on disk. If you want to continue, press "Y" or "y" for YES, "N" or "n" for NO (the RETURN key is unnecessary). If you answer NO, the program will exit immediately. You will be given a further warning later in the program just before the layout is overwritten, and given a chance to change your mind. On most operating systems, the program will next prompt you for an END OF ENTRY key. This is the key that you will use to tell AppxKEYS that you have finished defining a fundamental key and that you wish to move on to the next. This key can be any standard key on your keyboard and even a few of the special keys, such as Tab or Return. It is important to try to pick an END OF ENTRY key that sends out a code that is NOT contained in the control sequences sent out by any other key that you need to define. This may require some experimentation. In general, the space bar works on most terminals (the IBM 3151 being a notable exception -- try the period key instead).
The selection of an END OF ENTRY key does not mean you cannot use this key as an APPX fundamental key. If AppxKEYS receives only the END OF ENTRY key during a key definition, it assumes you wish to use it as the definition, not just as a terminator. Defining Fundamental Keys The steps in defining each fundamental APPX key are:
Program issues a prompt for the fundamental key. The next key that is prompted for is the APPX END key. Again use special care when defining this key. If, after it is defined, it is entered as the definition for any other fundamental key, you will be given the opportunity to quit the program. It is important to try to let AppxKEYS exit gracefully or you risk leaving your terminal in an awkward state. The following unusual situations can occur when defining keys:
If the code for your END OF ENTRY KEYS is embedded in the codes sent out by one of the special keys on your keyboard, the program proceeds automatically to the next prompt without your having to press END OF ENTRY. If this occurs, back up and re-enter the sequence using a different key, or rerun the program again using a different END OF ENTRY. The keyboard layout will not work "as is."
AppxKEYS supports up to twenty-five (25) key codes per key definition. AppxKEYS then builds all of the key combinations used to access APPX Options. If it discovers any duplicate combinations or a combination that is a subset of another, you will be prompted to re-enter key combinations for the duplicate options. To test your new layout, make sure that each of the fundamental keys you defined works. Use any of the combinations in Table 2 to select APPX Options to test your layouts. Table 2: Common APPX Options
APPX OPTION KEY 1Acknowledge Delete GOAdd Mode ADD MODEBack Tab GOCancel GOChange Mode CHANGE MODECut GODelete to Item Beginning Ctrl UDelete Current Char DELETEDelete to Item End GODelete Mode DELETE MODEDelete Previous Char BACKSPACEDirect Process l GODirect Process 2 GODown CURSOR DOWNEnd ENDEnd Paragraph GOEnter RETURNor Ctr1 MFind Pattern * GOHelp Item HELPHelp Option GOInquiry Mode INQUIRY MODEInsert INSERTLeft CURSOR LEFTMove to Field Beginning GOMove to Field End GONext Record NEXT RECORDPaste GOPrevious Activity PREVIOUS IMAGEPrint Screen * GORight CURSOR RIGHTRedraw Line Ctrl RRedraw Screen Ctrl WRedisplay GOScan SCANSet Attributes GOShow Messages GOSelect SELECTSplit (Insert Text) GOTab TABUp CURSOR UP* For future use and not currently implemented. Panning and Scrolling Operations Panning and scrolling operations are done in two steps:
Press the PAN or SCROLL key one to three times. Table 3: Panning Options
PAN OPTION KEY 1Pan to Top PANPan Up 1 Screen PANPan Up 1 Row PANPan Down 1 Row PANPan Down 1 Screen PANPan to Bottom PANPan Left Margin PANOr GOPan Left 1 Screen PANPan Left 1 Column PANPan Right 1 Column PANPan Right 1 Screen PANPan Right Margin PANOr GOTable 4: Scrolling Operations
SCROLL OPTION KEY 1Scroll First screen SCROLLor
GOScroll Previous Screen SCROLLor
PREV SCREENScroll Up SCROLLScroll Down SCROLLScroll Next Screen SCROLLor
NEXT SCREENScroll Last SCROLLor
GOTo select an APPX User option from "0" to "9":
Press OPTION To select an APPX User Option from "10" to "99":
Press the OPTION key twice. | |
[Append to This Answer] | |
2010-May-20 12:29am |
Previous: | 656 - Scoping Rules - Subprocess/Related/Detached |
Next: | 587 - APPX Presentation Server & WinAppxD (HAS SUBPAGES) |
|