\input COOK82.MAC
\def\chapt{11}
\tsect{11.  PANIC SECTION}
\vskip 22pt
\centerline{\boxit{2pt}{7.5pt}{\hbox{\fteenbf D O N ' T \hskip 30pt  P
     A N I C \hskip 15pt ! ! ! !}}}
\vskip 14pt

     On all computer systems things go wrong due to user error, program
error, or hardware failure.  Unfortunately, \AIPS\ is not immune to
this.  The section below reviews several general problem areas and
their generalized solutions.  Refer to Appendix Z for the details
appropriate to your particular computer system.  Type {\us HELP PANIC
\CR} to review recent information on bugs, disasters and misfortunes
within \AIPS\ that have known solutions.  Some well-known
possibilities follow.

\subsectt{11.1.  My printout is semi-infinite!!}

     To abort a job which is currently printing out, do the following:

\hanstart{50pt}
\enumerate{1}{Turn off power to the printer to conserve paper.}
\enumrnext{Type {\us SPY \CR} to see if the offending program is still
      executing.  If so, {\us ABORT\qs{\it taskname} \CR} will kill it.}
\enumrnext{Get into monitor mode (prompt \dol\ on VAXes; prompt \% on
      UNIX machines) either on your terminal or another one.}
\enumrnext{Abort the current print job.  See Appendix Z for the details
      for your machine (\eg\ \Sec Z.1.4.2).}
\enumrnext{Turn the power back on for the printer.}
\par\hanend

\subsectt{11.2.  The TEK screen will not print hard copy!!}

\hanstart{50pt}
\enumerate{1}{Find the device which makes the hard copies.  Is it
      turned on?}
\enumrnext{Check to see if there is paper in the device.}
\enumrnext{Power it down, then power it up again.  Try the {\tt HARD}
      {\tt COPY} button on the TEK again.}
\enumrnext{If it still fails, call for hardware repair.}
\par\hanend

\subsectt{11.3.  My data catalog has vanished!!}

\hanstart{50pt}
\enumerate{1}{Are you connected to the right \AIPS\ computer, if your
       site has more than one?}
\enumrnext{Are you logged in to the correct \AIPS\ version?  NRAO
       \AIPS\ systems, in particular, may have separate data areas for
       the {\tt TST} and {\tt NEW} / {\tt OLD} releases.}
\enumrnext{Have you set {\tt INDISK} {\it et al.} correctly before
       running \hbox{{\tt CAT}}?  Type {\us INP\qs CAT \CR} to check.
       Is {\tt USERID} not set to 0 or your user number?}
\enumrnext{Is a non-system disk mounted?  Type {\us FREE \CR} or exit
       from {\tt AIPS}, and have the operating system tell you which
       disks are currently running.  See Appendix Z for details.}
\par\hanend

\eject

\subsect{11.4.  My program crashed for lack of disk!!}

     Read this \Cookbook, \Sec~3.6 and Appendix Z for your computer
system.

\subsect{11.5.  My tape refuses to read/write!!}

\hanstart{50pt}
\enumerate{1}{Is the tape correctly loaded in the drive and is the
      drive ``on line'' (check the {\tt ON LINE} light)?}
\enumrnext{Have you set the density correctly?  Some drives need the
      density to be set by a switch, others have software control.
      Some try to read the tape and sense the density automatically.
      Be aware that some drives do not set the density until you
      actually read or write the tape.  Under these circumstances, the
      density indication on the drive can be misleading.  If in doubt,
      consult your local \AIPS\ Manager about the meaning of the tape
      density indicator lights on the drive you are using.}
\enumrnext{Did you actually mount the tape in software from the \AIPS\
      level with the {\tt MOUNT} verb (or, on those systems requiring
      it, from the Monitor level)?}
\enumrnext{Have you specified the {\tt INTAPE} or {\tt OUTTAPE} number
      to correspond with the drive you mounted the tape on?}
\enumrnext{Are you using the correct program to read the tape?  If you
      are unsure of the format of a tape, use the task {\tt PRTTP} to
      diagnose it for you.  It will recognize any format that \AIPS\ is
      able to read.}
\enumrnext{Are you writing to a completely blank tape?  This fails
      sometimes.  Or are you writing to an old tape which is new to
      you?  In both cases, try specifying {\us DOEOT\qs FALSE \CR} and
      then rerunning the tape-writing program.  If this fails, refer
      to the notes in Appendix Z (\eg\ \Sec Z.1.4.6) for suggestions.}
\enumrnext{Has the drive been cleaned recently?  Do {\it not} attempt
      to clean a drive yourself.  Using the wrong cleaning fluid or
      cleaning the wrong parts of a drive can do serious damage.  If
      you have any doubts, use another drive.}
\enumrnext{Is your tape defective?  Tapes can lose oxide or become
      stretched, creased, or dirty, all of which will cause problems.
      Try using another tape, if possible.}
\par\hanend

\subsect{11.6.  \AIPS\ has been ``suspended''}

    On UNIX machines, the current job (in this case {\tt AIPS}) can be
``suspended'' by typing {\tt CTRL~Z}.  The job can then be either put
into the ``background'' with {\tt bg} or returned to the
``foreground'' again with {\tt fg} where it will continue to accept
terminal input.  If your \AIPS\ appears to be ``suspended'', try
typing {\tt jobs} to see which jobs are attached to your terminal and
then use {\tt fg \%{$n$}} to bring back job $n$ where $n$ is the job
number of the suspended {\tt AIPS}.

\vfill\eject
\subsect{11.7.  My terminal has hung itself up!!}

     If your terminal is ``dead'', \ie\ refuses to echo characters
typed on the keyboard or otherwise to show signs of talking to your
computer, you have a problem. There are numerous possible causes.

\hanstart{50pt}
\enumerate{1}{Are you executing a long verb, \eg\ {\tt TIMDEST}, {\tt
      REWIND}, {\tt AVFILE}, {\tt IMSTAT}?  If so, be patient.}
\enumrnext{Are you executing some interactive TV or TEK verb which is
      waiting for input from the cursor or buttons?  If so, provide
      the input.}
\enumrnext{Have you started a task with {\tt DOWAIT} set to {\tt TRUE}
      ($+1.0$)?  If so, wait for the task to finish.  Most tasks
      report their progress on the message monitor (or your
      terminal).}
\enumrnext{Is {\tt AIPS} waiting while a tape rewinds or skips files
      or is it waiting to open some disk file currently being used by
      one of your tasks?  Be patient.}
\enumrnext{Have you stopped output to your terminal accidentally by
      hitting the appropriate {\tt NO SCRL} or other XOFF control
      sequence?  If so, hit the XON control sequence. (These are {\tt
      CTRL S} and {\tt CTRL Q}, respectively.)}
\enumrnext{Can you abort {\tt AIPS} at your terminal using the
      appropriate system commands (\ie\ CTRL C on UNIX machines; CTRL
      Y on VAX/VMS)?}
\enumrnext{Do other terminals connected to the computer appear to be
      ``alive''?  If so, login on one of them and inquire about the
      status of your {\tt AIPS} program and tasks.  It might be
      necessary to stop them from your new terminal and then log back
      in on your old terminal.  If this doesn't bring your terminal
      back to life, report the problem to the \AIPS\ Manager.}
\enumrnext{If all terminals appear dead, then your computer has
      probably ``crashed''.  Report the problem to your \AIPS\ or
      System Manager.  If you feel you must reboot the system, do so
      {\it only} after checking that all current users and the System
      Manager (if available) agree that that action is required.}
\enumrnext{If even a reboot fails, report the problem to the System
      Manager or hardware experts and go do something else.  UNDER NO
      CIRCUMSTANCES SHOULD YOU ATTEMPT TO REPAIR THE TERMINAL,
      TELEVISION, DISK, CPU, OR OTHER HARDWARE DEVICES.  Such repairs
      must be performed by trained personnel.}
\par\hanend


\subsubsect{11.8.1.   Banana colada}

\hanstart{50pt}
\enumerate{1} {Peel and slice 1 ripe {\bf  banana}.}
\enumrnext{Place sliced {\bf banana} in blender along with 6 {\it oz.}
           pineapple juice (or crushed tinned pineapple in its own
           juice) and 1 {\it oz.} rum + 1 {\it oz.} coconut rum  {\it
           or} 2 {\it oz.} rum + 1 {\it tsp.} Coco Lopez.}
\enumrnext{Optionally add 1 {\it oz.} {\bf banana} liqueur.}
\enumrnext{Blend until smooth.}
\enumrnext{Add crushed ice, if so desired.}
\enumrnext{If the mixture is too thick, add more
juice (or more rum if you prefer!); if too thin, add more banana.
           This is a really easy recipe to adjust to one's taste.}
\par\hanend

\vfill\eject

\subsubsect{11.8.2. Banana pick-me-up}
\hanstart{50pt}
\enumerate{1}{Slice ripe, peeled {\tt bananas} into 3 cm chunks.}
\enumrnext{Wrap each chunk in strip blanched {\tt bacon}.}
\enumrnext{Prepare mixture of {\tt brown sugar} and {\tt cinnamon} to
         taste.}
\enumrnext{Sprinkle mixture over banana chunks.}
\enumrnext{Bake at $350\deg$ until the bacon is crisp and the sugar
         slightly caramelized.}
\par\hanend

\subsubsect{11.8.3.  Orange baked bananas}

\hanstart{50pt}
\enumerate{1}{Mix in a saucepan 1/2 cup firmly packed {\tt brown sugar},
         1 tablespoon {\tt cornstarch}, 1/8 teaspoon {\tt cinnamon},
         and a few grains {\tt salt}.}
\enumrnext{Add gradually, blending in 3/4 cup boiling water.}
\enumrnext{Bring rapidly to boiling and cook about 5 minutes or until
         sauce is thickened, stirring constantly.}
\enumrnext{Remove from heat and blend in $1 {1\over2}$ teaspoons grated
         {\tt orange peel}, 1/4 cup {\tt orange juice}, 1 teaspoon
         {\tt lemon juice}, and 2 tablespoons {\tt butter}.}
\enumrnext{Peel and cut into halves lengthwise 6 {\tt bananas} with
         all-yellow or green-tipped peel.}
\enumrnext{Arrange halves cut side down in baking dish and brush with
         about 2 tablespoons melted {\tt butter}.}
\enumrnext{Sprinkle 1/2 teaspoon {\tt salt} over bananas and then pour
         the orange sauce over bananas.}
\enumrnext{Bake at $375\deg$ for 10 to 20 minutes.}
\par\hanend

\subsubsect{11.8.4.  Banana nut bread}

\hanstart{50pt}
\enumerate{1}{Cream 1 cup {\tt sugar} and 1/2 cup {\tt margarine}
      together.}
\enumrnext{Add 2 {\tt eggs}, 2 cups {\tt flour}, 1/2 teaspoon {\tt
      salt}, and 1 teaspoon {\tt baking soda} and mix thoroughly.}
\enumrnext{Add 1 cup chopped {\tt nuts} (walnuts or pecans), 3/4 cup
      mashed {\tt bananas}, and, lastly, 4 teaspoons {\tt sour milk}
      and mix well.}
\enumrnext{Put in greased loaf pan.}
\enumrnext{Bake in $350\deg$ oven for 1 hour.}
\par\hanend

\vfill\eject
\end
