Mail Archives: cygwin/2003/10/07/06:07:47
Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:
> On Mon, 6 Oct 2003, Henry S. Thompson wrote:
>
>> Igor Pechtchanski <pechtcha AT cs DOT nyu DOT 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
Ah, but I don't run X, just vanilla cygwin.
See you and raise you again :-)
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 AT cogsci DOT ed DOT ac DOT 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/
- Raw text -