Re: patch cygrunsrv for running native win32 applications

2005-10-16 Thread Yitzchak Scott-Thoennes
On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Christopher Faylor writes:
 
  LOL.
 
 Propose a gold star for Antony Baxter - I believe he is the first
 person on record as getting a laugh out of CGF!

It's been known to happen from time to time:

On Thu, Apr 14, 2005 at 10:05:58AM -0400, Christopher Faylor wrote:
 On Thu, Apr 14, 2005 at 06:22:06AM -0700, Yitzchak Scott-Thoennes wrote:
 I recently ran across this (not work safe) similar request:
 http://www.scs.cs.nyu.edu/~dm/remove.pdf

 I very nearly died while reading that link.  I started laughing so hard that
 I aspirated some tea and then I had to cough for a minute.  That was very
 funny.

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Henry S. Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christopher Faylor writes:

 LOL.

Propose a gold star for Antony Baxter - I believe he is the first
person on record as getting a laugh out of CGF!

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: [EMAIL PROTECTED]
   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDT5V8kjnJixAXWBoRArgEAJ9xFskpFsU+adhIaLYwUFD1mzVl6QCeIgGp
NNbX9IWIl9d1u6AWUDF0KUM=
=2baZ
-END PGP SIGNATURE-

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Gerrit P. Haase

Henry S. Thompson wrote:


Christopher Faylor writes:

LOL.



Propose a gold star for Antony Baxter - I believe he is the first
person on record as getting a laugh out of CGF!


I second this propose ;)


Gerrit
--
=^..^=

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Antony Baxter
Christopher Faylor writes:

 LOL.

 Propose a gold star for Antony Baxter - I believe he
is 
 the first person on record as getting a laugh out of

 CGF!

 ht

Thank you, thank you, bows/ you're too kind!

However, I think it would just be construed as a form 
of nepotism - for the record Henry used to be one of
my 
lecturers in Edinburgh, several years ago. 

Waddya mean you *don't remember*?

Ant.



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christopher Faylor writes:

 LOL.

Propose a gold star for Antony Baxter - I believe he is the first
person on record as getting a laugh out of CGF!

http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
http://sourceware.org/ml/cygwin/2004-04/msg00947.html
http://sourceware.org/ml/cygwin/2004-04/msg00947.html
http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
.
.
.

And a few in personal email.  Dave Korn must be sick of seeing them, in
fact.

I hate to set the precedent of people voting for gold stars but since
I thought of this when I sent the LOL, I guess a gold star would be
appropriate, just for a nice comeback.

cgf

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Igor Pechtchanski
On Fri, 14 Oct 2005, Christopher Faylor wrote:

 On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
 Christopher Faylor writes:
 
  LOL.
 
 Propose a gold star for Antony Baxter - I believe he is the first
 person on record as getting a laugh out of CGF!

 http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
 http://sourceware.org/ml/cygwin/2004-04/msg00947.html
 http://sourceware.org/ml/cygwin/2004-04/msg00947.html
 http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
 http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html

The last one must've made you laugh twice... :-)

 .
 .
 .

 And a few in personal email.  Dave Korn must be sick of seeing them, in
 fact.

And who could forget http://cygwin.com/acronyms/#3PP?

 I hate to set the precedent of people voting for gold stars but since
 I thought of this when I sent the LOL, I guess a gold star would be
 appropriate, just for a nice comeback.

Done.  But you haven't answered Anthony's question: *will* this be fixed
in 1.5.19?  Is it on its way of becoming the next B20? :-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Re: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:46:34PM -0400, Igor Pechtchanski wrote:
On Fri, 14 Oct 2005, Christopher Faylor wrote:

 On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
 Christopher Faylor writes:
 
  LOL.
 
 Propose a gold star for Antony Baxter - I believe he is the first
 person on record as getting a laugh out of CGF!

 http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
 http://sourceware.org/ml/cygwin/2004-04/msg00947.html
 http://sourceware.org/ml/cygwin/2004-04/msg00947.html
 http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
 http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html

The last one must've made you laugh twice... :-)

It was a stupid cut/paste error from firefox, actually.  I'm having a #(*
of a time getting that to work correctly.

I hate to set the precedent of people voting for gold stars but since I
thought of this when I sent the LOL, I guess a gold star would be
appropriate, just for a nice comeback.

Done.  But you haven't answered Anthony's question: *will* this be
fixed in 1.5.19?  Is it on its way of becoming the next B20?  :-)

Corinna and I were thinking that 1.5.20 could be the next B20, actually.

If I could just figure out Volker's hang problem, I'd release 1.5.19 and
then we'd be on the road to nirvana.

cgf

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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Danilo Turina

Ooops...

I use cygrunsrv to run Mercury32 (that, in addition to be a Win32 
Applicatio, is not a console application) and it works.


Is there maybe some counter-effect that I don't know?

Ciao,

Danilo

Corinna Vinschen wrote:

On Oct 12 23:23, Gunnar Thielebein wrote:


Hi,

