[arch-general] Xterm and .Xresources

Ralph Corderoy ralph at inputplus.co.uk
Thu Aug 8 12:57:28 UTC 2019


Hi Storm,

> 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.


More information about the arch-general mailing list