[comp.unix.questions] uuxqt questions

marsh@umt.UUCP (Paul Marsh) (12/06/88)

I encountered the two following errors while running "uuxqt -x9".  I would
appreciate any comments as to their nature.  Thanks in advance.

1)  This was the result of mail being sent to an unknown user-id.  Do the
    status/signal/exit values provide me with useful debugging information?

  shio - PAT=/bin:/usr/bin:/usr/ucb;export PATH;rmail sri
  Subfile with prefix:/usr/spool/uucp/sys/DEFAULT/D./D.ucdavisScBL2
  status 17152
  retstat is signal 0, exit 67:

2)  

  Subfile with prefix:/usr/spool/uucp/sys/DEFAULT/D./D.ucdavisScCA2
  sh: 4960 Illegal instruction
  status 0
  retstat is signal 0, exit 0:
  exit cmd - 0

-- 
UUCP :	... ! ucdavis ! umt ! marsh
US Mail :	Paul Marsh,	University of Montana, Computer Center
	    			Missoula, MT	59812
phone :				(406) 243-5455
-- 

guy@auspex.UUCP (Guy Harris) (12/06/88)

>1)  This was the result of mail being sent to an unknown user-id.  Do the
>    status/signal/exit values provide me with useful debugging information?
>
>  shio - PAT=/bin:/usr/bin:/usr/ucb;export PATH;rmail sri
>  Subfile with prefix:/usr/spool/uucp/sys/DEFAULT/D./D.ucdavisScBL2
>  status 17152
>  retstat is signal 0, exit 67:

Well, I suspect you can argue either way on whether it's "useful
debugging information" or not....

Mail software, at least under BSD, tends to use a set of exit status
conventions listed in <sysexits.h>.  67 is EX_NOUSER, "addressee
unknown", which tells you it's mail sent to an unknown user ID.

From your comment, though, I infer you already knew that.  Also, unless
you happen to know that those conventions are used, the numbers might as
well be random.  Those could be considered arguments that it's not
useful debugging information.... 

(17152 is 67*256, or "67 in the next byte up from the bottom"; in other
words, it's the same as "signal 0, exit 67" - see WAIT(2) - and thus
redundant.)