minix/commands
David van Moolenbroek 6b3f4dc157 Input infrastructure, INPUT server, PCKBD driver
This commit separates the low-level keyboard driver from TTY, putting
it in a separate driver (PCKBD). The commit also separates management
of raw input devices from TTY, and puts it in a separate server
(INPUT). All keyboard and mouse input from hardware is sent by drivers
to the INPUT server, which either sends it to a process that has
opened a raw input device, or otherwise forwards it to TTY for
standard processing.

Design by Dirk Vogt. Prototype by Uli Kastlunger.

Additional changes made to the prototype:

- the event communication is now based on USB HID codes; all input
  drivers have to use USB codes to describe events;
- all TTY keymaps have been converted to USB format, with the effect
  that a single keymap covers all keys; there is no (static) escaped
  keymap anymore;
- further keymap tweaks now allow remapping of literally all keys;
- input device renumbering and protocol rewrite;
- INPUT server rewrite, with added support for cancel and select;
- PCKBD reimplementation, including PC/AT-to-USB translation;
- support for manipulating keyboard LEDs has been added;
- keyboard and mouse multiplexer devices have been added to INPUT,
  primarily so that an X server need only open two devices;
- a new "libinputdriver" library abstracts away protocol details from
  input drivers, and should be used by all future input drivers;
- both INPUT and PCKBD can be restarted;
- TTY is now scheduled by KERNEL, so that it won't be punished for
  running a lot; without this, simply running "yes" on the console
  kills the system;
- the KIOCBELL IOCTL has been moved to /dev/console;
- support for the SCANCODES termios setting has been removed;
- obsolete keymap compression has been removed;
- the obsolete Olivetti M24 keymap has been removed.

