Re: Howto Distinguish Prior from KP_Prior



Thomas Dickey staggered into the Black Sun and said:
Dances With Crows wrote:
Pretty much, though there could be exceptions. konsole treats Prior
and KP_Prior exactly the same way, as does xterm. I don't know
whether gnome-terminal does or not.
actually xterm doesn't treat them identically, though in the default
configuration they are

That explains it; I just started an ordinary xterm and read stdin and
dumped the read chars in hex. Didn't mess with remapping things, though
now I see how to do that (grep xterm man page for "keymap").

gnome-terminal copies a lot of functionality from xterm, but since
it's not documented except in the source-code, it's hard to say what
it's capable of doing without testing

It wouldn't surprise me if the remapping wasn't there, since being able
to remap keys like that on an app-specific basis is AFAICT not a high
demand feature. But ICBW.

--
Hope is gone and she confessed / When you lay your dreams to rest
You can get what's second best / But it's hard to get enough...
--David Wilcox, "Eye of the Hurricane"
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.