delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/11/01:28:26

X-Spam-Check-By: sourceware.org
Message-Id: <announce.4462CB1E.7060808@cwilson.fastmail.fm>
Date: Thu, 11 May 2006 01:26:54 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [ANNOUNCEMENT] New: checkx-0.1.0-1
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Perl5 Mail::Internet v1.74
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

checkX is a little utility I wrote that tests to see if (a) the X11 
client DLLs are installed on the machine, and (b) the Xserver on 
$DISPLAY (or -d x.x.x.x:x) is running and usable.

It does not link against the Xll libraries itself, but attempts to 
dlopen it, using a fuzzy name/path search.  Both the search path and the 
target name are explicitly overridable via commandline arguments.

In its default mode, checkX returns a 0 status if X is present, 1 
otherwise, and generates no output.  It is intended for use in scripts, 
which need to intelligently decide whether to launch an X-based 
application or a non-X (native MS Gui?  console?) one.


=============================================================================
checkX determines if X is installed and Xserver is running
   returns 0 if yes, nonzero otherwise

Options:
   -h|--help            : prints this help message
   -d|--display STR     : use STR instead of $DISPLAY
   -l|--location        : print location of Xlib DLL on stdout
   -a|--appendpath STR  : append STR to value of $PATH (cumulative)
   -p|--prependpath STR : prepend STR to value of $PATH (cumulative)
   -r|--replacepath STR : use STR instead of $PATH when searching
   -x|--xlibname STR    : use exactly STR instd of fuzzy cygX11-*.dll
   -t|--timeout FLT     : allow FLT seconds to connect with Xserver
                          defaults to 0.5, use 0.0 for Xlib's (safe, 12s)
                          timeout
      --nogui           : disable informational popups
      --notty           : disable stderr messages
      --debug           : turn on debugging messages
      --no-silent       : allow error, warning, and info messages
Note that -a defaults to '/usr/bin:/usr/X11R6/bin'.  To eliminate the 
default, use '-a ""'
=============================================================================


-- 
Chuck


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.


If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin AT cygwin DOT com .


*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:


cygwin-announce-unsubscribe-you=yourdomain DOT com AT cygwin DOT com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019