On Sat, 14 Oct 2017, Will Senn wrote:
Check out
horsfall.org/keytest.c for something I wrote years ago.
Works great on my macbook, not valid in V7, but that's ok, now at least
I know what key value is being sent (0x7f).
I never claimed that it was portable :-) Going by the date, I'd say it
was written for a CCI Power-6/32 (sorta SysV-ish) with some odd terminals
that I had to incorporate into TERMINFO for our office software; I dimly
recall posting it to aus.sources in case others could use it.
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
suffer."