I'm using Ubuntu 9.10 (32-bit). I have an ASR-33 Teletype on ttyS0 which can only output uppercase characters that I'm trying to use as a serial console. My getty specifies -U to allow for uppercase terminals. stty -F/dev/ttyS0 shows this:
speed 110 baud; line = 0; lnext = <undef>; min = 1; time = 0; -brkint -icrnl ixoff iuclc -imaxbel olcuc -icanon -iexten -echo xcase As you can see, iuclc is clearly in effect but the conversion from uppercase to lowercase isn't being done. No commands work, and I had to create a user with an uppercase-only password just to be able to log in at all. I tried the following to see what I'm getting from the Teletype: cp /dev/ttyS0 test When I terminate the command, the file test has all uppercase in it. Shouldn't stty have converted the uppercase input to lowercase? If I set iuclc on tty0 (the normal console) it works as expected and I can turn on Caps Lock and still execute commands and cp tty0 test does put lowercase characters in test regardless of the state of Caps Lock. Is this a bug in stty? If so, I'd like to get a fix so I can use my terminals in a local antique computer museum. Thank you for your time. Tom Lake