summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kbdcontrol
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* de-__P()alfred2002-07-111-3/+3
|
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-023-3/+3
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* FreeBSD 4.1 bootstrapping aid (HALT and PDWN are not defined there).ru2002-02-081-2/+8
|
* mdoc(7) police:ru2001-08-071-2/+5
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-011-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-2/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-152-39/+39
|
* Repeat after me: "when reporting `file not found', perform a little bit ofobrien2001-07-131-1/+1
| | | | useful HCI consideration and tell which file was being looked for".
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* - Syncronizes command line syntax warnings with manpage (bin/27010);sobomax2001-05-292-9/+14
| | | | | | | | - silence gcc(1) warnings (sobomax). PR: 27010 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>, sobomax MFC after: 10 days
* Move the scrollback controls from kbdcontrol to vidcontrol.des2001-05-282-82/+42
| | | | | | Also fix some style bugs in the code and poor language in the man pages. Reviewed by: sobomax
* Instead of defining CONS_CLRHIST if it isn't defined, simply disabledd2001-05-271-6/+6
| | | | | | | | 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
* A la rev. 1.36, define CONS_CLRHIST here if it isn't already sincedd2001-05-271-2/+6
| | | | this is a build tool, so it has to build on 4.x with the old headers.
* Add a -c option which clears the history buffer using the newdd2001-05-272-5/+18
| | | | | | | CONS_CLRHIST ioctl. PR: 27616 Reviewed by: ru
* mdoc(7) police: double spaces in plain text chunks aren't good.ru2001-05-161-1/+1
|
* If PASTE isn't defined, define it as a transitional measure. Thisimp2001-05-151-6/+13
| | | | | | | 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.
* Fix a possible segfault introduced in my previous commit.sobomax2001-05-141-2/+3
|
* Allow path where keyboard maps are looked for to be altered using environmentsobomax2001-05-122-8/+16
| | | | variable.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-2/+1
| | | | - MAN[1-9] -> MAN.
* Document newly added "paste" keywordache2001-03-121-0/+2
|
* Implement keyboard pasteache2001-03-113-0/+10
| | | | | PR: 25499 Submitted by: Gaspar Chilingarov <nm@web.am>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-4/+14
|
* Prepare for mdoc(7)NG.ru2000-12-271-0/+1
|
OpenPOWER on IntegriCloud