This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: Checking if the X Server is running
- From: "O. Olson" <olson_ord at yahoo dot it>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 30 Sep 2007 23:37:20 +0200 (CEST)
- Subject: RE: Checking if the X Server is running
- Reply-to: cygwin-xfree at cygwin dot com
--- Bengt-Arne Fjellner <bengt-arne.fjellner@ltu.se>
ha scritto:
>
> Just run setup click next until your in the
> categories window.
> Click view till you reach not installed.
> scroll down till you see checkX
> select it and then next.
>
> --
> tel 0920 49 1894
> Bengt-Arne Fjellner
Thanks Bengt-Arne for your quick reply. I think I got
this installed. I now put the following into a file
and am trying to execute it from the cygwin prompt. I
get the error
/usr/X11R6/bin/sd.sh: line 8: syntax error near
unexpected token `fi'
/usr/X11R6/bin/sd.sh: line 8: ` fi'
File ---------------------------
#!/bin/sh
if checkX
then
xterm -e /usr/bin/bash -l
else
XWin -multiwindow -clipboard -silent-dup-error
xterm -e /usr/bin/bash -l
fi
End File -------------------------------------------
I am sorry if this is a bit obvious ? but I am trying
to find a way to start applications using a windows
batch file.
O.O.
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/