This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.


On Mon, 6 Oct 2003, Henry S. Thompson wrote:

> 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

Umm, yeah, ok, make that 'c:\cygwin\usr\X11R6\bin\run.exe /bin/bash
--login -c "/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"', then.
:-D
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]