Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Can't log in right on console to accounts in CAPS. Message-ID: <7979@auspex.auspex.com> Date: 22 May 91 21:24:58 GMT References: <1991May13.211229.1947@sugra.uucp> <7920@auspex.auspex.com> <1991May19.190950.646@wa8tzg.mi.org> Organization: Auspex Systems, Santa Clara Lines: 42 >> [-]lcase Set xcase, iuclc, and olcuc. With a `-', unset >> them. ... >Might not be true for SYS V derivatives. Hate to tell you this, but the "stty" in SunOS 4.0.3 *is* a derivative of the S5R3 one.... >On HP-UX, for example, use: > > [-]IUCLC Force upper case to lower case conversion > >in BOTH sections of the /etc/gettydefs entry. That's "/etc/gettydefs", not "stty". The two aren't the same, and I was discussing the "stty" command. In addition, ihe "I" in "IUCLC" indicates that it's one of the "i"nput flags; it affects *only* input, *not* output. Upper-case-only terminals generally want to run with "IUCLC" (to map upper-case to lower-case on input), "OLCUC" (to map lower-case to upper-case on output), and "XCASE" (to cause upper-case characters to be mapped to '\' followed by the character on output, and cause '\' followed by that character to be mapped to an upper-case character on input; this also works for some special characters such as "{" == "\("). >To turn upper-to-lower case conversion off once the person has logged >in, put a: > > stty -iuclc As with "-IUCLC" in "/etc/gettydefs", so with "stty -iuclc"; that just affects input, not output, and doesn't do all you want on input. >NB: the case of the flags above IS SIGNIFICANT! Yes, but S5's "stty" accepts both "lcase"/"-lcase" and "LCASE"/"-LCASE"; if, as is supposed to be the case, "STTY" is a link to "stty", it means that even if you have an upper-case only terminal but *don't* have the flags in question turned on, you can do "STTY LCASE" and turn them on.