KEYPAD.DOC PortaCalc will normally place a VT100 terminal into auxiliary keypad mode. In this mode, all keys except PF2 (which is interpreted as Help) call indirect files of form nam.cmd in the current UIC. This permits easy customization. The file names are kyp.cmd,kyr.cmd, and kys.cmd for PF1, PF3, and PF4, and aka.cmd through akn.cmd for the other keys. The diagram below lists the names and their locations on the keypad. Note that a number of these files are supplied with PortaCalc with functions outlined below. The scrolling will move the entire display left or right; the window left or right only changes cells down and right starting at the cursor on the display, leaving any cells above or left of the cursor (which ordinarily would be labels) alone. A bit of added functionality has been added to CMDMUN.FOR to allow some extra flexibility in command handling. A line beginning in % is assumed to have several fields: %FLD-1%FLD-2%FLD-3 in which FLD-1 if present is typed out to the screen first (used to set screen widths). Then FLD-2 is passed as the command. If FLD-3 exists and starts with a ? or \, then the terminal is read and the result is added onto the end of FLD-2 before the command is passed back to the spread sheet. If the command begins with a space or control character or a \, then it is commented out and the command file falls past the % line. If however FLD-3 started with ? and the initial read-in character is not \ or a control character, the command file is rewound. This feature is used in the enter command file (AKD.CMD) to implement an "enter mode" somewhat akin to that of Visicalc, Supercalc, or others of that ilk by automatically inserting the "E " of the PortaCalc Enter command until a \ is seen. If FLD-3 should be present and start with a & character, the auxiliary file is closed there and console input done as in \ input. Note that a file KYSAUX.CMD is supplied which may be used instead of KYS.CMD. If used, it is the ENTER MODE command and will turn off auxiliary keypad mode on the terminal. This way, PF4 may be used to get into enter mode and the numeric keypad used to enter numbers. Recall that the period (.) of numbers is normally needed for their proper recognition as numerics. Additionally, where the Gold levels are supported (with lines beginning with "^" incrementing the level), gold-PF2 will be the same as H9 (help 9), and gold-gold-PF2 will be the same as H10, gold-gold-gold-PF2 will be as H11 and so on. This allows multiple screen picture displays and makes them more available. PortaCalc Keypad Standard Keys +----------------+----------------+-------------------+------------------+ |PF1 kyp|PF2 |PF3 kyr|PF4 kys| | Wide Screen | HELP | Narrow Screen | Recalculate (*) | +------------------------------------------------------------------------+ | akl| akm| akn| akb| |7 Origin Absol: |8 ^ |9 |- | | Set Upper Left | Scroll Up | Save Sheet | Set Enter | | display to Loc | | | Direction | +------------------------------------------------------------------------+ |4 aki|5 akj|6 akk|, aka| | << Scroll Left | Move to Loc | Scroll Right >> | Insert/Delete | | | | | Rows/Cols | +------------------------------------------------------------------------+ |1 akf|2 akg|3 Origin Rel: akh|E akd| | Restore Sheet | Scroll Down | Set display down, |N Enter Mode | | | v | right of cursor |T (Exit to | +-----------------------------------------------------|E command mode | |0 ake|. akc|R with \ char) | | Copy Range of Cells | Print screen | | +----------------+----------------+-------------------+------------------+ X eXit from sheet XD eXit and Delete workfile PortaCalc Auxiliary Keypad Keys (Default set of Command Files) (*): ENTER mode if aux file NOTE: The file KEYPADAVO.PIC is an alternate file to KEYPAD.PIC which may be used for VT100 terminals with Advanced Video Option (AVO) or equivalents (e.g., DT80). It uses several of the display options to produce a clearer display. For other terminal types, KEYPAD.PIC should be used. PortaCalc will implement the aux keypad provided that the KY*.CMD files and the AK*.CMD files are on DK: or the user logged in SY: disk (depending on whether PortaCalc was built to look on DK:). PortaCalc will look for KEYPAD.PIC in the same area as the AK* and KY* files as the keypad diagram. If the supplied KY*.CMD and AK*.CMD files are used, then either KEYPAD.PIC or KEYPADAVO.PIC should be used and named KEYPAD.PIC in that area.