#
1.36 |
|
05-May-2022 |
bluhm |
Add error handling if setting the keyboard encoding fails. After open of all /dev/wskbd* devices failed, report the error from the first one. Also wrap long lines. OK mpi@
|
#
1.35 |
|
17-Apr-2022 |
bluhm |
When kbd -l was executed as regular user, it failed silently. Try to open all wskbd devices, but report the first error and exit if none was successful. OK deraadt@ espie@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.34 |
|
22-Jan-2020 |
tedu |
remove semicolons not needed after } statements. ok deraadt
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.33 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.32 |
|
03-Oct-2016 |
jca |
Those while loops look better written as for loops
ok kettenis@
|
#
1.31 |
|
30-Sep-2016 |
kettenis |
Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard encodings. Restores functionality lost when removing the kvm groveling code.
ok deraadt@, jca@
|
#
1.30 |
|
27-Sep-2016 |
deraadt |
remove more kvm code
|
#
1.29 |
|
26-Sep-2016 |
kettenis |
Remove kvm groveling code. To restore the lost functionality we need to implement something like a WSKBDIO_GETENCODINGS ioctl that fetches a list of possible encodings for the specified keyboard from the kernel. Until that happens, kbd -l will simple show the same harcoded list of possible encodings as the installer does.
Prompted by deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.28 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.27 |
|
26-Mar-2014 |
miod |
Drop Apollo Domain keyboard support, now that hp300 has bitten the dust. Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.26 |
|
13-Jul-2012 |
shadchin |
Use NULL instead of 0 for pointers
ok gilles@, guenther@
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.25 |
|
23-Jun-2008 |
miod |
Do not compile the ``kbd needs to be rebuilt'' test if -DNOKVM. Should shave a few bytes off the installation media filesystems.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.24 |
|
31-Jul-2006 |
miod |
Now that we can report either LK201 or LK401 as the keyboard type, do the right thing there.
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.23 |
|
07-May-2005 |
miod |
Add support for the domain keyboards, and simplify the kbd -l logic.
|
#
1.22 |
|
07-May-2005 |
miod |
Check for kvm_nlist failure to retrieve all keyboard map symbols, and do not dispaly garbage in this case.
|
#
1.21 |
|
27-Mar-2005 |
deraadt |
provide enough of a -l mode in non-kvm snooping mode, and krw can shrink the install script even more
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
08-Oct-2004 |
jaredy |
it's kbd(8) not kbd(1)
|
#
1.19 |
|
08-Oct-2004 |
millert |
Use LINE_MAX, not _POSIX2_LINE_MAX. OK miod@
|
#
1.18 |
|
08-Oct-2004 |
jaredy |
fix an overflow in the encoding/variant parsing. ok miod henning
|
#
1.17 |
|
16-Sep-2004 |
deraadt |
shrink the code in the -DNOKVM case
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.16 |
|
09-May-2004 |
deraadt |
lint says toss unused variable away
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.15 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ millert@ tedu@
|
#
1.14 |
|
02-Jul-2003 |
deraadt |
missing protos
|
#
1.13 |
|
02-Jun-2003 |
maja |
remove clause 3 and 4. -moj
|
#
1.12 |
|
30-Mar-2003 |
jsyn |
typos/grammar
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.11 |
|
16-Feb-2003 |
miod |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
|
#
1.10 |
|
12-Feb-2003 |
maja |
Add support for WSKBD_TYPE_HIL. -moj ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
03-Jul-2002 |
deraadt |
ansi
|
#
1.8 |
|
29-May-2002 |
maja |
Add support for WSKBD_TYPE_SUN5. -moj ok miod@
|
#
1.7 |
|
22-May-2002 |
deraadt |
strcpy, sprintf death; mpech ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
12-Apr-2002 |
deraadt |
kbd setting code for the installer. kbd needs to be compiled without KVM support. smat@acm.org, miod, and krw.
|
#
1.5 |
|
19-Feb-2002 |
maja |
Add support for sparc64 and sun keyboards. -moj
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.4 |
|
07-Jul-2001 |
deraadt |
major -Wall cleanup, almost complete
|
#
1.3 |
|
04-Jun-2001 |
maja |
Add support for vax lk201 keyboard. Add code to check if new variants or encodings exists in kernel. If so suggest to rebuild kbd(1). -moj
|
#
1.2 |
|
04-May-2001 |
millert |
Typo in error string; grange@rt.mipt.ru
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.1 |
|
08-Mar-2001 |
maja |
Add support for wscons. Support for PC, USB and ADB keyboards. Enabled for i386 and powerpc. This makes it possible to list which encodings are known by the kernel.
kbd_wscons.c needs struct wscons_keydesc from the newly commited <dev/wscons/wsksymvar.h>. -moj ok @aaron
|
#
1.35 |
|
17-Apr-2022 |
bluhm |
When kbd -l was executed as regular user, it failed silently. Try to open all wskbd devices, but report the first error and exit if none was successful. OK deraadt@ espie@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.34 |
|
22-Jan-2020 |
tedu |
remove semicolons not needed after } statements. ok deraadt
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.33 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.32 |
|
03-Oct-2016 |
jca |
Those while loops look better written as for loops
ok kettenis@
|
#
1.31 |
|
30-Sep-2016 |
kettenis |
Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard encodings. Restores functionality lost when removing the kvm groveling code.
ok deraadt@, jca@
|
#
1.30 |
|
27-Sep-2016 |
deraadt |
remove more kvm code
|
#
1.29 |
|
26-Sep-2016 |
kettenis |
Remove kvm groveling code. To restore the lost functionality we need to implement something like a WSKBDIO_GETENCODINGS ioctl that fetches a list of possible encodings for the specified keyboard from the kernel. Until that happens, kbd -l will simple show the same harcoded list of possible encodings as the installer does.
Prompted by deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.28 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.27 |
|
26-Mar-2014 |
miod |
Drop Apollo Domain keyboard support, now that hp300 has bitten the dust. Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.26 |
|
13-Jul-2012 |
shadchin |
Use NULL instead of 0 for pointers
ok gilles@, guenther@
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.25 |
|
23-Jun-2008 |
miod |
Do not compile the ``kbd needs to be rebuilt'' test if -DNOKVM. Should shave a few bytes off the installation media filesystems.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.24 |
|
31-Jul-2006 |
miod |
Now that we can report either LK201 or LK401 as the keyboard type, do the right thing there.
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.23 |
|
07-May-2005 |
miod |
Add support for the domain keyboards, and simplify the kbd -l logic.
|
#
1.22 |
|
07-May-2005 |
miod |
Check for kvm_nlist failure to retrieve all keyboard map symbols, and do not dispaly garbage in this case.
|
#
1.21 |
|
27-Mar-2005 |
deraadt |
provide enough of a -l mode in non-kvm snooping mode, and krw can shrink the install script even more
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
08-Oct-2004 |
jaredy |
it's kbd(8) not kbd(1)
|
#
1.19 |
|
08-Oct-2004 |
millert |
Use LINE_MAX, not _POSIX2_LINE_MAX. OK miod@
|
#
1.18 |
|
08-Oct-2004 |
jaredy |
fix an overflow in the encoding/variant parsing. ok miod henning
|
#
1.17 |
|
16-Sep-2004 |
deraadt |
shrink the code in the -DNOKVM case
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.16 |
|
09-May-2004 |
deraadt |
lint says toss unused variable away
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.15 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ millert@ tedu@
|
#
1.14 |
|
02-Jul-2003 |
deraadt |
missing protos
|
#
1.13 |
|
02-Jun-2003 |
maja |
remove clause 3 and 4. -moj
|
#
1.12 |
|
30-Mar-2003 |
jsyn |
typos/grammar
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.11 |
|
16-Feb-2003 |
miod |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
|
#
1.10 |
|
12-Feb-2003 |
maja |
Add support for WSKBD_TYPE_HIL. -moj ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
03-Jul-2002 |
deraadt |
ansi
|
#
1.8 |
|
29-May-2002 |
maja |
Add support for WSKBD_TYPE_SUN5. -moj ok miod@
|
#
1.7 |
|
22-May-2002 |
deraadt |
strcpy, sprintf death; mpech ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
12-Apr-2002 |
deraadt |
kbd setting code for the installer. kbd needs to be compiled without KVM support. smat@acm.org, miod, and krw.
|
#
1.5 |
|
19-Feb-2002 |
maja |
Add support for sparc64 and sun keyboards. -moj
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.4 |
|
07-Jul-2001 |
deraadt |
major -Wall cleanup, almost complete
|
#
1.3 |
|
04-Jun-2001 |
maja |
Add support for vax lk201 keyboard. Add code to check if new variants or encodings exists in kernel. If so suggest to rebuild kbd(1). -moj
|
#
1.2 |
|
04-May-2001 |
millert |
Typo in error string; grange@rt.mipt.ru
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.1 |
|
08-Mar-2001 |
maja |
Add support for wscons. Support for PC, USB and ADB keyboards. Enabled for i386 and powerpc. This makes it possible to list which encodings are known by the kernel.
kbd_wscons.c needs struct wscons_keydesc from the newly commited <dev/wscons/wsksymvar.h>. -moj ok @aaron
|
#
1.34 |
|
22-Jan-2020 |
tedu |
remove semicolons not needed after } statements. ok deraadt
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.33 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.32 |
|
03-Oct-2016 |
jca |
Those while loops look better written as for loops
ok kettenis@
|
#
1.31 |
|
30-Sep-2016 |
kettenis |
Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard encodings. Restores functionality lost when removing the kvm groveling code.
ok deraadt@, jca@
|
#
1.30 |
|
27-Sep-2016 |
deraadt |
remove more kvm code
|
#
1.29 |
|
26-Sep-2016 |
kettenis |
Remove kvm groveling code. To restore the lost functionality we need to implement something like a WSKBDIO_GETENCODINGS ioctl that fetches a list of possible encodings for the specified keyboard from the kernel. Until that happens, kbd -l will simple show the same harcoded list of possible encodings as the installer does.
Prompted by deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.28 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.27 |
|
26-Mar-2014 |
miod |
Drop Apollo Domain keyboard support, now that hp300 has bitten the dust. Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.26 |
|
13-Jul-2012 |
shadchin |
Use NULL instead of 0 for pointers
ok gilles@, guenther@
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.25 |
|
23-Jun-2008 |
miod |
Do not compile the ``kbd needs to be rebuilt'' test if -DNOKVM. Should shave a few bytes off the installation media filesystems.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.24 |
|
31-Jul-2006 |
miod |
Now that we can report either LK201 or LK401 as the keyboard type, do the right thing there.
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.23 |
|
07-May-2005 |
miod |
Add support for the domain keyboards, and simplify the kbd -l logic.
|
#
1.22 |
|
07-May-2005 |
miod |
Check for kvm_nlist failure to retrieve all keyboard map symbols, and do not dispaly garbage in this case.
|
#
1.21 |
|
27-Mar-2005 |
deraadt |
provide enough of a -l mode in non-kvm snooping mode, and krw can shrink the install script even more
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
08-Oct-2004 |
jaredy |
it's kbd(8) not kbd(1)
|
#
1.19 |
|
08-Oct-2004 |
millert |
Use LINE_MAX, not _POSIX2_LINE_MAX. OK miod@
|
#
1.18 |
|
08-Oct-2004 |
jaredy |
fix an overflow in the encoding/variant parsing. ok miod henning
|
#
1.17 |
|
16-Sep-2004 |
deraadt |
shrink the code in the -DNOKVM case
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.16 |
|
09-May-2004 |
deraadt |
lint says toss unused variable away
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.15 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ millert@ tedu@
|
#
1.14 |
|
02-Jul-2003 |
deraadt |
missing protos
|
#
1.13 |
|
02-Jun-2003 |
maja |
remove clause 3 and 4. -moj
|
#
1.12 |
|
30-Mar-2003 |
jsyn |
typos/grammar
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.11 |
|
16-Feb-2003 |
miod |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
|
#
1.10 |
|
12-Feb-2003 |
maja |
Add support for WSKBD_TYPE_HIL. -moj ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
03-Jul-2002 |
deraadt |
ansi
|
#
1.8 |
|
29-May-2002 |
maja |
Add support for WSKBD_TYPE_SUN5. -moj ok miod@
|
#
1.7 |
|
22-May-2002 |
deraadt |
strcpy, sprintf death; mpech ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
12-Apr-2002 |
deraadt |
kbd setting code for the installer. kbd needs to be compiled without KVM support. smat@acm.org, miod, and krw.
|
#
1.5 |
|
19-Feb-2002 |
maja |
Add support for sparc64 and sun keyboards. -moj
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.4 |
|
07-Jul-2001 |
deraadt |
major -Wall cleanup, almost complete
|
#
1.3 |
|
04-Jun-2001 |
maja |
Add support for vax lk201 keyboard. Add code to check if new variants or encodings exists in kernel. If so suggest to rebuild kbd(1). -moj
|
#
1.2 |
|
04-May-2001 |
millert |
Typo in error string; grange@rt.mipt.ru
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.1 |
|
08-Mar-2001 |
maja |
Add support for wscons. Support for PC, USB and ADB keyboards. Enabled for i386 and powerpc. This makes it possible to list which encodings are known by the kernel.
kbd_wscons.c needs struct wscons_keydesc from the newly commited <dev/wscons/wsksymvar.h>. -moj ok @aaron
|
#
1.33 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.32 |
|
03-Oct-2016 |
jca |
Those while loops look better written as for loops
ok kettenis@
|
#
1.31 |
|
30-Sep-2016 |
kettenis |
Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard encodings. Restores functionality lost when removing the kvm groveling code.
ok deraadt@, jca@
|
#
1.30 |
|
27-Sep-2016 |
deraadt |
remove more kvm code
|
#
1.29 |
|
26-Sep-2016 |
kettenis |
Remove kvm groveling code. To restore the lost functionality we need to implement something like a WSKBDIO_GETENCODINGS ioctl that fetches a list of possible encodings for the specified keyboard from the kernel. Until that happens, kbd -l will simple show the same harcoded list of possible encodings as the installer does.
Prompted by deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.28 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.27 |
|
26-Mar-2014 |
miod |
Drop Apollo Domain keyboard support, now that hp300 has bitten the dust. Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.26 |
|
13-Jul-2012 |
shadchin |
Use NULL instead of 0 for pointers
ok gilles@, guenther@
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.25 |
|
23-Jun-2008 |
miod |
Do not compile the ``kbd needs to be rebuilt'' test if -DNOKVM. Should shave a few bytes off the installation media filesystems.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.24 |
|
31-Jul-2006 |
miod |
Now that we can report either LK201 or LK401 as the keyboard type, do the right thing there.
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.23 |
|
07-May-2005 |
miod |
Add support for the domain keyboards, and simplify the kbd -l logic.
|
#
1.22 |
|
07-May-2005 |
miod |
Check for kvm_nlist failure to retrieve all keyboard map symbols, and do not dispaly garbage in this case.
|
#
1.21 |
|
27-Mar-2005 |
deraadt |
provide enough of a -l mode in non-kvm snooping mode, and krw can shrink the install script even more
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
08-Oct-2004 |
jaredy |
it's kbd(8) not kbd(1)
|
#
1.19 |
|
08-Oct-2004 |
millert |
Use LINE_MAX, not _POSIX2_LINE_MAX. OK miod@
|
#
1.18 |
|
08-Oct-2004 |
jaredy |
fix an overflow in the encoding/variant parsing. ok miod henning
|
#
1.17 |
|
16-Sep-2004 |
deraadt |
shrink the code in the -DNOKVM case
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.16 |
|
09-May-2004 |
deraadt |
lint says toss unused variable away
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.15 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ millert@ tedu@
|
#
1.14 |
|
02-Jul-2003 |
deraadt |
missing protos
|
#
1.13 |
|
02-Jun-2003 |
maja |
remove clause 3 and 4. -moj
|
#
1.12 |
|
30-Mar-2003 |
jsyn |
typos/grammar
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.11 |
|
16-Feb-2003 |
miod |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
|
#
1.10 |
|
12-Feb-2003 |
maja |
Add support for WSKBD_TYPE_HIL. -moj ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
03-Jul-2002 |
deraadt |
ansi
|
#
1.8 |
|
29-May-2002 |
maja |
Add support for WSKBD_TYPE_SUN5. -moj ok miod@
|
#
1.7 |
|
22-May-2002 |
deraadt |
strcpy, sprintf death; mpech ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
12-Apr-2002 |
deraadt |
kbd setting code for the installer. kbd needs to be compiled without KVM support. smat@acm.org, miod, and krw.
|
#
1.5 |
|
19-Feb-2002 |
maja |
Add support for sparc64 and sun keyboards. -moj
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.4 |
|
07-Jul-2001 |
deraadt |
major -Wall cleanup, almost complete
|
#
1.3 |
|
04-Jun-2001 |
maja |
Add support for vax lk201 keyboard. Add code to check if new variants or encodings exists in kernel. If so suggest to rebuild kbd(1). -moj
|
#
1.2 |
|
04-May-2001 |
millert |
Typo in error string; grange@rt.mipt.ru
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.1 |
|
08-Mar-2001 |
maja |
Add support for wscons. Support for PC, USB and ADB keyboards. Enabled for i386 and powerpc. This makes it possible to list which encodings are known by the kernel.
kbd_wscons.c needs struct wscons_keydesc from the newly commited <dev/wscons/wsksymvar.h>. -moj ok @aaron
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.32 |
|
03-Oct-2016 |
jca |
Those while loops look better written as for loops
ok kettenis@
|
#
1.31 |
|
30-Sep-2016 |
kettenis |
Use WSKBDIO_GETENCODINGS ioctl to generate a list of supported keyboard encodings. Restores functionality lost when removing the kvm groveling code.
ok deraadt@, jca@
|
#
1.30 |
|
27-Sep-2016 |
deraadt |
remove more kvm code
|
#
1.29 |
|
26-Sep-2016 |
kettenis |
Remove kvm groveling code. To restore the lost functionality we need to implement something like a WSKBDIO_GETENCODINGS ioctl that fetches a list of possible encodings for the specified keyboard from the kernel. Until that happens, kbd -l will simple show the same harcoded list of possible encodings as the installer does.
Prompted by deraadt@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.28 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.27 |
|
26-Mar-2014 |
miod |
Drop Apollo Domain keyboard support, now that hp300 has bitten the dust. Replace it with SGI serial keyboard support (zskbd@zs@hpc).
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.26 |
|
13-Jul-2012 |
shadchin |
Use NULL instead of 0 for pointers
ok gilles@, guenther@
|
Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.25 |
|
23-Jun-2008 |
miod |
Do not compile the ``kbd needs to be rebuilt'' test if -DNOKVM. Should shave a few bytes off the installation media filesystems.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.24 |
|
31-Jul-2006 |
miod |
Now that we can report either LK201 or LK401 as the keyboard type, do the right thing there.
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.23 |
|
07-May-2005 |
miod |
Add support for the domain keyboards, and simplify the kbd -l logic.
|
#
1.22 |
|
07-May-2005 |
miod |
Check for kvm_nlist failure to retrieve all keyboard map symbols, and do not dispaly garbage in this case.
|
#
1.21 |
|
27-Mar-2005 |
deraadt |
provide enough of a -l mode in non-kvm snooping mode, and krw can shrink the install script even more
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.20 |
|
08-Oct-2004 |
jaredy |
it's kbd(8) not kbd(1)
|
#
1.19 |
|
08-Oct-2004 |
millert |
Use LINE_MAX, not _POSIX2_LINE_MAX. OK miod@
|
#
1.18 |
|
08-Oct-2004 |
jaredy |
fix an overflow in the encoding/variant parsing. ok miod henning
|
#
1.17 |
|
16-Sep-2004 |
deraadt |
shrink the code in the -DNOKVM case
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.16 |
|
09-May-2004 |
deraadt |
lint says toss unused variable away
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.15 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ millert@ tedu@
|
#
1.14 |
|
02-Jul-2003 |
deraadt |
missing protos
|
#
1.13 |
|
02-Jun-2003 |
maja |
remove clause 3 and 4. -moj
|
#
1.12 |
|
30-Mar-2003 |
jsyn |
typos/grammar
these are the only instances of s/WSKBD/WDKBD/ needed in the tree; ok miod@
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.11 |
|
16-Feb-2003 |
miod |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
|
#
1.10 |
|
12-Feb-2003 |
maja |
Add support for WSKBD_TYPE_HIL. -moj ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.9 |
|
03-Jul-2002 |
deraadt |
ansi
|
#
1.8 |
|
29-May-2002 |
maja |
Add support for WSKBD_TYPE_SUN5. -moj ok miod@
|
#
1.7 |
|
22-May-2002 |
deraadt |
strcpy, sprintf death; mpech ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.6 |
|
12-Apr-2002 |
deraadt |
kbd setting code for the installer. kbd needs to be compiled without KVM support. smat@acm.org, miod, and krw.
|
#
1.5 |
|
19-Feb-2002 |
maja |
Add support for sparc64 and sun keyboards. -moj
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.4 |
|
07-Jul-2001 |
deraadt |
major -Wall cleanup, almost complete
|
#
1.3 |
|
04-Jun-2001 |
maja |
Add support for vax lk201 keyboard. Add code to check if new variants or encodings exists in kernel. If so suggest to rebuild kbd(1). -moj
|
#
1.2 |
|
04-May-2001 |
millert |
Typo in error string; grange@rt.mipt.ru
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.1 |
|
08-Mar-2001 |
maja |
Add support for wscons. Support for PC, USB and ADB keyboards. Enabled for i386 and powerpc. This makes it possible to list which encodings are known by the kernel.
kbd_wscons.c needs struct wscons_keydesc from the newly commited <dev/wscons/wsksymvar.h>. -moj ok @aaron
|