(I'm repeating wwhat I said in response to this same question in the Linux forum because you may not have gone back there to read responses)
What you need is a termcap and/or terminfo on the HP that actually matches what your Linux box is. See
if you are unclear about this.
As to getting a Linux termcap or terminfo that actually works well, that's sadly another story. I've seen various claims from numerous people that they have a working solution; I've found none of them to be perfect- there's always problems somewhere- however, you can surely do beter than what you have.
In theory you would just extract the "linux" entries from your Linux termcap and /usr/lib/terminfo.src, transfer them to the HP, run tic, do a little stty to fix up the intr and backspace and that would be the end of it. In practice- well, as I said, results vary.
I did have excelent luck with a beta version of a Linux terminal emulaator from Powerterm. I understand they are releasing that soon- that actually lets you emulate a terminal that your HPO may be more happy with.
If you use
and search for "linux terminal" you'll find a lot of related information
including termcaps etc. Don't expect them to be perfect- I already know that none of them are, but you should be able to at least improve things.
Tony Lawrence
SCO Unix/Linux Resources
tony@pcunix.com