Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!cit-vax!usc-oberon!sdcrdcf!psivax!csun!sdsu!flong From: flong@sdsu.UUCP Newsgroups: comp.os.minix Subject: Caps Lock fix Message-ID: <2552@sdsu.UUCP> Date: Thu, 5-Mar-87 18:42:15 EST Article-I.D.: sdsu.2552 Posted: Thu Mar 5 18:42:15 1987 Date-Received: Sun, 8-Mar-87 16:23:07 EST Reply-To: flong@sdsu.UUCP (Fred J. E. Long) Distribution: world Organization: San Diego State University, Math/Sciences Dept. Lines: 17 Capslock in MINIX acts like shiftlock, shifting every character. It can be changed to only capitalize alphabetical characters by editing the file /kernel/tty.c. Change the line in the make_break function that looks like this: code = (shift1 || shift2 || capslock ? sh[c]:unsh[c]); to if (capslock) { if (unsh[c] >= 'a' && unsh[c] <= 'z') code = sh[c]; else code = unsh[c]; } else code = (shift1 || shift2 ? sh[c] : unch[c]); and then recompile and build the bootdisk as described in the book.