History log of /freebsd-current/usr.sbin/kbdcontrol/kbdcontrol.c
Revision Date Author Comments
# 338d9c35 07-Nov-2023 Elyes Haouas <ehaouas@noos.fr>

kbdcontrol: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Pull Request: https://github.com/freebsd/freebsd-src/pull/888
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>


# 968a3db7 22-Aug-2023 Jessica Clarke <jrtc27@FreeBSD.org>

kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD

Systems that predate 971bac5ace7a ("kbd: consolidate kb interfaces
(phase one)") cannot build kbdcontrol since kbdelays and kbrates moved
to sys/kbio.h. Moreover, on non-FreeBSD, it requires all kinds of ioctls
and sysctls that are highly FreeBSD-specific to build, but we use it as
a bootstrap tool to generate the keymaps used by some kernels (LINT ones
in particular). Thus, when bootstrapping kbdcontrol, disable everything
that's not needed for that singular use, and use the in-tree kbio.h to
get the definitions of the necessary structures.

This allows KBDMUX_DFLT_KEYMAP, UKBD_DFLT_KEYMAP and ATKBD_DFLT_KEYMAP
to be enabled when building on non-FreeBSD, and thus LINT kernels.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41541


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 761ab48d 06-Jul-2023 Warner Losh <imp@FreeBSD.org>

kbdcontrol: Remove compat code for 4.x -> 5.x transition

I think we're safely past that now...

Sponsored by: Netflix


# 971bac5a 06-Jul-2023 Michael <git@paepcke.de>

kbd: consolidate kb interfaces (phase one)

Refactor to eliminate duplicated rate and delay tables, with minor style
tweaks for changed lines. Remove an obsolete comment about needing to
convert from microseconds to ticks (that's done elsewhere). Remove
traiing whitespace in kbdcontrol.c.

Except for the new warning, no change in behavior

Sponsored by: DSS GmbH
Reviewed by: imp [minor style tweaks as well]
Pull Request: https://github.com/freebsd/pull/683
Differential Revision: https://reviews.freebsd.org/D38818


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# b4eab621 14-Feb-2023 Stefan Eßer <se@FreeBSD.org>

kbdcontrol.c: make pre-Unicode compatibility conditional

Support for the full range of Unicode character codes has been added
to the main keymap back in 2009, with compatibility shims added in
2011 (to support an older kbdcontrol command on a new kernel during
an upgrade from FreeBSD-8 to FreeBSD-9).

Unicode support for accented characters that are reached via dead key
combinations has been added just recently, again with compatibility
shims to allow all combinations of old/new kernel and old/new
kbdcontrol command to load and display the keymaps including the dead
key table. (But full Unicode in the dead key table requires both a new
kernel and kbdcontrol command.)

This commit makes the compatibility shims depend on the respective
compatibility ioctls (OGIO_KEYMAP, OPIO_KEYMAP, OGIO_DEADKEYMAP, and
OPIO_DEADKEYMAP) being defined in sys/kbio.h. This is true for all of
them in 13-STABLE, none in 12-STABLE (as of now), and will become
optional due to a follow-up commit to sys/kbio.h in -CURRENT.

This commit is the only part of review D38465 that should be merged
back to 12-STABLE and 13-STABLE.

MFC after: 1 month


# b92f8e5c 06-Feb-2023 Stefan Eßer <se@FreeBSD.org>

usr.sbin/kbdcontrol.c: Add backwards compatibility functions

This commit allows a kbdcontrol binary built with a version of kbio.h
that supports Unicode characters in dead key maps to load and display
keymaps including the dead key tables on a kernel built with a
previous version of kbio.h (that only supported 8 bit characters in
the dead key map).

This commit is meant as a temporary compatibility shim that will be
reverted when it can be assumed that all relevant systems have been
upgraded to a kernel that uses the updated kbio.h.

MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38388


# 73701bbe 24-Jun-2019 Warner Losh <imp@FreeBSD.org>

kbdcontrol -h prints two error messages.

We loop through getopt(3) twice. Once for -P args and once for the
rest. Catch '?' and print usage when that happens.


# 96329ce7 23-Jan-2019 Stefan Eßer <se@FreeBSD.org>

Silence Clang Scan warning about use of unitialized variable.

While the warning is a false positive, it is possible to clarify the code by
always initializing the variable. This does also allow to make the sending
of the "beep" control sequence depend on the validity of its parameters.

I have left the redundant assignment of 0 to the now initialized variables
in place since this makes the code simpler to understand and does not add
any run-time overhead (the compiler completely removes the "else if" test
and the assignments).

There was an embedded literal escape character in a string, which messes up
diplaying the source code on a terminal that interprets ANSI sequences. The
literal escape has been replaced by \e (non-standard, but supported by all
relevant compilers, and already used in other source files in base).

MFC after: 2 weeks


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


# 8c0d1b47 15-Mar-2016 Ed Maste <emaste@FreeBSD.org>

kbdcontrol: add -P path option to add keymap search paths

PR: 193865
Reviewed by: cem
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5645


# 0ae9426c 26-Aug-2014 Stefan Eßer <se@FreeBSD.org>

Remove band.aid that made kbdcontrol lookup keymap files in the syscons
path even under vt, which is no longer useful, since the syscons keymap
files have been converted and committed for use by vt.


# 895a99ef 26-Jul-2014 Stefan Eßer <se@FreeBSD.org>

The previous commit (r269119) introduced a regression: It removed the
ability to specify the the full path name of the keymap file.

Instead leave the original search order intact, but insert the path for
newcons-specific fonts (if run on a system using newcons):

- KEYMAP_PATH in environment
- full path name
- /usr/share/vt/keymaps (only if newcons is in use!)
- /usr/share/syscons/keymaps (also as fall-back for newcons)

MFC after: 1 week


# e34c3e18 25-Jul-2014 Stefan Eßer <se@FreeBSD.org>

Fix obvious off by one error: prefix[1] should be set to the path of the
newcons specific keymap files, not prefix[2]. The result of this bug was
that kbdcontrol ignored the files in the syscons keymap directory, which
apparently still work under newcons, for most locales.

MFC after: 1 week


# 6c79f788 02-Jul-2014 Ed Maste <emaste@FreeBSD.org>

Fix vt(4) detection in kbdcontrol and vidcontrol

As sc(4) and vt(4) coexist and are both enabled in GENERIC, the existence
of a vt(4) sysctl is not sufficient to determine that vt(4) is in use.

Reported by: Trond Endrestøl


# 2f11ee62 29-May-2014 Aleksandr Rybalko <ray@FreeBSD.org>

Enable kbdcontrol(1) to use maps from vt(4) keymaps dir /usr/share/vt/keymaps
if vt(4) is present.

MFC after: 7 days
Sponsored by: The FreeBSD Foundation


# f76b3199 29-Dec-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Reencode files to UTF-8. Drop CP1252 em-dash.


# 4d9a3537 11-Dec-2011 Ed Schouten <ed@FreeBSD.org>

Add missing static and const keywords to kbdcontrol.

None of the symbols provided by kbdcontrol.c are used by other source
files of this binary. Slightly reduce the binary size and make much more
symbols read-only by adding proper static and const keywords.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 9a958de5 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

ANSIfy some more tools in usr.sbin/.

Most of these tools build with WARNS=6, except for their use of K&R
function declarations.


# b05f9c86 19-Sep-2009 Ed Schouten <ed@FreeBSD.org>

Make the keyboard layer Unicode aware.

Just take keyent_t to use an u_int to store the Unicode codepoints.
Unfortunately the keymap is now too big to be loaded using an ioctl
argument, so change the ioctl to pick a pointer.

This change breaks kbdcontrol ABI. It doesn't break X11, because X11
doesn't do anything with syscons keymaps. It just switches the device
out of K_XLATE.

Obtained from: //depot/user/ed/newcons/...


# daf4075a 24-Aug-2009 Ed Schouten <ed@FreeBSD.org>

Unhardcode 0x100 inside kbdcontrol.

In preparation for Unicode support for the keyboard layer, we'd better
get rid of all the hardcoded 0x100/0xff constants in kbdcontrol.
Instead, add a flag called SPECIAL stored in the top bit of the integer.

Adding Unicode support is very simple now; just change u_char map[] to
u_int map[] in keyent_t, change the bounds checking in kbdcontrol to
0x1FFFFF and modify the ioctls to allow loading these new keymaps.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 5a66b663 15-Nov-2006 Ruslan Ermilov <ru@FreeBSD.org>

Replace magic numbers for console bell types with defines.


# eb65c05e 15-Sep-2006 Maksim Yevmenkin <emax@FreeBSD.org>

Make op parameter to mux_keyboard() u_int instead of int.
This should fix sparc64 messages like

Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45

PR: sparc64/96798
MFC after: 1 week


# 4673ea01 14-Jul-2005 Maksim Yevmenkin <emax@FreeBSD.org>

kbdmux(4) keyboard multiplexer integration

o Slightly change KBADDKBD and KBRELKBD ioctl() interface. Instead of passing
keyboard index pass keyboard_info_t structure with populated 'kb_unit' and
'kb_name' fields. Keyboard index is not very user-friendly and is not very
easy to obtain. Keyboard driver name and unit, on the other hand, is much
more user friendly and known almost all the time;

o Move definition of keyboard_info_t structure up;

o Teach kbdcontrol(1) how to attach/detach keyboards to/from the keyboard
multiplexor;

o Update kbdcontrol(1) man page and document new functionality.

To attach/detach keyboard to/from keyboard multiplexor one needs to use
keyboard device name (i.e. ukbd0).

MFC after: 1 week


# 37a0f391 08-Aug-2004 John-Mark Gurney <jmg@FreeBSD.org>

fix bug which prevented programming function keys that were exactly 16
characters long.. strcpy was coping over the length...

PR: 52960
Submitted by: Dmitry Sivachenko
MFC after: 1 week


# b728350e 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


# 4f5d9133 11-Jul-2002 Alfred Perlstein <alfred@FreeBSD.org>

WARNS?=4 cleanup.


# b6528e64 11-Jul-2002 Alfred Perlstein <alfred@FreeBSD.org>

de-__P()


# 21dc7d4f 02-Jun-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix typo in the BSD copyright: s/withough/without/

Spotted and suggested by: des
MFC after: 3 weeks


# 2619d7c2 08-Feb-2002 Ruslan Ermilov <ru@FreeBSD.org>

FreeBSD 4.1 bootstrapping aid (HALT and PDWN are not defined there).


# bdcfaae4 13-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Repeat after me: "when reporting `file not found', perform a little bit of
useful HCI consideration and tell which file was being looked for".


# 13edc254 29-May-2001 Maxim Sobolev <sobomax@FreeBSD.org>

- Syncronizes command line syntax warnings with manpage (bin/27010);
- silence gcc(1) warnings (sobomax).

PR: 27010
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>, sobomax
MFC after: 10 days


# 031c57af 28-May-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Move the scrollback controls from kbdcontrol to vidcontrol.
Also fix some style bugs in the code and poor language in the man pages.

Reviewed by: sobomax


# 50eb7c28 27-May-2001 Dima Dorfman <dd@FreeBSD.org>

Instead of defining CONS_CLRHIST if it isn't defined, simply disable
the -c option [when CONS_CLRHIST isn't defined]. This is okay since
the only time CONS_CLRHIST wouldn't be defined is when kbdcontrol is
being built in bootstrap-tools, and -c isn't needed then.

Submitted by: imp


# 68c805eb 26-May-2001 Dima Dorfman <dd@FreeBSD.org>

A la rev. 1.36, define CONS_CLRHIST here if it isn't already since
this is a build tool, so it has to build on 4.x with the old headers.


# 84d33715 26-May-2001 Dima Dorfman <dd@FreeBSD.org>

Add a -c option which clears the history buffer using the new
CONS_CLRHIST ioctl.

PR: 27616
Reviewed by: ru


# f83a28e0 15-May-2001 Warner Losh <imp@FreeBSD.org>

If PASTE isn't defined, define it as a transitional measure. This
allows me to complete make buildworld on my stable machine.

Also change termination case to be clearer what is going on while
searching for map files.


# 8e21e585 14-May-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix a possible segfault introduced in my previous commit.


# b010fac2 12-May-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Allow path where keyboard maps are looked for to be altered using environment
variable.


# 4629b5e0 11-Mar-2001 Andrey A. Chernov <ache@FreeBSD.org>

Implement keyboard paste

PR: 25499
Submitted by: Gaspar Chilingarov <nm@web.am>


# 00d25f51 08-Oct-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Initiate deorbit burn sequence for <machine/console.h>.

Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.


# 1c06ce61 11-Sep-2000 David Malone <dwmalone@FreeBSD.org>

Add the ability to define a "shutdown" and "shutdown and poweroff" key
to syscons. I have a man page to follow describing the format of the
kbdmap file.

PR: 19273
Reviewed by: sheldonh


# 52990a39 09-Dec-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Define some more function keys in the keymap: panic, lshifta, rshifta, etc.


# e46b89dc 14-Sep-1999 Peter Wemm <peter@FreeBSD.org>

Fix warning: return type of `main' is not `int'


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 39c33d76 22-Jul-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

- Add new argument `off' to the `-b' option. This will turn off
the bell.
- Document it in the man page.
- Fix a couple of typo in the man page.

Submitted by: cpiazza


# ac80d4b4 22-Jun-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Reflect recent changes in syscons.


# f64191e9 08-May-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Added backward compatibility to set key repeat rate.

Requested by: bde


# 27e62f67 17-Mar-1999 Gary Palmer <gpalmer@FreeBSD.org>

Fix builds for the AXP

Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>


# e9deda23 10-Mar-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Keyboard driver update in preparation for the USB keyboard driver.

- Refined internal interface in keyboard drivers so that:
1. the side effect of device probe is kept minimal,
2. polling mode function is added,
3. and new ioctl and configuration options are added (see below).

- Added new ioctl: KDSETREPEAT
Set keyboard typematic rate. There has existed an ioctl command,
KDSETRAD, for the same purpose. However, KDSETRAD is dependent on
the AT keyboard. KDSETREPEAT provides more generic interface.
KDSETRAD will still be supported in the atkbd driver.

- Added new configuration options:
ATKBD_DFLT_KEYMAP
Specify a keymap to be used as the default, built-in keymap.
(There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP,
SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap.
These options are now gone for good. The new option is more general.)

KBD_DISABLE_KEYMAP_LOADING
Don't allow the user to change the keymap.


# f01de75c 23-Jan-1999 Doug Rabson <dfr@FreeBSD.org>

Remove a workaround for the alpha port using an outdated version of syscons.


# 45d1a2e0 12-Jan-1999 Matt Jacob <mjacob@FreeBSD.org>

Fix for compiling on alpha.
Obtained from:yokota@zodiac.mech.utsunomiya-u.ac.jp


# c67e8bd3 10-Jan-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

The first stage of console driver reorganization: activate new
keyboard and video card drivers.


# d30ada6d 09-Sep-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

The fix in the previous commit was not sufficient; the upper 24 bits
of an int argument still contained garbage.
Pointed out by: bde
PR: bin/7799


# afab2905 04-Sep-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

Fix uninitialized variable.

PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)


# b897510f 06-Aug-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

The control code ^_ (0x1f) should really be called "us" rather than "ns".
In the mean time, accept both "us" and "ns" in the keymap file as ^_
for the compatibility with the existing keymap files.


# 28d2c691 03-Aug-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

Added the `saver' key definition. The saver key will activate the screen
saver if one is loaded.


# 2aa0aafb 03-Aug-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

- Set bell pitch in hertz and duration in msecs.
The change corresponds to syscons.c 1.268.

PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)


# 7e5ee0f5 05-May-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix the search sequence for keymaps.

PR: bin/6522
Submitted by: Rudolf Cejka


# 2c807029 12-Jan-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

Fix the output of `kbdcontrol -L _keymap_file_' which I broke in the last
commit ;-< /usr/src/release/sysinstall/Makefile uses it to generate
built-in keymap tables.


# 1f150ac4 07-Jan-1998 Kazutaka YOKOTA <yokota@FreeBSD.org>

Added accent (dead) key support to syscons and kbdcontrol.

With a keymap with accent key definitions loaded to syscons, you press
an accent key followed by a regular letter key to produce an accented
letter. Press an accent key followed by the space bar to get the
accent letter itself.

Code is based on the ideas and work by jmrueda@diatel.upm.es and
totii@est.is.

PR: i386/4016

- Added keywords for accent (dead) keys: dgra, dacu, dcir, dtil...
- Recognize accent map definitions.
<accent_map_definition> ::= <accent_key_name> <accent_char> <accent_map>
<accent_key_name> ::= dgra | dacu | dcir | dtil | dmac | dbre | ddot |
duml | dsla | drin | dced | dapo | ddac | dogo |
dcar
<accent_map> ::= <map_entry>
| <map_entry> <accent_map>
<map_entry> ::= ( <regular_letter_char> <accented_char> )
- Use ioctls PIO_DEADKEYMAP and GIO_DEADKEYMAP to set and get the accent
key map table in syscons.
- Made the output for the -L option more intelligible and look like
initializers in kbdtables.h.
- Reorganized print functions in order to print the accent key map.


# 2976d54b 19-Sep-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Typo fixes in man page.


# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 501d86ef 09-Nov-1996 Joerg Wunsch <joerg@FreeBSD.org>

Implement a -L option that dumps the compiled keymap (as C code) to
stdout. The next commit to sysinstall will use this...


# d3628763 11-Jun-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Merge RELENG_2_0_5 into HEAD


# 709e8f9a 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 00e0cb65 30-Jan-1995 Søren Schmidt <sos@FreeBSD.org>

Added h option for setting the historysize.
fixed problem with Both n&C flags.


# a926a37b 28-Jan-1995 Søren Schmidt <sos@FreeBSD.org>

Third round in syscons update.

Display update method changed, now allways write in memory buffer,
then periodically update physical display.
Speed improvements (now > 5 times faster than the old syscons).
History now circular buffer, with changeable size.
History scroll by up/down line, up/down page, home and end.
Backtab proberly implemented.
Now space for 96 function keys, 63 allocated standard, default now
SCO/SYSV compat again as in the old days.
New keyboard definition files ~share/syscons/keymaps/*
Misc fixes for old "hacks" that broke SCO/SYSV compat.
More that I forgot before writing this...


# 63787756 12-Jan-1995 Søren Schmidt <sos@FreeBSD.org>

First round in syscons update. Several new features has been added:

No kernel config options anymore besides keyboard language layout.
Virtual consoles are now dynamically allocated, no NCONS anymore.
Software cursor blinking/nonblinking.
Visual bell for laptops (don't beep at meetings :-).
Cursor/bell default type setable via config "flags" instead of as defines.
Cursor/bell type setable via ioctl's.
New video modes 80x30 80x60 for some laptops, and those with multisync monitors.
Scroll-lock history (length currently fixed at 100 lines).
Lots of cleanups, some only commented out for now (will goaway soon).
Support for new features in vidcontrol/kbdcontrol.
Updated manpages.


# be0856f8 25-Oct-1994 Steven Wallace <swallace@FreeBSD.org>

Applied patch009. Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by: Gene Stark (?) - 1.1.5.1 patch009


# 08bddad1 17-Aug-1994 Søren Schmidt <sos@FreeBSD.org>

Added kbdcontrol util from 1.1.5.1+

Reviewed by:
Submitted by: