flong@sdsu.UUCP (03/06/87)
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.