From nobody@FreeBSD.org  Fri Jul 12 15:21:17 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 2FAD1C38
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 15:21:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 222081BD2
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 15:21:17 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6CFLFtn095277
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 15:21:15 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6CFLFAw095273;
	Fri, 12 Jul 2013 15:21:15 GMT
	(envelope-from nobody)
Message-Id: <201307121521.r6CFLFAw095273@oldred.freebsd.org>
Date: Fri, 12 Jul 2013 15:21:15 GMT
From: Kip Coul <kip.coul@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kbdcontrol cannot override function keys < 65
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180497
>Category:       bin
>Synopsis:       kbdcontrol(1) cannot override function keys < 65
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 15:30:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Jul 21 04:21:50 UTC 2013
>Originator:     Kip Coul
>Release:        FreeBSD 9.1 amd64
>Organization:
Medlo
>Environment:
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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!
>How-To-Repeat:
Type
kbdcontrol -f 1 "string"

then click F1 on your keyboard and see that "string" is not displayed.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
