[6961] in Athena Bugs

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

Re: get_message

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Jan 26 04:22:40 1991

Date: Sat, 26 Jan 91 04:22:23 -0500
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: jfc@ATHENA.MIT.EDU
In-Reply-To: 6959

1) You're not supposed to see a message on your terminal. One of the
design criteria for get_message was that if get_message couldn't find
a new message, that *WASN'T THE USER'S PROBLEM* and it would keep it's
mouth shut. In fact, from ngms.latex (the design document for the
restricted version that we're actually using, which passed design
review several years ago...):
    \item  A tendency toward consistency is sufficient. It is assumed that
    the message is only updated infrequently (daily updates are unlikely).
    In addition, the user need not be guaranteed the latest message.

The idea is that if you care at all, you'll look at the syslog
messages, as you did.

2) add this at /source/athena/bin.athena/gms/get_message.c, line 40:
  /* gms is just return values; the other com_err tables used will
   * init themselves.
   */
  init_gms_err_tbl();

				_Mark_ <eichin@athena.mit.edu>
				MIT Student Information Processing Board

ps. hmm. ~eichin/perl/globalmessage.perl doesn't have this bug - it
returns strings directly for all of the error messages :-)

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