Path: utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!umix!b-tech!zeeff From: zeeff@b-tech.UUCP (Jon Zeeff) Newsgroups: comp.unix.microport Subject: simple driver to speedup keyboard repeat Message-ID: <4408@b-tech.UUCP> Date: 12 Apr 88 01:07:39 GMT Organization: Branch Technology, Ann Arbor, MI Lines: 90 This is a very simple program that can be added to your '386 kernel to make the keyboard more responsive. #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh kf.c <<'END_OF_kf.c' X X/* X X I/O driver for Sys V.3 (microport) V1.0 X Written by Jon Zeeff umix!b-tech!zeeff. X Copyright 1988 Jon Zeeff X X You may use this in any manner provided that you leave this notice X intact and don't hold me responsible for any problems with it. X X This "driver" speeds up the repeat rate on the keyboard. Once you X get used to it, anything else seems unbearably slow. X X 1) cc -c kf.c X 2) mkdir KERNELDIR/modules/kf X 3) cp kf.o KERNELDIR/modules/kf X 4) cp config KERNELDIR/modules/kf X 5) edit KERNELDIR/system/system.? and add kf X 6) /etc/mkunix X X X*/ X Xkfinit() X{ Xint i; X X /* Fix the keyboard repeat rate */ X X outb(0x60,0xf3); X for (i = 9999; i; --i); /* Actually, I don't know that this is necessary */ X outb(0x60,0x20); X for (i = 9999; i; --i); X inb(0x60); X X} X Xkfread() {} Xkfopen() {} Xkfwrite() {} Xkfioctl() {} Xkfclose() {} X END_OF_kf.c if test 861 -ne `wc -c config <<'END_OF_config' X* 1 "kf/config" X Xcharacter(49) X Xprefix = kf X Xfunctions = init, open, read, write, ioctl, close END_OF_config if test 97 -ne `wc -c