logo       

Re: Small example for rshd ?: msg#00016

gnu.cegcc.devel

Subject: Re: Small example for rshd ?

Danny Backx wrote:
> On Sun, 2007-07-01 at 20:01 +0100, Pedro Alves wrote:
>> Danny Backx wrote:
>>> I've attached a patch.
>>>
>>> Three pieces :
>>> - be able to quit rshd without rebooting my PDA. Do you have another way
>>> to do this?
>> Just kill the process with synce-pkill, or if you launch it on the
>> device in PocketCMD.exe or CMD.exe, just CTRL-C it (or press the
>> red hand - same thing).
>
> What's synce-pkill ? It's not in the version of synce that I have.
>

Silly me. I think I've once seen that your synce tools are synce- prefixed,
and I forgot that I have other tools in the path other than from synce.
That one comes from a win32 port of the itsutils from itsme.


>> Of course having a control panel applet to start/stop rshd would also be
>> nice, of just simply a small executable that looks for a running rshd
>> and kills it, or sends a windows message to it that causes it to kill
>> itself, or whatever.
>
> Hmm, basically you're saying we should make rshd appear in the list of
> running programs. That would be enough to be able to kill it. I'll look
> into that.
>

Not really what I was saying... I was saying something like either
creating a windows event loop that waits for a special message. Then
build a special tiny tool called rshd-stop.exe that sends the message
to rshd.exe or broadcasts it, and if the rshd still doesn't quit itself,
kill it. I was thinking of enumerating the processes to get at a
rshd.exe handle. The mechanism could be reused in a control
panel applet.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise