Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 18:26:33 +0200 (CEST)
From:      Marco van de Voort <marcov@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/40423: Keyboard(4)'s definition of parameters to GETFKEY/SETFKEY off by one.
Message-ID:  <20020710162633.1F9B998D1@toad.stack.nl>

next in thread | raw e-mail | index | archive | help

>Number:         40423
>Category:       docs
>Synopsis:       Keyboard(4)'s definition of parameters to GETFKEY/SETFKEY off by one.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 10 09:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Marco van de Voort
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
MCGV Stack
>Environment:
System: FreeBSD toad.stack.nl 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 23 17:18:50 CEST 2002 marcolz@toad.stack.nl:/toad.mnt/sources/4.x/sys/compile/toad_vwww i386
 (Man page, system unimportant)
>Description:
The C IOCTL (SET/GETFKEY) interface to set "function keys" requires
parameters in the range 0..63 (actually 0..95)

Kbdcontrol -f remaps them to 1..64 (1..96)

Keyboard(4) which describes (amongst others) the SET/GETFKEY functions
specifies the range as 1..64, while not mentioning that kbdcontrol
add/subtracts 1 internally when necessary

>How-To-Repeat:
 man 4 keyboard
>Fix:
Mention that there is a difference between the C level interface and the
kbdcontrol parameter with respect to the range of the function keys.


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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