Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: erasmus.inf.ed.ac.uk: ht set sender to ht@cogsci.ed.ac.uk using -f
To: cygwin@cygwin.com
Subject: Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.
References: <CFF3E15126A0EF4F96D9FABED7A40266715A49@mail.i.turbinegames.com>
	<3F7F1883.4070809@urth.org> <f5bisn2snoo.fsf@erasmus.inf.ed.ac.uk>
	<Pine.GSO.4.56.0310061051470.15176@slinky.cs.nyu.edu>
From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
Date: Mon, 06 Oct 2003 15:58:35 +0100
In-Reply-To: <Pine.GSO.4.56.0310061051470.15176@slinky.cs.nyu.edu> (Igor
 Pechtchanski's message of "Mon, 6 Oct 2003 10:53:45 -0400 (EDT)")
Message-ID: <f5b7k3iqup0.fsf@erasmus.inf.ed.ac.uk>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Igor Pechtchanski <pechtcha@cs.nyu.edu> writes:

<snip/>

>> If you're _really_ obsessive (like me :-( about launching from an
>> icon, compile the following and point the icon at it.
>>
>> Hope this helps,
>> ht
>> [code snipped]
>>    if (CreateProcess (NULL, "c:\\cygwin\\bin\\bash -c \"/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start\"", &sec_attrs, NULL, TRUE, 0,
>>                       NULL, NULL, &start, &child))
>
> Ouch!  Why not simply point the shortcut at 'c:\cygwin\bin\bash --login -c
> "/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"'?
> 	Igor

Because that produces an unsightly command window as well as the
desired xemacs window.  That's what all the WinMain etc. stuff is
there to defeat.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

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