Change-Id: I3a672fb8c4fd566734e4b46d3994b4b7fc96d578
2014-03-01 09:04:55 +01:00
..
add_route Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
arp Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
ash fix sysroot clang 2014-02-18 11:25:01 +01:00
at commands/at: changed K&R to ANSI style 2013-11-29 18:54:07 +01:00
atnormalize Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
autopart Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
backup commands/backup: changed K&R to ANSI style 2013-11-18 07:44:45 -05:00
btrace Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
cawf Importing usr.bin/colcrt 2013-11-19 07:26:37 -05:00
cd Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
cdprobe Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
chmod commands/chmod: changed K&R to ANSI style 2013-11-29 18:54:11 +01:00
chown commands/chown: changed to K&R to ANSI style 2013-11-29 18:54:18 +01:00
ci retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
cleantmp Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
cmp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
co retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
compress Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
cp Importing bin/ln 2013-02-01 11:41:48 +01:00
cpp better cpp 2012-02-17 23:53:44 +01:00
crc commands/crc: changed K&R to ANSI style 2013-12-01 15:57:08 -05:00
cron Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
crontab Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
dd Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
decomp16 commands/decomp16: changed K&R to ANSI style 2013-12-01 15:57:07 -05:00
DESCRIBE Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
devmand Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
devsize commands/devsize: changed K&R to ANSI style 2013-12-01 15:57:04 -05:00
dhcpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
dhrystone retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
diff Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
diskctl diskctl(8) tool 2010-08-12 14:11:28 +00:00
dosread Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
eepromread eepromread: support for reading from /dev/eeprom 2013-11-11 10:14:03 -05:00
eject commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
factor retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
fbdctl Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
fdisk Enable devname(3) 2014-03-01 09:04:53 +01:00
fetch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
find Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
fix commands/fix: change K&R to ANSI style. 2013-11-16 14:53:34 -05:00
format Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fortune Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fsck.mfs Define protocol version of {mode,ino,uid,gid}_t 2014-02-18 11:25:01 +01:00
gcov-pull Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
getty uname: normalize release and version 2014-03-01 09:04:55 +01:00
grep ld.elf_so, grep, make: use mmap() 2013-05-31 15:42:01 +00:00
host Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
hostaddr Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
ifconfig Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ifdef retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
intr Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcrm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcs Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
irdpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
isoread retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
last retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
less Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
loadfont Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
loadkeys Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
loadramdisk loadramdisk: bug fix for bad fprintf() format 2013-08-15 09:48:35 +02:00
logger libc syslog, syslogd, logger, uds fixes 2013-06-12 07:04:52 +00:00
look Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lp Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lpd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
lspci make all other commands use ProcFS 2010-09-14 21:31:56 +00:00
mail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
MAKEDEV Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
mined mined: fix dangling else 2014-02-16 17:54:40 -05:00
mount Redo mount(2)/umount(2) ABI 2014-02-18 11:25:01 +01:00
mt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
netconf beaglebone ethernet improvements 2013-08-19 13:47:10 +00:00
nonamed Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
part Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
partition x86 hd image creator 2013-09-25 19:30:22 +02:00
patch rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
ping Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
pkgin_all pkgin_all: script to auto-install all packages 2013-02-14 22:58:29 +00:00
pkgin_cd Update release script for pkgsrc 2010-09-10 17:00:30 +00:00
playwave Remove support for reopening character devices 2014-03-01 09:04:52 +01:00
postinstall Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
poweroff Restore poweroff to some of it's former glory (on QEMU, at least) 2012-11-21 20:28:37 +01:00
pr_routes Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
prep retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
printroot Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
profile Write raw sprofile traces to preserve all information as well as save space 2012-08-10 18:49:40 +00:00
progressbar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ps VFS: remove FP_BLOCKED_ON_DOPEN 2014-02-18 11:25:03 +01:00
pwdauth Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
ramdisk Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rarpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
rawspeed Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rcp Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
readclock readclock: code clean-up, add -q, manpage updates 2013-08-09 12:41:53 +02:00
reboot Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
recwave retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
remsync Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
repartition Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
rget Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rlogin Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rotate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rsh Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
rshd Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
screendump commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
service Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
setup Import NetBSD df(1) 2014-02-18 11:25:02 +01:00
shar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sleep Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
slip Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
spell Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
sprofalyze sprofalyze: fix profile data parsing 2013-02-27 17:53:27 +00:00
sprofdiff Two frees to appease Coverity 2012-08-31 20:12:57 +02:00
srccrc Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
stty Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
svclog Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
svrctl Add a simple utility to send control messages 2012-04-13 12:58:41 +00:00
swifi swifi: modernize a bit 2012-03-05 22:41:49 +01:00
synctree commands/synctree: changed K&R to ANSI style 2013-11-29 18:53:49 +01:00
sysenv Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
syslogd libc syslog, syslogd, logger, uds fixes 2013-06-12 07:04:52 +00:00
tail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tcpd tcpd: waitpid() for any child process 2013-05-30 19:41:45 +00:00
tcpdp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
tcpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
telnet Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
telnetd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
term retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
termcap retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tget Updating libcurses, libterminfo and terminfo. 2013-01-14 11:36:26 +01:00
time Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
touch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
truncate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
udpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
umount Redo mount(2)/umount(2) ABI 2014-02-18 11:25:01 +01:00
unstack unstack - fix ipcvecs 2013-01-04 16:17:07 +00:00
update retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
update_bootcfg TTY: "nobeep" setting to disable beeps 2013-02-15 11:06:34 +01:00
updateboot updateboot script for netbsd bootloader 2012-02-15 03:51:27 +01:00
uud Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
uue Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
version Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
vol retire 64-bit conversion functions 2013-06-24 16:50:57 +02:00
whereis Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
which retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
worldstone worldstone: add -s for statistical profiling 2012-09-19 13:43:17 +02:00
writeisofs x86_hdimage.sh -i: crossbuild x86 release CD 2013-11-07 13:44:22 +00:00
zdump Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
zmodem zmodem: K&R -> ANSI C function declaration 2014-02-16 11:46:08 -05:00
Makefile Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
Makefile.inc x86 hd image creator 2013-09-25 19:30:22 +02:00