Telnet Linux->QNX terminfo


When using telnet from a Linux machine to one running QNX (4.25G), I am
asked the type of terminal to use as the QNX machine does not understand
what a Linux terminal is (TERM=linux).
As a work around I have created a /usr/lib/terminfo/l/ directory and
copied the xterm terminfo to linux within this directory. This seems to
work (remove the asking for a term type) with the exception of the
home/del/end keys. Has anyone got a working solution for this ?

Thank you,