summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kbdcontrol
Commit message (Collapse)AuthorAgeFilesLines
* kbdcontrol: add -P path option to add keymap search pathsemaste2016-03-162-23/+73
| | | | | | | PR: 193865 Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5645
* DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-241-2/+0
| | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* kbdmap.5: Use current names for ASCII control codes lf, ff, usemaste2016-01-021-4/+10
| | | | | | | | Refer to the old names nl, np, ns as historical aliases. PR: 205776, 205778 MFC After: 1 week Sponsored by: The FreeBSD Foundation
* Add META_MODE support.sjg2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-3/+2
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-193-5/+23
| |\
| * \ Merge head from 7/28sjg2014-08-193-3/+23
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2013-09-051-2/+3
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+2
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | mdoc: remove EOL whitespace.joel2014-12-291-1/+1
| | | | |
* | | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | Update man-pages to correctly refer to changed pathes and naming conventionsse2014-08-262-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | for systems with vt(4) consoles. MFC after: 3 days
* | | | Remove band.aid that made kbdcontrol lookup keymap files in the sysconsse2014-08-261-1/+1
| |_|/ |/| | | | | | | | | | | path even under vt, which is no longer useful, since the syscons keymap files have been converted and committed for use by vt.
* | | The previous commit (r269119) introduced a regression: It removed these2014-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix obvious off by one error: prefix[1] should be set to the path of these2014-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix vt(4) detection in kbdcontrol and vidcontrolemaste2014-07-021-4/+5
| | | | | | | | | | | | | | | | | | | | | 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
* | | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
| | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | Enable kbdcontrol(1) to use maps from vt(4) keymaps dir /usr/share/vt/keymapsray2014-05-292-1/+20
| |/ |/| | | | | | | | | | | if vt(4) is present. MFC after: 7 days Sponsored by: The FreeBSD Foundation
* | Improve compatibility with recent flex from flex.sourceforge.net.jkim2013-05-031-2/+3
|/
* Reencode files to UTF-8. Drop CP1252 em-dash.uqs2011-12-303-3/+3
|
* Add missing static and const keywords to kbdcontrol.ed2011-12-121-63/+64
| | | | | | 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.
* Don't generate input() since it's not used.brucec2010-11-221-0/+1
|
* Fix some typos: flush vs. flash, and some others.olli2010-08-111-3/+3
| | | | | Approved by: des (mentor, implicit) MFC after: 1 week
* ANSIfy some more tools in usr.sbin/.ed2010-01-021-1/+1
| | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* Make the keyboard layer Unicode aware.ed2009-09-192-5/+5
| | | | | | | | | | | | 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/...
* Unhardcode 0x100 inside kbdcontrol.ed2009-08-241-71/+73
| | | | | | | | | | 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.
* Some clarifications to make keyboard configuration under syscons.trhodes2008-01-292-3/+14
| | | | | | PR: 89325 Submitted by: Oliver Fromme <olli@secnetix.de> Reviewed by: emax
* Grammar fix from Ceri.ru2006-11-161-1/+1
|
* Document that visual bell is the global setting, whileru2006-11-161-1/+5
| | | | other bell types can be set individually for each vty.
* Replace magic numbers for console bell types with defines.ru2006-11-161-3/+3
|
* Markup fixes.ru2006-09-291-11/+8
|
* Make op parameter to mux_keyboard() u_int instead of int.emax2006-09-151-2/+2
| | | | | | | | | 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
* Reveal sacred spells necessary for putting kbdmux(4) to real use.sobomax2005-12-291-0/+15
| | | | Hopefully gods of RTFS and RTFCL will not go after me.
* - Fix spelling of 'multiplexer'markus2005-07-211-6/+6
| | | | | | | - Grammar fixes Approved by: simon MFC after: 3 days
* kbdmux(4) keyboard multiplexer integrationemax2005-07-142-2/+92
| | | | | | | | | | | | | | | | | | | | 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
* Sort sections.ru2005-01-181-2/+2
|
* Change the USB keyboard example to use /dev/ukbd0 instead of /dev/kbd1.brooks2005-01-081-2/+2
| | | | | | This example caused me to incorrectly believe that you must use the generic device nodes when you can in fact use either. It's often better to use the driver specific node.
* mdoc(7) janitor:simon2004-08-211-1/+2
| | | | | | - Fix hard sentence breaks. MFC after: 3 days
* fix bug which prevented programming function keys that were exactly 16jmg2004-08-091-1/+1
| | | | | | | | characters long.. strcpy was coping over the length... PR: 52960 Submitted by: Dmitry Sivachenko MFC after: 1 week
* Document machdep.enable_panic_key.scottl2004-08-021-1/+5
| | | | Submitted by: Craig Rodrigues
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* style.Makefile(5)obrien2003-04-041-2/+1
|
* de-__P()alfred2002-07-111-1/+1
|
* WARNS?=4 cleanup.alfred2002-07-113-17/+34
|
OpenPOWER on IntegriCloud