| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Approved by: des (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
| |
Most of these tools build with WARNS=6, except for their use of K&R
function declarations.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/...
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR: 89325
Submitted by: Oliver Fromme <olli@secnetix.de>
Reviewed by: emax
|
| |
|
|
|
|
| |
other bell types can be set individually for each vty.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Hopefully gods of RTFS and RTFCL will not go after me.
|
|
|
|
|
|
|
| |
- Grammar fixes
Approved by: simon
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- Fix hard sentence breaks.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
characters long.. strcpy was coping over the length...
PR: 52960
Submitted by: Dmitry Sivachenko
MFC after: 1 week
|
|
|
|
| |
Submitted by: Craig Rodrigues
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Spotted and suggested by: des
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
useful HCI consideration and tell which file was being looked for".
|
| |
|
|
|
|
|
|
|
|
| |
- silence gcc(1) warnings (sobomax).
PR: 27010
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>, sobomax
MFC after: 10 days
|
|
|
|
|
|
| |
Also fix some style bugs in the code and poor language in the man pages.
Reviewed by: sobomax
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
this is a build tool, so it has to build on 4.x with the old headers.
|
|
|
|
|
|
|
| |
CONS_CLRHIST ioctl.
PR: 27616
Reviewed by: ru
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
variable.
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
|
| |
PR: 25499
Submitted by: Gaspar Chilingarov <nm@web.am>
|
| |
|
| |
|