Is it also possible to patch the cygrunsrv service installer for running
native win32.exe? Means like if you run a windows command/app in bash is
executed there must be also a way to do it in cygrunsrv.
I know there are extra utilities for windows like srvany but i like the
command line interface of cygrunsrv much more and want to know how much
efforts it would take for adding this feature



cygrunsrv was specificially created to run Cygwin applications.  For
instance, it expects that the inferior application has an idea what a
POSIX signal is.  That said, it would be possible to allow native Windows
apps to run under cygrunsrv, but it doesn't really look worth the effort,
given that *useful* native Windows tools for manipulating services are
available, like the on-board tool sc.

Otherwise, if you're still interested to change cygrunsrv:
http://cygwin.com/acronyms/#SHTDI
http://cygwin.com/acronyms/#PTC



Corinna




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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Christopher Faylor
On Thu, Oct 13, 2005 at 04:10:09PM +0200, Danilo Turina wrote:
Ooops...

I use cygrunsrv to run Mercury32 (that, in addition to be a Win32 
Applicatio, is not a console application) and it works.

Is there maybe some counter-effect that I don't know?

Nothing serious.  Every so often it will issue a pop-up dialog that
says.

Look, behind you!  It's a fiddler crab!

 [OK]

And, then when you look behind you there will be no fiddler crab.

You still have to press the OK button, though.  That's pretty annoying.
Someone should fix that.  I'm sure that it would be pretty simple.

cgf

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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Igor Pechtchanski
On Thu, 13 Oct 2005, Danilo Turina wrote:

 Ooops...

 I use cygrunsrv to run Mercury32 (that, in addition to be a Win32
 Applicatio, is not a console application) and it works.

 Is there maybe some counter-effect that I don't know?

cygrunsrv should have no problems spawning a Windows app.  Logging and
termination are another story -- cygrunsrv will use POSIX signals.

IIRC, there is a cygwin stub for each spawned Windows task.  I don't
remember if this stub translates some POSIX signals to known Windows
signals -- if it does, you can specify those for cygrunsrv to use in
terminating the process.

If you don't care whether the process gets properly terminated on, say,
system shutdown or service stop, and if the process doesn't write anything
to stdout/stderr, I don't think there are other caveats here.

Corinna?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Antony Baxter
Is there maybe some counter-effect that I don't
know?

Nothing serious.  Every so often it will issue a 
pop-up dialog that says.

Look, behind you!  It's a fiddler crab!

 [OK]

And, then when you look behind you there will be no
fiddler crab.

You still have to press the OK button, though. 
That's 
pretty annoying. Someone should fix that.  I'm sure 
that it would be pretty simple.

cgf

When I tried that, there *was* a fiddler crab behind
me. Will that be fixed in 1.5.19?

ant.





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Igor Pechtchanski
On Thu, 13 Oct 2005, Antony Baxter wrote:

 Is there maybe some counter-effect that I don't know?
 
 Nothing serious.  Every so often it will issue a
 pop-up dialog that says.
 
 Look, behind you!  It's a fiddler crab!
 
  [OK]
 
 And, then when you look behind you there will be no
 fiddler crab.
 
 You still have to press the OK button, though.  That's
 pretty annoying. Someone should fix that.  I'm sure
 that it would be pretty simple.
 
 cgf

 When I tried that, there *was* a fiddler crab behind
 me. Will that be fixed in 1.5.19?

Please provide a simple, reproducible testcase.  Include details of your
system, as per http://cygwin.com/problems.html, as well as the
information about your environment (e.g., pets -- you don't happen to have
a pet fiddler crab, do you?).  Help us help you!
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Re: patch cygrunsrv for running native win32 applications

2005-10-13 Thread Corinna Vinschen
On Oct 12 23:23, Gunnar Thielebein wrote:
 Hi,
 
 Is it also possible to patch the cygrunsrv service installer for running
 native win32.exe? Means like if you run a windows command/app in bash is
 executed there must be also a way to do it in cygrunsrv.
 I know there are extra utilities for windows like srvany but i like the
 command line interface of cygrunsrv much more and want to know how much
 efforts it would take for adding this feature

cygrunsrv was specificially created to run Cygwin applications.  For
instance, it expects that the inferior application has an idea what a
POSIX signal is.  That said, it would be possible to allow native Windows
apps to run under cygrunsrv, but it doesn't really look worth the effort,
given that *useful* native Windows tools for manipulating services are
available, like the on-board tool sc.

Otherwise, if you're still interested to change cygrunsrv:
http://cygwin.com/acronyms/#SHTDI
http://cygwin.com/acronyms/#PTC



Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat, Inc.

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



patch cygrunsrv for running native win32 applications

2005-10-12 Thread Gunnar Thielebein

Hi,

Is it also possible to patch the cygrunsrv service installer for running
native win32.exe? Means like if you run a windows command/app in bash is
executed there must be also a way to do it in cygrunsrv.
I know there are extra utilities for windows like srvany but i like the
command line interface of cygrunsrv much more and want to know how much
efforts it would take for adding this feature

thx in advance, gun.







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