| COMMAND | ACTION |
| mkdir cir | create an empty work directory |
| cd cir | change directory |
| @dm cir | copy the demo files to the work directory |
| cp r.cir.1 r.cir | get the AUTO constants-file |
| cp s.cir.1 s.cir | get the HomCont constants-file |
| @fc cir | use the starting data in cir.dat to create q.dat |
| @h cir dat | increase the truncation interval; restart from q.dat |
| @sv 1 | save output-files as p.1, q.1, d.1 |
| cp r.cir.2 r.cir | get the AUTO constants-file |
| cp s.cir.2 s.cir | get the HomCont constants-file |
| @h cir 1 | continue saddle-focus homoclinic orbit; restart from q.1 |
| @sv 2 | save output-files as p.2, q.2, d.2 |
| cp r.cir.3 r.cir | get the AUTO constants-file |
| cp s.cir.3 s.cir | get the HomCont constants-file |
| @h cir 2 | generate adjoint variables ; restart from q.2 |
| @ap 2 | append output-files as p.2, q.2, d.2 |