%N boxinput %F $MIR/src/subs/boxes.for
%D Read command line box specification.
%P mjs
%: region-of-interest
%B
      subroutine BoxInput(key, file, boxes, maxboxes)

      character key*(*),file*(*)
      integer   maxboxes, boxes(maxboxes)
  ---------------------------------------------------------------------
  Read the box specification from the command line.

  Input:
    key        The keyword associated with the parameter, generally
               "region". If this is a blank string, then the user
               input routines are not called, and the default region
               of interest is used.
    file       Name of the Miriad data-set used to extrac coordinate
               transformation info (in particular crpix, cdelt, and
               crval).
    maxboxes   The size of the boxes array.
  Output:
    boxes      An intermediate form of the boxes specification.  This
               is used by subsequent BOX routines to
