bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting standard fds to console in translator libs


From: Thomas Bushnell, BSG
Subject: Re: setting standard fds to console in translator libs
Date: 26 Aug 2001 12:18:57 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

nisse@lysator.liu.se (Niels Möller) writes:

> Perhaps it would help to be able to get a port to the console that
> doesn't allow that (and then it should probably filter out tty control
> characters etc as well).

Writing to the console is in general *never* a satisfactory error
reporting mechanism.  What makes you think the user can even see it?

> I'm just suggesting that sending diagnostic messages to stderr should
> be a reasonable and supported thing for translators to do, and that
> stderr should be set to some reasonable (and configurable) default by
> the system, most likely the parent filesystem.

No, stderr should if sensible be set to some default.  But the console
is not a "reasonable" default for anything except at boot time.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]