Last change
on this file since 831 was
831,
checked in by ajj, 11 years ago
|
latest version of startprogs scripts.
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
Rev | Line | |
---|
[830] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | #Copy in BUF files |
---|
| 4 | #cp $HOME/RunTemplates/* . |
---|
| 5 | loopvar=0 |
---|
| 6 | while [ "$loopvar" != 1 ]; do |
---|
| 7 | read -p "Do you want to copy default buffers (overwriting any that exist)? (y/n):" |
---|
[831] | 8 | if [ $REPLY == "y" -o $REPLY == "Y" ]; then |
---|
[830] | 9 | echo "Copying default buffers - Overwriting exisitng ones..." |
---|
| 10 | cp $HOME/RunTemplates/* . |
---|
| 11 | loopvar=1 |
---|
[831] | 12 | elif [ $REPLY == "n" -o $REPLY == "N" ]; then |
---|
[830] | 13 | echo "NOT Copying default buffers - using existing ones..." |
---|
[831] | 14 | echo "Copying RESETBEAMPOS.COM" |
---|
| 15 | cp $HOME/RunTemplates/*.COM . |
---|
[830] | 16 | loopvar=1 |
---|
| 17 | else |
---|
| 18 | echo "Invalid response. Try again" |
---|
| 19 | loopvar=0 |
---|
| 20 | fi |
---|
| 21 | done |
---|
| 22 | |
---|
| 23 | #Start ICP and ICP Log |
---|
[831] | 24 | #echo 'Starting ICP...' |
---|
| 25 | #/usr/bin/gnome-terminal --geometry=77x20+3-25 --hide-menubar --window-with-profile=ICP -e icp & |
---|
| 26 | #/usr/bin/gnome-terminal --geometry=77x20+642-25 --hide-menubar --window-with-profile=ICPLog & |
---|
| 27 | $HOME/bin/doicpwindows |
---|
[830] | 28 | |
---|
| 29 | #Start prepare |
---|
| 30 | echo 'Starting prepare...' |
---|
| 31 | /usr/bin/nohup $HOME/bin/prepare 2>&1 > /dev/null & |
---|
| 32 | #/usr/bin/nohup $HOME/bin/bt5plot -geometry 910x643+1292+0 2>&1 > /dev/null & |
---|
| 33 | #/usr/bin/nohup /usr/local/icp/bin/xpeek -geometry 400x329+1296-0 2>&1 > /dev/null & |
---|
| 34 | |
---|
| 35 | #Start editor |
---|
| 36 | echo 'Starting editor...' |
---|
| 37 | #gedit doesn't take geometry flag. How annoying. |
---|
| 38 | /usr/bin/gedit & |
---|
| 39 | |
---|
| 40 | #Start xpeek |
---|
| 41 | echo 'Starting xpeek...' |
---|
| 42 | #Temporary xpeek from charlotte fix |
---|
| 43 | /usr/bin/ssh -fY xpeek@charlotte xpeek bt5 |
---|
| 44 | |
---|
| 45 | #Start bt5plot |
---|
| 46 | echo 'Starting bt5plot...' |
---|
| 47 | $HOME/bin/bt5plot |
---|
Note: See
TracBrowser
for help on using the repository browser.