www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | swamp-dog AT ntlworld DOT com (Guy Harrison) |
To: | <cygwin AT cygwin DOT com> |
Subject: | Re: (Serious) X11 problem |
Date: | Sat, 02 Nov 2002 17:33:38 GMT |
Reply-To: | <cygwin AT cygwin DOT com> |
Message-ID: | <3dc40b3f.156756744@smtp.ntlworld.com> |
References: | <200211012131 DOT 37560 DOT jblazi AT gmx DOT de> |
In-Reply-To: | <200211012131.37560.jblazi@gmx.de> |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id gA2HXta26375 |
On Fri, 1 Nov 2002 21:31:37 +0100, jblazi <jblazi AT gmx DOT de> wrote: >I have tried to compile an X11 program from the Guile tutorial >http://www.gnu.org/software/guile/docs/guile-tut/tortoise1.html. I could >compile it but when I run it from bash, I get a core dump. I don't program X, nevertheless there's nothing there that I can see which checks for the existence of an X server. Looks like all the error checking has been omitted for tutorial clarity. Here's a hint on avoidance until you reach the tutorial which does it in code... #! /bin/sh if [ -z "$DISPLAY" ] then echo "No X atm" exit `false` else "$HOME"/tortoise1 fi Either of "info bash" or "man ash" (ash=sh). >On the Linux system I use for my work, the program runs flawlessly. I cannot >tell if this is because the program is badly written (that is not >well-behaved) or because there is a bug Cygwin / X11 somewhere. echo $DISPLAY man X >I shall not need X11 (as far as I can tell now) on Windows, but I thought this >may be interesting for Cygwin community. > >(By the way: Cygwin seems to be a phantastic product, now that learnt a few >things with a lot of help from this mailing list.) Loosely, you just need to launch a command shell from inside X and it'll run. Fyi it does work. -- swamp-dog AT ntlworld DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |