[8043] in Athena Bugs

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

hesinfo errors to stdout only?

daemon@ATHENA.MIT.EDU (ckclark@ATHENA.MIT.EDU)
Mon Aug 26 11:40:03 1991

From: ckclark@ATHENA.MIT.EDU
Date: Mon, 26 Aug 91 11:40:31 -0400
To: wchuang@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU
In-Reply-To: wchuang@ATHENA.MIT.EDU's message of Sun, 25 Aug 91 19:24:23 -0400 <9108252324.AA11915@M11-115-5.MIT.EDU>
Reply-To: ckclark@mit.edu

>>>>> On Sun, 25 Aug 91 19:24:23 -0400, wchuang@ATHENA.MIT.EDU said:


	wchuang> Tested on DEW (7.3 RT), and m11-115-5 (7.3, RS6000).
	wchuang> Any hesinfo command without a real Hesiod name sends
	wchuang> the error to stderr only, and not to stdout.  Is this
	wchuang> what it should do?

	wchuang> Under 7.2, no error or other information was returned
	wchuang> in this case.

It is typical for tty-output programs like hesinfo to send error
diagnostics to stderr; it would be considered wrong to send them
anywhere else.  Providing an invalid Hesiod name to the hesinfo command
should produce an error message, so if it didn't before, it's an
improvement if it does now.  If you don't want to see the output to
stderr, redirect it to /dev/null.

-Calvin

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