I'm not sure where I'm going to take this one yet, but this tutorial will attempt to remove some of the misunderstandings about keyboard and terminal emulations of keyboards.
This is a PC numeric keypad
This is a VT terminal (VT-100, VT-220, etc) numeric keypad
This document describes the functions of the numeric keypad under EDT