[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: setting standard fds to console in translator libs
From:       tb () becket ! net (Thomas Bushnell, BSG)
Date:       2001-08-26 19:18:57
[Download RAW message or body]

nisse@lysator.liu.se (Niels M=F6ller) 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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic