Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 17:09:59 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Pragm B <pragmb@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Can't override function keys in kbdcontrol
Message-ID:  <CAGwOe2Z1NWt4qTfG0hVkW93nxznVC5tPTj2pO_msPMmvAA6i2Q@mail.gmail.com>
In-Reply-To: <CAGLPJe2Qz8bVSYdnqWuq0E8y_dVtgKaxsuM-poD_sh491scpsg@mail.gmail.com>
References:  <CAGLPJe2Qz8bVSYdnqWuq0E8y_dVtgKaxsuM-poD_sh491scpsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 29, 2013 at 11:06 AM, Pragm B <pragmb@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Z1NWt4qTfG0hVkW93nxznVC5tPTj2pO_msPMmvAA6i2Q>