[Toybox] Would you consider adding showkey...but

Rob Landley rob at landley.net
Wed May 15 09:32:28 PDT 2013


On 05/14/2013 08:04:33 PM, scsijon wrote:
> Would you consider adding the busybox showkey, but with a user set  
> time
> including 0 for immediate, rather than the default 10 seconds?

Um, details?

I don't think I've ever used busybox showkey, but I'm happy to look at  
patch submissions. (I may be a little overwhelmed with _dealing_ with  
them, but I'm working as fast as I can. Still chewing on ifconfig when  
I have time, and then mount's queued up right after that...)

Let's see, fire it up in an xterm and see what it does:

landley at driftwood:~$ ./busybox-x86_64 showkey
showkey: KDGKBMODE: Invalid argument
                                     landley at driftwood:~$

And it left my terminal in raw mode. Very nice. My static busybox lying  
around is 1.19.0, maybe they've fixed this since then? Git log on  
showkey.c says last touched in 2011, so I'm guessing no. Maybe it  
doesn't like xfce's terminal program? Dunno...

> We wish to add the ability of checking a <ctrl>, <alt>, etc. key in  
> the init
> and control the response depending on the keycode for function,  
> rather than
> expect them to wait 10 seconds each time.

Send me a patch?

Thanks,

Rob


More information about the Toybox mailing list