Can't log in right on console to accounts in CAPS.

Guy Harris guy at auspex.auspex.com
Mon May 27 05:29:56 AEST 1991


>HP-UX is a Sys V R ***2*** derivative :-(

So?  It should *still* have "stty -lcase".

>>Upper-case-only terminals generally want to run with "IUCLC" ...,
>>"OLCUC" ..., and "XCASE" ....
>
>Sometimes true, sometimes not.

Usually true, occasionally not.  Most "upper-case-only" terminals really
*are* upper-case-only; the HP terminal in question is a bit of an
exception, in that in its "default" configuration it limits input but
not output.

>BTW, the IUCLC/stty -iuclc approach is useful as well for public
>terminals where the previous user may have accidentally left the
>CAPS_LOCK key engaged.  At least this lets the user get logged in
>without problems (assuming no upper-case characters in the password).

If the user accidentally left the CAPS LOCK key engaged, "getty" will
see all upper-case letters when the user types their user name, and will
not only set IUCLC, it'll set OLCUC and XCASE as well, which means "stty
-iuclc" won't fix everything; "stty -lcase", however, will.



More information about the Comp.unix.questions mailing list