 JohnnyPremium join:2001-06-27 Atlanta, GA kudos:1
| Dubl-Click RC5 It's pretty simple - just set the application for the "dnetc" app to be Terminal, and it automagically works - it will launch Terminal and start RC5 when you double-click the dnetc app.
It's possible to use QuicKeys' "execute Terminal command" to start RC5 in the background without a Terminal window showing. If this happens accidently by some other means (like putting dnetc in the Startup items without making it a Terminal app), then you will get only 50% of the throughput when you launch it in the Terminal, and have to check ProcessViewer to see the other instance of dnetc (unless you say otherwise in the prefs, dnetc will run as many instances of itself as you launch). --
>>Johnny
Cocoa coder in training
[text was edited by author 2002-03-24 11:59:16] |
|
 | Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware the RC5 police...  |
|
 JohnnyPremium join:2001-06-27 Atlanta, GA kudos:1 | said by mdrelichman: Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware the RC5 police...
If a new app or Software Update requires a restart because it launches a daemon or has a kernel extension, I was always forgetting to relaunch RC5. Dragging the dnetc file into the terminal window and hitting enter works, but the focus doesn't shift to the terminal when you drag - requires a click in the window. Now can just put dnetc in the Dock and go.
Hmm - come to think of it, now that dnetc has an app associated with it, it might work to be put into the login items. --
>>Johnny
Cocoa coder in training |
|
|
|
 tmpchaosRequiescat in pacePremium,Mod join:2000-04-28 Hoboken, NJ Reviews:
·Optimum Online Host: All Things Macintosh Bell Canada Digital Imaging Digital Imaging Te..
| reply to Mauricio9
said by mdrelichman: Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware TXLonghorn...
-- Did YOU use all your thumbs yesterday? ***FAQ*** |
|
 JohnnyPremium join:2001-06-27 Atlanta, GA kudos:1 | reply to Johnny
It works to put it into the login items. |
|
 HomunculusPipsquackPremium join:2000-12-14 Dar al-Harb | reply to Johnny hmmm weird, when I go into Show Info - Open with application, I cant select Terminal... its dimmed out... *shrug* -- Pipsquack! |
|
 JohnnyPremium join:2001-06-27 Atlanta, GA kudos:1 | Not to worry, dude - change the popup to all applications instead of recommended applications and ye shall find. --
>>Johnny
Cocoa coder in training |
|
 HomunculusPipsquackPremium join:2000-12-14 Dar al-Harb
| Oooooh! Blonde moment! 
ok now i need a cool OSX RC5 icon so i can put it in the dock... anybody? -- Pipsquack! [text was edited by author 2002-03-25 00:07:17] |
|
 JohnnyPremium join:2001-06-27 Atlanta, GA kudos:1 | Copy and paste into the get info. |
|
 HomunculusPipsquackPremium join:2000-12-14 Dar al-Harb | ya read my mind JL, thats the one I put in.  -- Pipsquack! |
|
 | reply to Johnny What if I want the dnetc client ALWAYS running on the machine, not just when I'm logged in.
Is there a way to include its startup command in /etc/rc.local or an equivalent on Mac OS X.
I tried putting this in rc.local, but it doesnt seem to work:
/Users/cowfriend/distributed-net/dnetc -quiet
Suggestions? |
|
 Tex Longhorn45-35Premium,MVM join:2001-01-05 San Diego, CA kudos:3 | reply to Homunculus Here are some more.


And for more, check out the Official distributed.net Logos. -- The few. The proud. The Moorines. |
|
 Tex Longhorn45-35Premium,MVM join:2001-01-05 San Diego, CA kudos:3 | two more |
|
 Tex Longhorn45-35Premium,MVM join:2001-01-05 San Diego, CA kudos:3 | and the last two |
|
 JJBeat It, BillPremium,MVM join:2000-02-18 Madison, WI
| reply to cow-friend said by cow-friend: What if I want the dnetc client ALWAYS running on the machine, not just when I'm logged in.
Well, using TextEditor or whatever create a file that looks like this:
#!/bin/sh /Users/you/your_dnetc_folder/dnetc
Save the file as 'start_rc5.command'
In terminal type: 'chmod 755 start_rc5.command'
Then go the login pref pane and add rc5_start.command to the login items window. RC5 will survive a logout, but keep in mind that it will start a new client every time you log in, so if you log in and out a lot you will have quite a few clients running. I've been thinking about writing a script that checks for a running client first, then quits if it finds one without starting another but I haven't gotten around to it yet.
edit Actually if you use this:
#!/bin/sh kill `ps aux | grep dnetc | grep -v grep | awk '{print $2}'` /Users/you/your_dnetc_folder/dnetc
it should kill any running clients before starting another. Not elegant, but it works.
-- Tutto vedo e molto manca.
[text was edited by author 2002-04-17 11:24:39] |
|
 | reply to Johnny those cows are "utterly" fantastic!*
*yes you can smack me for that |
|