public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin-xfree@cygwin.com
Subject: Re: Cygwin 1.7.22 calls dumper when starting X
Date: Thu, 01 Aug 2013 13:09:00 -0000	[thread overview]
Message-ID: <51FA5DFA.8030207@cwilson.fastmail.fm> (raw)
In-Reply-To: <51FA445D.40606@alice.it>

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

On 8/1/2013 7:19 AM, Angelo Graziosi wrote:
> Charles Wilson wrote:
>> Is there a way to test run-2.0?  What is the syntax to replace:
>>
>> C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
>>
>> Sure:
>
> and how to replace
>
> C:\cygwin-2\bin\run.exe bash -l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*};
> XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &'
>
>
> (which works fine with run-1.2!)
>
> I have tried this:
>
> $ cat /home/angelo/XWinServer.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Run2Config
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xsi:noNamespaceSchemaLocation="run2.xsd">
>    <SelfOptions />
>    <Global>
>      <Environment />
>      <Target filename="/usr/bin/bash.exe" startin="/usr/bin">
>        <Arg>-l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl
> -multiwindow -clipboard -silent-dup-error 2>/dev/null &'</Arg>
>      </Target>
>    </Global>
> </Run2Config>
>
> with this target in the link (.lnk):
>
> C:\cygwin-2\bin\run2.exe /home/angelo/XWinServer.xml

Two errors: the extra semicolon after XMLSchema-instance, and you do 
need to use the '&amp;' construction instead of '&'.  See attached.

(I'm not sure why you need & at all; unless it allows the bash shell to 
exit, where otherwise it would hang around?)

FWIW, I've never tested run2 with multibyte UTF-8, so...you might be 
better off setting the encoding to us-ascii.

--
Chuck


[-- Attachment #2: XWinServer.xml --]
[-- Type: text/xml, Size: 438 bytes --]

<?xml version="1.0" encoding="UTF-8"?>
<Run2Config
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="run2.xsd">
  <SelfOptions />
  <Global>
    <Environment />
    <Target filename="/usr/bin/bash.exe" startin="/usr/bin">
      <Arg>-l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &amp;'</Arg>
    </Target>
  </Global>
</Run2Config>



[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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/

  reply	other threads:[~2013-08-01 13:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 11:20 Angelo Graziosi
2013-08-01 13:09 ` Charles Wilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-01 21:34 Angelo Graziosi
2013-08-01 22:06 ` Mark Hansen
2013-07-30 17:33 Jim Reisert AD1C
2013-07-30 18:37 ` Jim Reisert AD1C
2013-07-31 11:58 ` Jon TURNEY
2013-07-31 13:41   ` Jim Reisert AD1C
2013-07-31 16:10     ` Jim Reisert AD1C
2013-07-31 19:22     ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51FA5DFA.8030207@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).