Microsoft KB Archive/159453

= SNA Server 3.0 5250 Applet Numeric Pad Function Keys Don't Work =

Article ID: 159453

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft SNA Server 3.0 Service Pack 4
 * Microsoft SNA Server for Windows NT 4.0

-



This article was previously published under Q159453



SUMMARY
When using the SNA Server 3.0 5250 applet, function keys located on the numeric keypad (such as PgUp, PgDn and Enter) are not mapped to 5250 functions for Page Up, Page Down, and Enter. The standard cursor control keys for PageUp and PageDown (located on the keypad positioned between the Backspace and NumLock keys) and the standard Enter key do work.

The SNA Server 3.0 5250 applet does support limited keyboard remapping by following the instructions in the \System\5250.kbd file. This keyboard mapping support is not available in SNA Server 2.x versions of the 5250 applet.



MORE INFORMATION
The \System\5250.kbd file can be edited to support limited keyboard remapping, for the standard IBM 101 keyboard layout. For example, here are instructions to add support for the Enter, PgUp and PgDn keys located on the numeric keypad:

 Save the original copy of \System\5250.kbd to 5250.old. Add the following lines to the 5250.kbd file:

NumPgUp : PAGE_UP

NumPgDn : PAGE_DOWN

NumEnter: ENTER

NOTE: 5250.kbd will already include default entries for the 5250 PAGE_UP, PAGE_DOWN, and ENTER functions, mapped to the PageUp, PageDown, and Enter keys respectively. Copy the 5250.kbd file to Keyboard.map, and place Keyboard.map in the same directory where the Win5250.exe program resides:

 for Windows 3.x clients, the default is  for Windows 95 clients, the default is \system</li> for Windows NT clients, the default is \system</li></ul> </li> Restart the 5250 applet.</li> To verify that the new keyboard mapping is in effect, go to the Keypad option on the menu bar and verify that Enter is mapped to NumEnter. If Enter is still mapped to Enter, it may be necessary to delete and re-create shortcuts to the 5250 applet.</li></ol>

<div class="references_section">