stty erase '^?' in v7

Dave Horsfall dave at horsfall.org
Sat Oct 14 16:31:51 AEST 2017


On Sat, 14 Oct 2017, Noel Chiappa wrote:

>    > 3. Is there a way to echo the ascii value of a keypress in v7?
>
> A quick look through tty.c suggests this doesn't exist in V7 - without 
> running a user program that puts the TTY in 'raw' mode and prints out 
> what it sees. Not sure if there is one off the rack, or if you'd have to 
> whip up a 20-line program to do it.

Check out horsfall.org/keytest.c for something I wrote years ago.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."



More information about the TUHS mailing list