[arch-general] Xterm and .Xresources

Storm Dragon stormdragon2976 at gmail.com
Sat Aug 10 23:09:56 UTC 2019


Howdy Ralph,

Thanks for the help. My TERM reports as Linux. Should I export it as xterm?

Thanks,
Storm

On Thu, Aug 08, 2019 at 01:57:28PM +0100, Ralph Corderoy wrote:
>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.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20190810/b900ff6f/attachment.sig>


More information about the arch-general mailing list