On Wed, Apr 25, 2001 at 12:59:11PM +0800, Horace G. Friend III <[EMAIL PROTECTED]> wrote:
> One follow-up question if you don't mind. The RunningX binary is approx.
> 14K while the shell script is less than 1K. Is there any advantange of
> using the binary over the script considering it's huge size?

    They are not equivalent.  Whether or not $DISPLAY is set is not
necessarily equivalent to whether or not X is running.  RunningX not
only checks to see if X is running, but checks to ensure that the
display can be opened.

-- 
Bob Bell <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
 "Suppose I want to take over the world. Simplicity says I should
  just take over the world by myself."
   -- Larry Wall, creator of the Perl programming language

Reply via email to