Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Team MacNN > Mac OS X CLI config problems

Mac OS X CLI config problems
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jul 11, 2005, 12:14 PM
 
Following this guide:

http://members.dslextreme.com/~reade.../installc.html

Near the bottom it shows how to start the client with the lags you need by using:

#!/bin/sh
./folding -local -advmethods etc...

Using BBEdit I created the file saved it into the FAH1 and FAH2 folders, typed chmod +x, draged the files onto it hit enter and the command line came up.

Double clicking on it makes it open up BBEdit

What am I doing wrong

Concorde
     
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status: Offline
Reply With Quote
Jul 11, 2005, 04:54 PM
 
If you read through the instructions again, you'll find there is no "then double-click to make it go".
You can't double-click an executable script without making it special.
If you want to rename the script and append .command, then you can double click it.
So if your script is called
launcherScript
rename it to
launcherScript.command
then you can double-click the script to make it go.
Be sure the script is in the same folder with the client or it won't be able to find it when you launch it.
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jul 12, 2005, 04:12 PM
 
Oh thankyou!

Concorde
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jul 13, 2005, 02:47 PM
 
kk got that sorted!

Now I have the problem of the client not using the local tag so it starts in the user folder not the F@H11 folder where it is located!

#!/bin/sh
/Users/james/F@H11/fah5 -local -advmethods -verbosity 9

Is that all correct? Or am I missing something!

Cheers Concorde
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jul 24, 2005, 06:33 AM
 
No ideas
     
Forum Regular
Join Date: Nov 2002
Location: Santa Barbara CA
Status: Offline
Reply With Quote
Jul 24, 2005, 07:47 AM
 
When this script runs the -local tag applies to the directory that it is in. I would change the script to:

#!/bin/sh
cd /Users/james/F@H11
./fah5 -local advmethods -verbosity 9 &

The & will cause it to run in the background. If you do that to shut it down you would type:
killall fah5

Then the best way to watch the output would be to open the FAHlog.txt file in Console, which is an application in the Applications/Utilities folder.
     
Fresh-Faced Recruit
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jul 24, 2005, 08:35 AM
 
Thank you!!!!!

Concorde
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:11 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2