Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!hal9000!cleese!cleese!not-for-mail From: newton@cleese.apana.org.au (Mark Newton) Newsgroups: comp.os.386bsd.bugs Subject: Re: [HACK:] fix CAPSLOCK for good... Date: 22 Jul 1993 18:52:12 +0930 Organization: cleese.apana.org.au public access UNIX Lines: 22 Message-ID: <22lm8l$c0k@cleese.apana.org.au> References: <22h1vs$6a6@aggedor.rmit.OZ.AU> NNTP-Posting-Host: localhost.apana.org.au Keywords: netbsd, 386bsd, hack, capslock In article <22h1vs$6a6@aggedor.rmit.OZ.AU> zak@rmit.edu.au writes: >Recently I obtained a very old DOS TSR (330 bytes long) which mapped >the capslock key to ctrl (another control key), and to get caps, >you have to hold right shift with caps. I like this alot (after many >times of accidently hitting caps when I meant shift, tab, or A), and >a ctrl key there is useful. > >So, I proceed to hack pccons.c (took about 30 minutes all up, >including working out how the k/b routines worked). Of course, those of us who run X-windows would know that you can use xmodmap to achieve exactly the same result without having to patch the kernel. :-) "man xmodmap" - mark -- -------------------------------------------------------------------- I tried an internal modem, newton@cleese.apana.org.au but it hurt when I walked. Mark Newton ----- Voice: +61-8-3224071 --------------- Data: +61-8-3222915 -----