Can't override function keys in kbdcontrol

Fernando Apesteguía fernando.apesteguia at gmail.com
Mon Jul 29 15:10:02 UTC 2013


On Mon, Jul 29, 2013 at 11:06 AM, Pragm B <pragmb at gmail.com> wrote:

> Hello everyone,
>
> I have problems overriding the functions keys of my keyboard in FreeBSD 9.1
>
> The kbdcontrol utility can be used to define specific values for the
> function keys. See here:
>
> http://www.freebsd.org/cgi/man.cgi?query=atkbd&apropos=0&sektion=0&manpath=FreeBSD+9.1-RELEASE&arch=default&format=html
>
> It is stated that the function keys can be overridden using
> kbdcontrol -f # s
>
> where '#' is a number from 1 to 96 and 's' is a string that will be
> outputted.
>
> When '#' is between 65 and 96 (unassigned functions), this works.
> However, this does not work for functions keys between 1 and 64!
>

What do you mean by "does not work"? Do you get any errors?

I'm on 9.1-RELEASE-p3

$ kbdcontrol -f 37 "hello"

Here I type Ctrl-Shift-F1 and get:
$hello




>
> Any insight is much appreciated :)
>
> Cheers,
> Pragmb
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list