| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
PR: 193865
Reviewed by: cem
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5645
|
|
|
|
|
| |
path even under vt, which is no longer useful, since the syscons keymap
files have been converted and committed for use by vt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
if vt(4) is present.
MFC after: 7 days
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
characters long.. strcpy was coping over the length...
PR: 52960
Submitted by: Dmitry Sivachenko
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Spotted and suggested by: des
MFC after: 3 weeks
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR: 25499
Submitted by: Gaspar Chilingarov <nm@web.am>
|
|
|
|
|
|
|
|
|
| |
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.
Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
|
|
|
|
|
|
|
|
| |
to syscons. I have a man page to follow describing the format of the
kbdmap file.
PR: 19273
Reviewed by: sheldonh
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the bell.
- Document it in the man page.
- Fix a couple of typo in the man page.
Submitted by: cpiazza
|
| |
|
|
|
|
| |
Requested by: bde
|
|
|
|
| |
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Refined internal interface in keyboard drivers so that:
1. the side effect of device probe is kept minimal,
2. polling mode function is added,
3. and new ioctl and configuration options are added (see below).
- Added new ioctl: KDSETREPEAT
Set keyboard typematic rate. There has existed an ioctl command,
KDSETRAD, for the same purpose. However, KDSETRAD is dependent on
the AT keyboard. KDSETREPEAT provides more generic interface.
KDSETRAD will still be supported in the atkbd driver.
- Added new configuration options:
ATKBD_DFLT_KEYMAP
Specify a keymap to be used as the default, built-in keymap.
(There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP,
SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap.
These options are now gone for good. The new option is more general.)
KBD_DISABLE_KEYMAP_LOADING
Don't allow the user to change the keymap.
|
| |
|
|
|
|
| |
Obtained from:yokota@zodiac.mech.utsunomiya-u.ac.jp
|
|
|
|
| |
keyboard and video card drivers.
|
|
|
|
|
|
| |
of an int argument still contained garbage.
Pointed out by: bde
PR: bin/7799
|
|
|
|
|
| |
PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)
|
|
|
|
|
| |
In the mean time, accept both "us" and "ns" in the keymap file as ^_
for the compatibility with the existing keymap files.
|
|
|
|
| |
saver if one is loaded.
|
|
|
|
|
|
|
| |
The change corresponds to syscons.c 1.268.
PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
|
|
|
|
|
| |
PR: bin/6522
Submitted by: Rudolf Cejka
|
|
|
|
|
| |
commit ;-< /usr/src/release/sysinstall/Makefile uses it to generate
built-in keymap tables.
|