I think that GNOME-Terminal does not distinguish between a numpad key and the corresponding "normal" key.
Just open a terminal and switch the numpad off, so that numbers are disabled, but Numpad-Home etc are active.
Then press Ctrl-V followed by Numpad-HOME. This will output ^[[H
. Now press Ctrl-V followed by HOME. This will also output ^[[H
. So GNOME-Terminal emits the same codes for the key on the numpad and the corresponding "normal key".
Maybe the center key (5) is different, as I don't know the corresponding "normal key".
This seems also be true for Ctrl-Keys (Ctrl-HOME and Ctrl-Numpad-HOME both result in ^[[1;5H
).
I don't know if there is any setting, so GNOME-Terminal sends different codes for the numpad keys.
PS: I also tested with XTerm, same result.