diff options
Diffstat (limited to 'usr.sbin/kbdmap')
| -rw-r--r-- | usr.sbin/kbdmap/Makefile | 3 | ||||
| -rw-r--r-- | usr.sbin/kbdmap/Makefile.depend | 3 | ||||
| -rw-r--r-- | usr.sbin/kbdmap/TODO | 1 | ||||
| -rw-r--r-- | usr.sbin/kbdmap/kbdmap.1 | 9 | ||||
| -rw-r--r-- | usr.sbin/kbdmap/kbdmap.c | 9 | ||||
| -rw-r--r-- | usr.sbin/kbdmap/kbdmap.h | 4 |
6 files changed, 10 insertions, 19 deletions
diff --git a/usr.sbin/kbdmap/Makefile b/usr.sbin/kbdmap/Makefile index 22747e70720c..0b79de962382 100644 --- a/usr.sbin/kbdmap/Makefile +++ b/usr.sbin/kbdmap/Makefile @@ -1,5 +1,4 @@ -# $FreeBSD$ - +PACKAGE= console-tools PROG= kbdmap CFLAGS+= -I${SRCTOP}/contrib/bsddialog/lib LIBADD= bsddialog diff --git a/usr.sbin/kbdmap/Makefile.depend b/usr.sbin/kbdmap/Makefile.depend index 6cfaab1c3644..63fe0b5e1069 100644 --- a/usr.sbin/kbdmap/Makefile.depend +++ b/usr.sbin/kbdmap/Makefile.depend @@ -1,11 +1,10 @@ -# $FreeBSD$ # Autogenerated - do NOT edit! DIRDEPS = \ - gnu/lib/csu \ include \ include/xlocale \ lib/${CSU_DIR} \ + lib/libbsddialog \ lib/libc \ lib/libcompiler_rt \ diff --git a/usr.sbin/kbdmap/TODO b/usr.sbin/kbdmap/TODO index cef30f79ba1b..039e92fb0250 100644 --- a/usr.sbin/kbdmap/TODO +++ b/usr.sbin/kbdmap/TODO @@ -1,4 +1,3 @@ -$FreeBSD$ o remember some hackers to translate Languages.phrases into Norwegian, Russian, Danish, Swedish diff --git a/usr.sbin/kbdmap/kbdmap.1 b/usr.sbin/kbdmap/kbdmap.1 index 5d4cf0ed4aa0..002d8b2b9773 100644 --- a/usr.sbin/kbdmap/kbdmap.1 +++ b/usr.sbin/kbdmap/kbdmap.1 @@ -1,3 +1,6 @@ +.\"- +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) March 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. .\" All rights reserved. .\" @@ -21,15 +24,13 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $FreeBSD$ -.Dd July 3, 2002 +.Dd July 7, 2024 .Dt KBDMAP 1 .Os .Sh NAME .Nm kbdmap , .Nm vidfont -.Nd front end for syscons and vt +.Nd system video console keyboard map/font dialog utilities .Sh SYNOPSIS .Nm .Op Fl K diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index 0702c1e66e94..75663ad87ff3 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -1,5 +1,5 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2002 Jonathan Belson <jon@witchspace.com> * All rights reserved. @@ -26,9 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/queue.h> #include <sys/sysctl.h> @@ -401,8 +398,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) case BSDDIALOG_OK: for (i = 0; i < num_keymaps; i++) { if (listitems[i].on) { - printf("ici\n"); - if (!strcmp(program, "kdbmap")) + if (!strcmp(program, "kbdmap")) do_kbdcontrol(km_sorted[i]); else do_vidfont(km_sorted[i]); @@ -411,7 +407,6 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) } break; default: - printf("la\n"); if (font != NULL && strcmp(font, font_current)) /* Cancelled, restore old font */ vidcontrol(font_current); diff --git a/usr.sbin/kbdmap/kbdmap.h b/usr.sbin/kbdmap/kbdmap.h index 1d33b9ab9d50..932cc4b6aaab 100644 --- a/usr.sbin/kbdmap/kbdmap.h +++ b/usr.sbin/kbdmap/kbdmap.h @@ -1,5 +1,5 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2002 Jonathan Belson <jon@witchspace.com> * All rights reserved. @@ -24,8 +24,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ |
