XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  KEYMAN XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

               A small but powerful key manager (HP48G[X])  

-------------------------------------------------------------------------
Autor:  Wolfgang Rautenberg         www.math.fu-berlin.de/user/~raut   
raut@math.fu-berlin.de              ftp.math.fu-berlin.de/pub/usr/raut
   
--------------------------------------------------------------------------

KEYMAN creates a one-page temporary menu and should be assigned to a key. We
propose right-shift K (key 25.3) which is dispensable in the standard mode 
without programming line. The menu options are as follows:

|StdK| Invokes the standard assignment of a key. For a user assigned menu key
       this means the present assignment. E.g., StdK pressed twice invokes the 
       StdK-program. For controlling the assignment of other temporary menus,
       this program may be assigned to an extra key. StdK is used for creating 
       assignments doing different things in different modes, see |IFP|. Yet 
       another application: Calling in the assignment of the EDIT-key 52.2 and
       giving it a name, one has a programmable edit-command at the disposal.

|IFP|  Needs two arguments, arbitrary objects O1 and O2 in Level 1 and 2 and 
       leaves a program on the stack which, if assigned to a key, evaluates 
       O2 if the key is pressed in PGR-mode and O1 else. If O2 is the standard
       assignment of the key then in PRG mode the key acts as before, else it 
       performs the user action. For instance, 25.3 should maintain its basic
       cursor moving function during programming. Assigning KEYMAN to 25.3 in 
       the proper way means this: Put the standard assignment of 25.3 on level
       2, KEYMAN on level 1, press IFP and then assign the result to 25.3. 

|->TO| Makes a so-called Take-Over program from any object. For a program, the 
       output looks like the original since the TakeOver command is unvisible 
       at the user level. If the output is assigned to a key then the object 
       will immediately be evaluated also in PRG-mode in which a user-assigned 
       key usually only beeps. Menu key assignments made with TMENU or CST
       are immediately evaluated as well if processed with ->TO.

|DelK| Deletes the user assignment (if any) from the pressed key. This option
       also fixes a bug of DELKEYS: it cleans the UserKeys list in the Hidden 
       Directory. Hence one may forget about the procedure recommended at the
       end of Chapter 30 in the Manual of doing RCLKEYS 0 DELKEYS STOKEYS. 

|AsnK| Needs one argument which will be assigned to the key the user is asked 
       for to press. Also the CANCEL key may be assigned. If this happens 
       unintentionally, deleate with DelK. 

|RclK| Invokes the user assignment of a key after first displaying the list
       of all user-assigned keys. Thus, the user is always kept informed on 
       the assignment situation as a whole.

                                        
KEYMAN took some advantage of programming due to S. Rapisarda and J.K. Horn.
