Ethereal-dev: Re: [ethereal-dev] What should Ethereal do for command-line option errors?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Stefan `Sec` Zehl <sec@xxxxxx>
Date: Tue, 7 Dec 1999 14:55:53 +0100
On Tue, Dec 07, 1999 at 07:49:45AM -0600, Nathan Neulinger wrote:
> Stefan `Sec` Zehl wrote:
> > Do it just like ssh-add does. Use stdout if there is one and it's not
> > /dev/null. Otherwise use X :-)
> 
> Actually, that's not such a good idea. Maybe checking if stdout is a tty
> would be sufficient, but if you do it just checking if it's there is bad
> practice, cause almost everything in X will write to xsession-errors or
> similar. 

Okay, i admit I was beeing silly. It was just too early for me.

Of course that's what I meant. Checking if it's a tty not 'if its there'

CU,
    Sec
-- 
In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon.
Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95.
                    Something must have gone wrong.