Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site peora.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hjuxa!petsd!peora!jer From: jer@peora.UUCP (J. Eric Roskos) Newsgroups: net.mail Subject: Re: does anybody use upper case in mail names on UUCP? Message-ID: <1935@peora.UUCP> Date: Tue, 28-Jan-86 08:38:35 EST Article-I.D.: peora.1935 Posted: Tue Jan 28 08:38:35 1986 Date-Received: Thu, 30-Jan-86 00:46:16 EST References: <1785@cbosgd.UUCP> Organization: Concurrent Computer Corporation, Orlando, Fl Lines: 46 > We're running into a problem with a BITNET/UUCP gateway. > It seems that many people on BITNET have only upper case > terminals, and send mail to addresses like USER@HOST.UUCP. > It's fair to turn HOST.UUCP into host.uucp for UUCP, but > what about the USER part? Well, I responded by mail to Mark on this question, but unfortunately ihnp4 can't contact cbosgd (!) at present, so the message got returned... ----- Original Message Follows ----- Hello, Mark... I have a suggestion for an algorithm. System V's "getty" uses the following algorithm when getting the user name: "The user's name is scanned to see if it contains any lower-case alphabetic characters; if not, and if the name is non-empty, the system is told to map any future upper-case characters on input into the corresponding lower-case characters by setting IUCLC in c_iflag, and to map any lower case characters on output to escaped uppercase characters by setting OLCUC in c_oflag." Therefore, if a user name typed in to getty contains all uppercase letters, getty assumes that the user has an all-uppercase terminal. I think probably you could do the same: if there are any lowercase characters at all, leave the name untouched, but if they're all uppercase, convert to lowercase. The reason is that it would be impossible under System V for a user with a name that was all uppercase to log in, as far as I can determine. It is, however, possible that some mailers allow all-uppercase user names and are case sensitive, but that's a problem of the mailer, I think. The tty driver (which performs the above translations) lets you escape uppercase characters on an all-uppercase terminal by writing a backslash in front of it; thus, for example, when "login" prompts for a password, it prints "\PASSWORD: " due to the P being capitalized. You could use such a scheme to allow uppercase letters to be left alone when doing the translation to lowercase, although I am not sure at the moment how compatible that would be with other standards for writing names in mail addresses. -- UUCP: Ofc: jer@peora.UUCP Home: jer@jerpc.CCC.UUCP CCC DNS: peora, pesnta US Mail: MS 795; CONCURRENT Computer Corp. SDC; (A Perkin-Elmer Company) 2486 Sand Lake Road, Orlando, FL 32809-7642 LOTD(3)=m "I didn't watch the Super Bowl."