Thanks for the help. My TERM reports as Linux. Should I export it as xterm?
On Thu, Aug 08, 2019 at 01:57:28PM +0100, Ralph Corderoy wrote:
I found that if I export TERM=vt220 that most keys do work
If you start an xterm(1) and find TERM is `xterm' then I'd leave it alone.
but home and end in applications like nano and ne do not work still and cause weird behavior.
In the xterm, run `od -c' and type `Home Enter Ctrl-D' and then adjust the appropriate resources to match as they're probably wrong:
<Key>Home: string(0x1b) string("[3~") \n \
<Key>Home: string(0x1b) string("[1~") \n\
It may be better to slowly build up your X resources a bit at a time, understanding each, rather than adopt a mass at once and then try and discover the problems and debug them.
-- Cheers, Ralph.