[16599] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: user titles in olc

daemon@ATHENA.MIT.EDU (Albert Dvornik)
Wed Jan 13 14:31:01 1999

To: Carla Fermann <carla@MIT.EDU>
Cc: Dan Winship <danw@MIT.EDU>, bug-olc@MIT.EDU
From: Albert Dvornik <bert-olc@MIT.EDU>
Date: 13 Jan 1999 14:30:38 -0500
In-Reply-To: Carla Fermann's message of "Wed, 13 Jan 1999 13:02:03 EST"


Dan Winship <danw@MIT.EDU> writes:
> I know olcd has a configfile somewhere that lets you tell it that
> certain people should be referred to as "professor" or "consultant" or
> "cake-baker" or whatever when they ask a question instead of just
> "user".
> 
> It might be nice if it got a list of staff titles from Moira or
> something so that when staff people ask questions, the consultants
> notice that they aren't just Joe Random User.

Yeah, that would be great.  We might want to do some editing on the
data we get from the Moira staff titles, though; I'd hate to see

  Systems_Programmer_I Dan Winship (danw@SMS.MIT.EDU)
  Team_Leader,_Athena_Server_Operations Jonathon Weiss (jweiss@THE-OTHE...
  Vice_President_For_Info_Systems_&_Prof_Of_Elec_Eng James D Bruce (jdb...

(We'll have to either convert spaces to underscores or fix the code to
support whitespace in the relevant file.)

We'll also need to merge the Moira feed with a "static" list of
consultants and other defaults, but I don't think that'll be hard.
After all, we can't afford to lose "mister Chris `vertigo' Vanharen". =)

How about something vaguely like these "Moira title => OLC title" rules?
(The left side would have to match case-insensitive and word-bounded.)

   a static list overrides all of the below

   vice president => Vice_President   (but hopefully overriden w/details)
   president => President
   provost => Provost
   director => Director
   dean => Dean

   prof(essor)? => Professor
   lecturer => whatever the appropriate title for lecturers is...

   programmer => ($dept eq 'Information Systems') ? IS_programmer : programmer

and everyone else gets plain old boring "user"?

Carla Fermann <carla@MIT.EDU> writes:
> The "professors" that we have are from a list that I did manually in
> Spring '87 (yep, with an 8) or so.

Wheee, how many of them got deactivated so far? =)

> About the only downside that I can see is that if we did it
> automatically, the size of the database file would grow significantly
> (right now, most users don't have an entry in it, and just get the
> default info). I don't know if that would cause any trouble, though. 

Well, I think we can leave lots of users as "user" without much trouble...

> In the meantime, we can manually create entries for certain people :-)

Yeah, I was confused when I went to look at the database on matisse
and I saw rar in there; but then I realized the file has been edited
today. =)

--bert

home help back first fref pref prev next nref lref last post