There is something really crazy I just found out about the login to Unix machines. And I have no clue why this 'feature' still exists besides pure nostalgia! What am I talking about? Well, you might be able to try that for yourself. Ctrl-Alt-Fn-yourself away from the splendor X is and login to your machine. Twice. The second time type your username in all-caps and be surprised. Here is what happens for me:
Welcome to jane!
I am running Linux 2.6.17-jane-2 on a i686.
You are on tty1.
How may I assist you?
jane login: steffen
Password:
Last login: Fri Nov 30 00:31:33 +0100 2007 on tty1.
No mail.
[steffen@jane ~]$
Okay, not quite that unusual. But now logging out and retrying it in all-caps:
Welcome to jane!
I am running Linux 2.6.17-jane-2 on a i686.
You are on tty1.
How may I assist you?
jane login: STEFFEN
PASSWORD:
LAST LOGIN: FRI NOV 30 00:32:28 +0100 2007 ON TTY1.
NO MAIL.
[STEFFEN@JANE ~]$
Huh? Wtf? WTF!? But wait, it even gets better (note that I am not even touching the Shift key, and also not Caps lock, here):
[STEFFEN@JANE ~]$ CAT /PROC/CPUINFO
PROCESSOR : 0
VENDOR_ID : GENUINEINTEL
CPU FAMILY : 15
...
And so on. All in Caps. But it gets funnier:
[STEFFEN@JANE ~]$ CAT /PROC/CPUINFO > TMP/CPUINFO
[STEFFEN@JANE ~]$ CAT /PROC/CPUINFO > TMP/CPUINFO
And of course:
[STEFFEN@JANE ~]$ LL TMP/
-RW-R--R-- 1 STEFFEN USERS 429 2007-11-30 01:03 CPUINFO
-RW-R--R-- 1 STEFFEN USERS 429 2007-11-30 01:03 CPUINFO
Uhm? What? Yeah, I cheated a bit. Looking at that after a normal login:
[steffen@jane ~]$ ll tmp/
-rw-r--r-- 1 steffen users 429 2007-11-30 01:03 cpuinfo
-rw-r--r-- 1 steffen users 429 2007-11-30 01:03 CPUINFO
So even the all-caps-console is still case-sensitive, I actually did type the second
cat target in caps.
I am sure that there was once a good reason for a behaviour like that; but I really cannot think of any. Oh, I didn't find this be accident, well, I did, but in the foreword of the
UNIX-HATERS handbook. Quite a read, actually. Get your free copy (link in the wikipedia article) for a lot of brain-dead things about Unix you never wanted to know.