Re: Can I turn off Xforms messages ?

Ken Hollis (khollis@northwest.com)
Sat, 21 Dec 1996 11:00:29 -0800 (PST)

To subscribers of the xforms list from Ken Hollis <khollis@northwest.com> :

Tristan:

> Unfortunately this does not work. I just don't
> want Xforms to print anything, but I want to keep all
> the output of MY program.

Okay, then, since 2>/dev/null takes stderr and shoves it up /dev/null's
where-the-sun-don't-shine, then you can just use standard printf's (or
fprintf(stdout) if you're a real evil programmer) and your output will
work fine.

> I think that it is fine that Xforms prints some informative
> message when the -debug mode is used, but I think that it
> shouldn't print anything in normal operation, or at least
> that there should be a way to tell Xforms to shut-up!

Well, if you think about it, it does make sense for it to tell the user
that there are no free colors for it to use (ie. shared colormap.) Lots
of programs do that. Personally, I don't see the problem. :)

----------------------------------------------------------------------
Ken T. Hollis || Autobahn Sys Admin || Freeware/GPL Hacker
khollis@northwest.com || Webmaster/Hacker || Linux Net Junkie
----------------------------------------------------------------------
"640K [RAM] ought to be enough for anybody" -- Bill Gates 1981