aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kbdcontrol
Commit message (Collapse)AuthorAgeFilesLines
* Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | Notes: svn path=/projects/bmake/; revision=266219
* Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=265802
* Merge from headSimon J. Gerraty2013-09-051-2/+3
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * Improve compatibility with recent flex from flex.sourceforge.net.Jung-uk Kim2013-05-031-2/+3
| | | | | | | | Notes: svn path=/head/; revision=250227
* | Updated dependenciesSimon J. Gerraty2013-03-111-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
* | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
* | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Reencode files to UTF-8. Drop CP1252 em-dash.Ulrich Spörlein2011-12-303-3/+3
| | | | Notes: svn path=/head/; revision=228976
* Add missing static and const keywords to kbdcontrol.Ed Schouten2011-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. Notes: svn path=/head/; revision=228437
* Don't generate input() since it's not used.Rebecca Cran2010-11-221-0/+1
| | | | Notes: svn path=/head/; revision=215676
* Fix some typos: flush vs. flash, and some others.Oliver Fromme2010-08-111-3/+3
| | | | | | | | Approved by: des (mentor, implicit) MFC after: 1 week Notes: svn path=/head/; revision=211172
* ANSIfy some more tools in usr.sbin/.Ed Schouten2010-01-021-1/+1
| | | | | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations. Notes: svn path=/head/; revision=201387
* Make the keyboard layer Unicode aware.Ed Schouten2009-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/... Notes: svn path=/head/; revision=197330
* Unhardcode 0x100 inside kbdcontrol.Ed Schouten2009-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. Notes: svn path=/head/; revision=196500
* Some clarifications to make keyboard configuration under syscons.Tom Rhodes2008-01-292-3/+14
| | | | | | | | | PR: 89325 Submitted by: Oliver Fromme <olli@secnetix.de> Reviewed by: emax Notes: svn path=/head/; revision=175799
* Grammar fix from Ceri.Ruslan Ermilov2006-11-161-1/+1
| | | | Notes: svn path=/head/; revision=164336
* Document that visual bell is the global setting, whileRuslan Ermilov2006-11-161-1/+5
| | | | | | | other bell types can be set individually for each vty. Notes: svn path=/head/; revision=164334
* Replace magic numbers for console bell types with defines.Ruslan Ermilov2006-11-161-3/+3
| | | | Notes: svn path=/head/; revision=164333
* Markup fixes.Ruslan Ermilov2006-09-291-11/+8
| | | | Notes: svn path=/head/; revision=162806
* Make op parameter to mux_keyboard() u_int instead of int.Maksim Yevmenkin2006-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 Notes: svn path=/head/; revision=162327
* Reveal sacred spells necessary for putting kbdmux(4) to real use.Maxim Sobolev2005-12-291-0/+15
| | | | | | | Hopefully gods of RTFS and RTFCL will not go after me. Notes: svn path=/head/; revision=153851
* - Fix spelling of 'multiplexer'Markus Brueffer2005-07-211-6/+6
| | | | | | | | | | - Grammar fixes Approved by: simon MFC after: 3 days Notes: svn path=/head/; revision=148270
* kbdmux(4) keyboard multiplexer integrationMaksim Yevmenkin2005-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 Notes: svn path=/head/; revision=148017
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140442
* Change the USB keyboard example to use /dev/ukbd0 instead of /dev/kbd1.Brooks Davis2005-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. Notes: svn path=/head/; revision=139898
* mdoc(7) janitor:Simon L. B. Nielsen2004-08-211-1/+2
| | | | | | | | | - Fix hard sentence breaks. MFC after: 3 days Notes: svn path=/head/; revision=134117
* fix bug which prevented programming function keys that were exactly 16John-Mark Gurney2004-08-091-1/+1
| | | | | | | | | | | characters long.. strcpy was coping over the length... PR: 52960 Submitted by: Dmitry Sivachenko MFC after: 1 week Notes: svn path=/head/; revision=133353
* Document machdep.enable_panic_key.Scott Long2004-08-021-1/+5
| | | | | | | Submitted by: Craig Rodrigues Notes: svn path=/head/; revision=132993
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131500
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-2/+1
| | | | Notes: svn path=/head/; revision=113091
* de-__P()Alfred Perlstein2002-07-111-1/+1
| | | | Notes: svn path=/head/; revision=99818
* WARNS?=4 cleanup.Alfred Perlstein2002-07-113-17/+34
| | | | Notes: svn path=/head/; revision=99816
* de-__P()Alfred Perlstein2002-07-111-3/+3
| | | | Notes: svn path=/head/; revision=99814
* Fix typo in the BSD copyright: s/withough/without/Jens Schweikhardt2002-06-023-3/+3
| | | | | | | | Spotted and suggested by: des MFC after: 3 weeks Notes: svn path=/head/; revision=97748
* FreeBSD 4.1 bootstrapping aid (HALT and PDWN are not defined there).Ruslan Ermilov2002-02-081-2/+8
| | | | Notes: svn path=/head/; revision=90394
* mdoc(7) police:Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=81251
* MFS: in HISTORY section, fix release number of first appearanceSheldon Hearn2001-08-011-1/+1
| | | | Notes: svn path=/head/; revision=80898
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-152-39/+39
| | | | Notes: svn path=/head/; revision=79755
* Repeat after me: "when reporting `file not found', perform a little bit ofDavid E. O'Brien2001-07-131-1/+1
| | | | | | | useful HCI consideration and tell which file was being looked for". Notes: svn path=/head/; revision=79677
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* - Syncronizes command line syntax warnings with manpage (bin/27010);Maxim Sobolev2001-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 Notes: svn path=/head/; revision=77394
* Move the scrollback controls from kbdcontrol to vidcontrol.Dag-Erling Smørgrav2001-05-282-82/+42
| | | | | | | | | Also fix some style bugs in the code and poor language in the man pages. Reviewed by: sobomax Notes: svn path=/head/; revision=77329
* Instead of defining CONS_CLRHIST if it isn't defined, simply disableDima Dorfman2001-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 Notes: svn path=/head/; revision=77258
* A la rev. 1.36, define CONS_CLRHIST here if it isn't already sinceDima Dorfman2001-05-271-2/+6
| | | | | | | this is a build tool, so it has to build on 4.x with the old headers. Notes: svn path=/head/; revision=77255
* Add a -c option which clears the history buffer using the newDima Dorfman2001-05-272-5/+18
| | | | | | | | | | CONS_CLRHIST ioctl. PR: 27616 Reviewed by: ru Notes: svn path=/head/; revision=77252
* mdoc(7) police: double spaces in plain text chunks aren't good.Ruslan Ermilov2001-05-161-1/+1
| | | | Notes: svn path=/head/; revision=76671
* If PASTE isn't defined, define it as a transitional measure. ThisWarner Losh2001-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. Notes: svn path=/head/; revision=76643
* Fix a possible segfault introduced in my previous commit.Maxim Sobolev2001-05-141-2/+3
| | | | Notes: svn path=/head/; revision=76569