Microsoft KB Archive/45690

Example of How to Remap ADIS Terminator Key to CTRL+Q

PSS ID Number: Q45690 Article last modified on 04-20-1993

3.00 3.00a MS-DOS

Summary: This article contains an example that details remapping ADIS function keys under COBOL Versions 3.0 and 3.0a. The example below gives the steps necessary to remap the ADIS terminate accept key to CTRL+Q. This is done by using the utility program ADISCF.EXE to remap the ADIS definition of terminate accept from carriage return back to itself and the KEYBCF.EXE program to remap terminate accept to CTRL+Q.

More Information: The following are the steps required to remap the accept terminator key to CTRL+Q: 1. Invoke ADISCF from the DOS prompt. 2. Select F8 for Key Control. 3. Select F3 for Function Key Mapping, set Terminate Accept to 000, set Carriage Return to 255 to disable the carriage return, and press ENTER to accept these changes. 4. Press ESC twice to return to the main menu. 5. Select F4 to save. 6. Select F2 for New Config and type MYCONFIG. 7. Press ESC to exit ADISCF. 8. Invoke KEYBCF from the DOS prompt. 9. Select 2 for Function Key Definition. 10. Select 1 for Alter ADIS Function Keys, press CTRL+Q at the prompt for Terminate Accept, and press Q to quit. 11. Select 5 to Exit to main menu. 12. Select 3 to Save key definition. 13. Select 4 to Exit KEYBCF. To make use of these changes, all that is required is that the files ADISCTRL and COBKEYMP be in the current directory or the directory stated in the COBDIR environment variable when a COBOL program is executed.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.