History log of /freebsd-11.0-release/usr.sbin/kbdmap/kbdmap.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 291409 27-Nov-2015 emaste

kbdmap: include filename when reporting fopen() failure

Previously only one of two cases reported the file name. Use the same
error string in both cases.

Sponsored by: The FreeBSD Foundation


# 291377 27-Nov-2015 emaste

vidfont: with vt(4) omit size from vidcontrol -f

When using syscons, vidfont extracts the font size from the filename
passes it to vidcontrol -f. In vt(4) mode the size argument is not
required, and some of the fonts in /usr/share/vt/fonts do not have the
size in the filename, which caused vidfont to fail. Thus, just omit the
size argument in vt(4) mode.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# 282904 14-May-2015 emaste

kbdmap(1): increase description size to 256 bytes

After conversion to UTF-8 some INDEX.keymaps descriptions are longer
than the previous limit of 64 bytes.

PR: 193656
Sponsored by: The FreeBSD Foundation


# 269976 14-Aug-2014 se

Add support for NEWCONS to kbdmap and vidfont.

The path to keymaps and fonts is selected based on the existence and value
of "sysctl kern.vty".

MFC after: 1 week


# 237257 19-Jun-2012 eadler

Remove variables which are initialized but never used thereafter reported by gcc46 warning

Approved by: cperciva
MFC After: 3 days


# 228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


# 226439 16-Oct-2011 nwhitehorn

Place quotes around the output of kbdmap(1), designed to be pasted into
/etc/rc.conf.

PR: bin/161711
Submitted by: manolis
MFC after: 1 week


# 222568 01-Jun-2011 jh

Don't try to close the stream if fopen(3) fails.

PR: bin/155349
Submitted by: Urankar Mikael


# 217359 13-Jan-2011 nwhitehorn

Use auto-sizing syntax appropriate for the new dialog(1). This should
probably be modified to use libdialog.


# 216047 29-Nov-2010 kevlo

Fix fd leak in get_font


# 171996 27-Aug-2007 murray

Output keymap choice to stderr so it is easier to parse for apps chained to
this curses based app.

Submitted by: ivoras
Approved by: re@ (bmah@)


# 167260 06-Mar-2007 kevlo

Use sizeof() for calculating the buffer size instead of hard-coded values.


# 154151 09-Jan-2006 flz

Fix -r causing SIGSEGV due to parse_args() being called before font_current is set.

Approved by: krion
MFC after: 3 days


# 147685 30-Jun-2005 ru

Fixed two bugs in Perl to C conversion that prevented locale name
from being parsed correctly.

OK'ed by: markm
Approved by: re (scottl)
MFC after: 3 days


# 106053 27-Oct-2002 wollman

Do not include <sys/syslimits.h> directly; it is not intended for general
consumption.


# 99357 03-Jul-2002 markm

C rewrite of kbdmap/vidfont.

Submitted by: Jonathan Belson <jon@witchspace.com>
OK'ed by: wosch (Perl code maintainer)