home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / msgd / Common / errtext.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-09  |  2.1 KB  |  70 lines

  1. #ifndef lint
  2. static char *RCSid = "$Header: /usr/source/mfcf/msg/common/RCS/errtext.c,v 1.3 89/01/08 03:16:36 jmsellens Exp $";
  3. #endif
  4.  
  5. #if 0
  6. /*
  7.  * $Log:    errtext.c,v $
  8.  * Revision 1.3  89/01/08  03:16:36  jmsellens
  9.  * Changed BADHOST error message to not mention hosts file, since
  10.  * we don't use it any longer.
  11.  * 
  12.  * Revision 1.2  88/09/25  02:40:49  jmsellens
  13.  * added message for BAD_VERSION
  14.  * 
  15.  * Revision 1.1  87/08/06  19:06:32  sahayman
  16.  * Initial revision
  17.  * 
  18.  */
  19. #endif
  20.  
  21. /* msgtext.c
  22.    Text of error messages produced by the system
  23. */
  24.  
  25. #include "msg.h"
  26.  
  27. char *errmessages[] = {
  28.     /* OK */
  29.     "",
  30.     /* NOT_ON - user, host */
  31.     "%s@%s is not signed on",
  32.     /* NO_WRITE - user, host, ut.u_line, syserr() */
  33.     "couldn't write to %s@%s (%s): %s",
  34.     /* BAD_HOST - host */
  35.     "host '%s' is unknown",
  36.     /* NO_UTMP - host, syserr() */
  37.     "couldn't open utmp on host '%s': %s",
  38.     /* BAD_ARGS - not used I think */
  39.     "bad argument(s)",
  40.     /* NO_CONNECT - host syserr() */
  41.     "couldn't connect to daemon on host '%s': %s (not running?)",
  42.     /* FATAL - not used I think */
  43.     "fatal error",
  44.     /* NO_ACK - host */
  45.     "didn't receive acknowledgement from host '%s'",
  46.     /* REMOTE_WRITE - host, syserr() */
  47.     "error writing to host '%s': %s",
  48.     /* REMOTE_READ - host, syserr() */
  49.     "error writing from host '%s': %s",
  50.     /* MESG_OFF user, host, ut.u_line */
  51.     "%s@%s (%s) is not receiving messages",
  52.     /* NO_REPLY user, ut.u_line */
  53.     "WARNING: Your terminal (%s on %s) cannot be written to",
  54.     /* TIMEOUT user, host, ut.u_line */
  55.     "timed out writing to %s@%s (%s) - terminal paging set?",
  56.     /* ANSWER user, host, line, answerbackmessage */
  57.     "%s@%s (%s): %s",
  58.     /* ANS_WARN user, line, answerbackmessage */
  59.     "%s on %s: Answerback message set to '%s'",
  60.     /* NO_TTY */
  61.     "WARNING: You are not on a terminal",
  62.     /* HOWEVER */
  63.     "However, %s@%s (%s) received the message",
  64.     /* NO_STAT - terminal, user, host, syserr() */
  65.     "Couldn't stat '%s' of %s@%s: %s - message not delivered",
  66.     /* BAD_VERSION - remote version, our version */
  67.     "Client version (%d) newer than server (%d) - can't understand you",
  68.     0
  69. };
  70.