?? start
字號:
#!/bin/cshif ("$#argv" == "0") then set host = "localhost" set teamname = "ATTCMUnited2000"else if ("$#argv" == "1" ) then set host = $1 set teamname = "ATTCMUnited2000"else if ("$#argv" == "2" ) then set host = $1 set teamname = $2else echo "Usage: $0 <host-name> <team-name>" exit -1endif#set simulator_step = 30set programname = "./peterclient"set coachprogramname = "./coach"echo "Running with the following parameters"echo "Hostname: " $hostecho "Team: " $teamnameecho "Program: " $programnameecho "CoachProgram: " $coachprogramname#echo "Sim_step: " $simulator_step#Start the players. Note that the first is the goalie$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname -goalie &sleep 1$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &./quicksleep$programname -file client.conf -file server.conf -file share.conf -host $host -team_name $teamname &sleep 3#Start the coach$coachprogramname -file coach.conf -file server.conf -file share.conf -host $host -team_name $teamname &#waitforq#if ( -e /usr/ucb/ps ) then # kill `/usr/ucb/ps ax | grep $programname | grep -v grep | awk '{print $1}'`#else#kill -9 `ps ax | grep $programname | grep -v grep | awk '{print $1}'`#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -