home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / education / n / spice / docs / FTE / LPR / NUTMEG < prev    next >
Encoding:
Text File  |  1988-01-27  |  27.4 KB  |  859 lines

  1.  
  2.  
  3.  
  4. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      nutmeg - spice post-processor
  10.  
  11. SYNOPSIS
  12.      nutmeg [ - ] [ -n ] [ -t term ] [ -m mfbcap ]  [ datafile
  13.      ... ]
  14.  
  15. DESCRIPTION
  16.      Nutmeg is a post processor for SPICE - it takes the raw out-
  17.      put file created by spice -r and plots the data on a graph-
  18.      ics terminal. (For types supported, see mfb(3).) Note that
  19.      the raw output file is different from the data that SPICE
  20.      writes to the standard output.
  21.  
  22.      Arguments are:
  23.  
  24.      -    Don't try to load the default data file ("rawspice") if
  25.           no other files are given.
  26.  
  27.      -n (or -N)
  28.           Don't try to source the file ".spiceinit" upon startup.
  29.           Normally nutmeg tries to find the file in the current
  30.           directory, and if it is not found then in the user's
  31.           home directory.
  32.  
  33.      -t term (or -T term)
  34.           The program is being run on a terminal with mfb name
  35.           term.
  36.  
  37.      -m mfbcap (or -M mfbcap)
  38.           Use mfbcap as the file containing terminal descrip-
  39.           tions, instead of the default (~cad/lib/mfbcap). This
  40.           option and the -m option may also be used with the set
  41.           command (see below). Note that is the environment vari-
  42.           able MFBCAP is set then it becomes the default mfbcap
  43.           file, instead of ~cad/lib/mfbcap.
  44.  
  45.      Further arguments are taken to be data files in binary or
  46.      ascii format (see sconvert(1)) which are loaded into nutmeg.
  47.      If the file is in binary format, it may be only partially
  48.      completed (useful for examining SPICE ouput before the simu-
  49.      lation is finished). One file may contain any number of data
  50.      sets from different analyses.
  51.  
  52.      Nutmeg data is in the form of vectors: time, voltage, etc.
  53.      Each vector has a type, and vectors can be operated on and
  54.      combined algebraicly in ways consistent with their types.
  55.      Vectors are normally created when a data file is read in
  56.      (see the load command below), and when the initial datafile
  57.      is loaded. They can also be created with the let command.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 12/9/85          20 January 1985                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  71.  
  72.  
  73.  
  74.      An expression is an algebraic formula involving vectors and
  75.      scalars (a scalar is a vector of length 1), and the follow-
  76.      ing operations:
  77.  
  78.           +, -, *, %, /, ^, and ,.
  79.  
  80.      % is the modulo operator, and the comma operator has two
  81.      meanings: if it is present in the argument list of a user-
  82.      definable function, it serves to seperate the arguments.
  83.      Otherwise, the term x , y is synonymous with x + j(y).
  84.  
  85.      Also available are the logical operations & (and), | (or), !
  86.      (not), and the relational operations <, >, >=, <=, =, and <>
  87.      (not equal).  If used in an algebraic expression they work
  88.      like they would in C, producing values of 0 or 1.  The rela-
  89.      tional operators have the following synonyms: "gt" is >,
  90.      "lt" is <, "ge" is >=, "le" is <=, "ne" is <>, "eq" is =,
  91.      "and" is &, "or" is |, and "not" is !.  These are useful
  92.      when < and > might be confused with IO redirection (which is
  93.      almost always).
  94.  
  95.      The following functions are available:
  96.  
  97.           mag(vector) - The magnitude of vector.
  98.  
  99.           ph(vector) - The phase of vector.
  100.  
  101.           j(vector) - i (sqrt(-1)) times vector.
  102.  
  103.           real(vector) - The real component of vector.
  104.  
  105.           imag(vector) - The imaginary part of vector.
  106.  
  107.           db(vector) - 20 * log10(mag(vector)).
  108.  
  109.           log(vector) - The logarithm (base 10) of the vector.
  110.  
  111.           ln(vector) - The natural logarithm (base e) of vector.
  112.  
  113.           exp(vector) - e to the vector power.
  114.  
  115.           abs(vector) - The absolute value of vector.
  116.  
  117.           sqrt(vector) - The square root of vector.
  118.  
  119.           sin(vector) - The sin of vector.
  120.  
  121.           cos(vector) - The cosine of vector.
  122.  
  123.           tan(vector) - The tangent of vector.
  124.  
  125.           atan(vector) - The inverse tangent of vector.
  126.  
  127.  
  128.  
  129. Printed 12/9/85          20 January 1985                        2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  137.  
  138.  
  139.  
  140.           rnd(vector) - A vector with each component a random
  141.           integer between 0 and the absolute value of the
  142.           vectors's corresponding component.
  143.  
  144.           mean(vector) - The result is a scalar (a length 1 vec-
  145.           tor) that is the mean of the elements of vector.
  146.  
  147.           vector(number) - The result is a vector of length
  148.           number, with elements 1, 2, ... number. If number is a
  149.           vector then just the first element is taken, and if it
  150.           isn't an integer then the floor of the magnitude is
  151.           used.
  152.  
  153.           length(vector) - The length of vector.
  154.  
  155.      A vector may be either the name of a vector already defined,
  156.      a floating- point number (a scalar), or a list like [elt1
  157.      elt2 ... eltn], which is a vector of length n.  A number may
  158.      be written in any format acceptable to SPICE, such as
  159.      14.6MEG or -1.231E-4. Note that you can either use scien-
  160.      tific notation or one of the abbreviations like MEG or G,
  161.      but not both. Unlike SPICE, a number may not have trailing
  162.      characters after it.  Additionally, the notation vec[number]
  163.      denotes the number'th element of vec. To reference vectors
  164.      in a plot that is not the current plot (see the setplot com-
  165.      mand, below), the notation plotname.vecname can be used.
  166.  
  167.      Thus some examples of expressions are:
  168.  
  169.           cos(TIME) + db(t1)
  170.  
  171.           sin(cos(log([1 2 3 4 5 6 7 8 9 10])))
  172.  
  173.           TIME * rnd(cap5) - 15 * cos(res3) ^ [7.9e5 8]
  174.  
  175.           not ((ac3.FREQ[32] & tran1.TIME[10]) gt 3)
  176.  
  177.      Nutmeg commands are as follows:
  178.  
  179.      plot exprs [ylimit ylo yhi] [xlimit xlo xhi] [xindices xilo xihi]
  180.                         [xcompress comp] [vs xname]
  181.           Plot the given exprs on the screen (if you are on a
  182.           graphics terminal). The xlimit and ylimit arguments
  183.           determine the high and low x- and y-limits of the axes,
  184.           respectively. The xindices arguments determine what
  185.           range of points are to be plotted - everything between
  186.           the xilo'th point and the xihi'th point is plotted.
  187.           The xcompress argument specifies that only one out of
  188.           every comp points should be plotted. These parameter
  189.           names may be abbreviated to xl, yl, xind, and xcomp.
  190.           The xname argument is an expression to use as the scale
  191.           on the x-axis.
  192.  
  193.  
  194.  
  195. Printed 12/9/85          20 January 1985                        3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  203.  
  204.  
  205.  
  206.      hardcopy device file plotargs
  207.           Just like plot, except creates a file called file con-
  208.           taining the plot. (This is currently unimplemented.)
  209.  
  210.      asciiplot plotargs
  211.           Produce a line printer plot of the vectors.  The plot
  212.           is sent to the standard output, so you can put it into
  213.           a file with asciiplot args ... > file.  The set options
  214.           width, height, and nobreak determine the width and
  215.           height of the plot, and whether there are page breaks,
  216.           respectively. Note that you will have problems if you
  217.           try to asciiplot something with an X-scale that isn't
  218.           monotonic (i.e, something like sin(TIME) ), because
  219.           asciiplot uses a simple-minded sort of linear interpo-
  220.           lation.
  221.  
  222.      define function(arg1, arg2, ...) expression
  223.           Define the user-definable function with the name func-
  224.           tion and arguments arg1, arg2, ... to be expression,
  225.           which may involve the arguments. When the function is
  226.           later used, the arguments it is given are substituted
  227.           for the formal arguments when it is parsed.  If expres-
  228.           sion is not present, any definition for function is
  229.           printed, and if there are no arguments to define then
  230.           all currently active definitions are printed. Note that
  231.           you may have different functions defined with the same
  232.           name but different arities.  Some useful definitions
  233.           are:
  234.  
  235.           define max(x,y) (x > y) * x + (x <= y) * y
  236.           define min(x,y) (x < y) * x + (x >= y) * y
  237.  
  238.      undefine function ...
  239.           Definitions for the named user-defined functions are
  240.           deleted.
  241.  
  242.      let name = expr
  243.           Creates a new vector called name with the value speci-
  244.           fied by expr, an expression as described above. If expr
  245.           is [] (a zero-length vector) then the vector becomes
  246.           undefined.
  247.  
  248.      print [col] expr ...
  249.           Prints the vector described by the expression expr. If
  250.           the col argument is present, print the vectors named
  251.           side by side. The options width, length, and nobreak
  252.           are effective for this command (see asciiplot). If the
  253.           expression is all, all of the vectors available are
  254.           printed. Thus print col all > file will print every-
  255.           thing in the file in SPICE2 format.
  256.  
  257.      load filename ...
  258.  
  259.  
  260.  
  261. Printed 12/9/85          20 January 1985                        4
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  269.  
  270.  
  271.  
  272.           Loads the raw data in either binary or ascii format
  273.           from the files named.
  274.  
  275.      source filename
  276.           Reads commands from the file filename. Lines beginning
  277.           with the character * are considered comments and
  278.           ignored.
  279.  
  280.      help [command ...]
  281.           Prints help, either on the specified commands or for
  282.           all commands available.
  283.  
  284.      display [varname ...]
  285.           Prints a summary of currently defined vectors, or of
  286.           the names specified.  The vectors are sorted by name
  287.           unless the variable nosort is set.  The information
  288.           given is the name of the vector, the length, the type
  289.           of the vector, and whether it is real or complex data.
  290.           Additionally, one vector will be labeled [scale]. When
  291.           a command such as plot is given without a vs argument,
  292.           this scale is used for the X-axis. It is always the
  293.           first vector in a rawfile, or the first vector defined
  294.           in a new plot. If you undefine the scale (i.e, let TIME
  295.           = []), a random remaining vector will become the scale.
  296.  
  297.      setplot [plotname]
  298.           Set the current plot to the plot with the given name,
  299.           or if no name is given, prompt the user with a menu.
  300.           (Note that the plots are named as they are loaded, with
  301.           names like tran1 or op2. These names are shown by the
  302.           setplot and display commands and are used by diff,
  303.           below.) If the "New plot" item is selected, the current
  304.           plot will become one with no vectors defined.  Note
  305.           that here the word "plot" refers to a group of vectors
  306.           that are the result of one SPICE run.  When more than
  307.           one file is loaded in, or more than one plot is present
  308.           in one file, nutmeg keeps them seperate and only shows
  309.           you the vectors in the current plot.
  310.  
  311.      diff plot1 plot2 [vec ...]
  312.           Compare all the vectors in the specified plots, or only
  313.           the named vectors if any are given. There are different
  314.           vectors in the two plots, or any values in the vectors
  315.           differ significantly the difference is reported. The
  316.           variables abstol, reltol, and vntol are used to deter-
  317.           mine what "significantly" means (see the SPICE3 User's
  318.           Manual).
  319.  
  320.      quit Quit nutmeg.
  321.  
  322.      bug  Send a bug report. (If you have defined BUGADDR, the
  323.           mail will go there.)
  324.  
  325.  
  326.  
  327. Printed 12/9/85          20 January 1985                        5
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  335.  
  336.  
  337.  
  338.      write file exprs
  339.           Writes out the expr's to file. The plot name and title
  340.           will be that associated with the first expression
  341.           given.  The default format is ascii, but this can be
  342.           changed with the set filetype command.
  343.  
  344.      shell [args ...]
  345.           Fork a shell, or execute the arguments as a command to
  346.           the shell.
  347.  
  348.      alias [word] [text ...]
  349.           Causes word to be aliased to text.  History substitu-
  350.           tions may be used, as in C-shell aliases.
  351.  
  352.      unalias [word ...]
  353.           Removes any aliases present for the words.
  354.  
  355.      history [number]
  356.           Print out the history, or the last number events.
  357.  
  358.      set [word] [word = value] ...
  359.           Set the value of word to be value, if it is present.
  360.           The variables meaningful to nutmeg are:
  361.  
  362.                      abstol
  363.                      The absolute tolerance used by the diff com-
  364.                      mand.
  365.  
  366.                      combplot
  367.                      Plot vectors by drawing a vertical line from
  368.                      each point to the X-axis, as opposed to
  369.                      joining the points.
  370.  
  371.                      cpdebug
  372.                      Print cshpar debugging information. (Must be
  373.                      complied with the -DCPDEBUG flag.)
  374.  
  375.                      debug
  376.                      If set then a lot of debugging information
  377.                      is printed. (Must be compiled with the
  378.                      -DFTEDEBUG flag.)
  379.  
  380.                      device
  381.                      The name (/dev/tty??) of the graphics dev-
  382.                      ice. If this variable isn't set then the
  383.                      user's terminal is used. To do plotting on
  384.                      another monitor you will probably have to
  385.                      set both the device and term variables.  (If
  386.                      device is set to the name of a file, nutmeg
  387.                      will dump the graphics control codes into
  388.                      this file -- this is useful for saving
  389.                      plots.)
  390.  
  391.  
  392.  
  393. Printed 12/9/85          20 January 1985                        6
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  401.  
  402.  
  403.  
  404.                      dontplot
  405.                      No graphics control codes are actually sent.
  406.                      (Useful for debugging on non-graphics termi-
  407.                      nals.)
  408.  
  409.                      echo
  410.                      Print out each command before it is exe-
  411.                      cuted.
  412.  
  413.                      filetype
  414.                      This can be either ascii or binary, and
  415.                      determines what the format of rawfiles will
  416.                      be. The default is ascii.
  417.  
  418.                      height
  419.                      The length of the page for asciiplot and
  420.                      print col.
  421.  
  422.                      history
  423.                      The number of events to save in the history
  424.                      list.
  425.  
  426.                      mfbcap
  427.                      The mfbcap to use instead of the standard
  428.                      one (see mfb(3)).
  429.  
  430.                      nfreqs
  431.                      The number of frequencies to compute in the
  432.                      fourier command. (Defaults to 10.)
  433.  
  434.                      nobreak
  435.                      Don't have asciiplot and print col break
  436.                      between pages.
  437.  
  438.                      noclobber
  439.                      Don't overwrite existing files when doing IO
  440.                      redirection.
  441.  
  442.                      noglob
  443.                      Don't expand the global characters `*', `?',
  444.                      `[', and `]'. This is the default.
  445.  
  446.                      nogrid
  447.                      Don't plot a grid when graphing curves (but
  448.                      do label the axes).
  449.  
  450.                      nonomatch
  451.                      If noglob is unset and a global expression
  452.                      cannot be matched, use the global characters
  453.                      literally instead of complaining.
  454.  
  455.                      nosort
  456.  
  457.  
  458.  
  459. Printed 12/9/85          20 January 1985                        7
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  467.  
  468.  
  469.  
  470.                      Don't have display sort the variable names.
  471.  
  472.                      polydegree
  473.                      The degree of the polynomial that the plot
  474.                      command should fit to the data. If polyde-
  475.                      gree is N, then nutmeg will fit a degree N
  476.                      polynomial to every set of N points and draw
  477.                      10 intermediate points in between each end-
  478.                      point. If the points aren't monotonic, then
  479.                      it will try rotating the curve and reducing
  480.                      the degree until a fit is achieved.
  481.  
  482.                      polysteps
  483.                      The number of points to interpolate between
  484.                      every pair of points available when doing
  485.                      curve fitting. The default is 10. (This
  486.                      should really be done automatically.)
  487.  
  488.                      program
  489.                      The name of the current program (argv[0]).
  490.  
  491.                      prompt
  492.                      The prompt, with the character `!' replaced
  493.                      by the current event number.
  494.  
  495.                      rawfile
  496.                      The default name for rawfiles created.
  497.  
  498.                      reltol
  499.                      The relative tolerance used by the diff com-
  500.                      mand.
  501.  
  502.                      rhost
  503.                      The machine to use for remote SPICE-3 runs,
  504.                      instead of the default one. (See the
  505.                      description of the rspice command, below.)
  506.  
  507.                      rprogram
  508.                      The name of the remote program to use in the
  509.                      rspice command.
  510.  
  511.                      slowplot
  512.                      Stop between each graph plotted and wait for
  513.                      the user to type return before continuing.
  514.  
  515.                      spicepath
  516.                      The program to use for the aspice command.
  517.                      The default is /cad/bin/spice.
  518.  
  519.                      term
  520.                      The mfb name of the current terminal.
  521.  
  522.  
  523.  
  524.  
  525. Printed 12/9/85          20 January 1985                        8
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  533.  
  534.  
  535.  
  536.                      units
  537.                      If this is degrees, then all the trig func-
  538.                      tions will use degrees instead of radians.
  539.  
  540.                      unixcom
  541.                      If a command isn't defined, try to execute
  542.                      it as a UNIX command.  Setting this option
  543.                      has the effect of giving a rehash command,
  544.                      below.  This is useful for people who want
  545.                      to use nutmeg as a login shell.
  546.  
  547.                      verbose
  548.                      Be verbose. This is midway between echo and
  549.                      debug / cpdebug.
  550.  
  551.                      vntol
  552.                      The absolute voltage tolerance used by the
  553.                      diff command.
  554.  
  555.                      width
  556.                      The width of the page for asciiplot and
  557.                      print col.
  558.  
  559.      unset [word] ...
  560.           Unset the variables word.
  561.  
  562.      rusage [resource ...]
  563.           Print resource usage statistics.  If any resources are
  564.           given, just print the usage of that resource.
  565.           Currently valid resources are:
  566.  
  567.                      elapsed
  568.                      The amount of time elapsed since the last
  569.                      rusage elaped call.
  570.  
  571.                      faults
  572.                      Number of page faults and context switches
  573.                      (BSD only).
  574.  
  575.                      space
  576.                      Data space used.
  577.  
  578.                      time
  579.                      CPU time used so far.
  580.  
  581.      cd [directory]  Change the current working directory to
  582.                      directory, or to the user's home directory
  583.                      if none is given.
  584.  
  585.      aspice [output-file]
  586.                      Start a SPICE-3 run, and when it is finished
  587.                      load the data. The raw data is kept in a
  588.  
  589.  
  590.  
  591. Printed 12/9/85          20 January 1985                        9
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  599.  
  600.  
  601.  
  602.                      temporary file. If output-file is specified
  603.                      then the diagnostic output is directed into
  604.                      that file, otherwise it is thrown away.
  605.  
  606.      jobs            Report on the asynchronous SPICE-3 jobs
  607.                      currently running.  Nutmeg checks to see if
  608.                      the jobs are finished every time you execute
  609.                      a command.  If it is done then the data is
  610.                      loaded and becomes available.
  611.  
  612.      rspice [input file]
  613.                      Runs a SPICE-3 remotely taking the input
  614.                      file as a SPICE-3 input deck, or the current
  615.                      circuit if no argument is given. Nutmeg
  616.                      waits for the job to complete, and passes
  617.                      output from the remote job to the user's
  618.                      standard output. When the job is finished
  619.                      the data is loaded in as with aspice. If the
  620.                      variable rhost is set, nutmeg will connect
  621.                      to this host instead of the default remote
  622.                      SPICE-3 server machine. Note that this com-
  623.                      mand will only work if your system adminis-
  624.                      trator is running a SPICE-3 daemon on the
  625.                      remote host. If the variable rprogram is
  626.                      set, then rspice will use this as the path-
  627.                      name to the program to run.
  628.  
  629.      echo [stuff...] Echos the arguments.
  630.  
  631.      fourier fundamental_frequency [value ...]
  632.                      Does a fourier analysis of each of the given
  633.                      values, using the first 10 multiples of the
  634.                      fundamental frequency (or the first nfreqs,
  635.                      if that variable is set - see below). The
  636.                      output is like that of the .four  card. The
  637.                      values may be any valid expression.
  638.  
  639.      version [version id]
  640.                      Print out the version of nutmeg that is run-
  641.                      ning.  If there are arguments, it checks to
  642.                      make sure that the arguments match the
  643.                      current version of SPICE. (This is mainly
  644.                      used as a Command: line in rawfiles.)
  645.  
  646.      rehash          Recalculate the internal hash tables used
  647.                      when looking up UNIX commands, and make all
  648.                      UNIX commands in the user's PATH available
  649.                      for command completion.  This is useless
  650.                      unless you have set unixcom first (see
  651.                      above).
  652.  
  653.  
  654.  
  655.  
  656.  
  657. Printed 12/9/85          20 January 1985                       10
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  665.  
  666.  
  667.  
  668.      There are a number of pre-defined constants in nutmeg. They
  669.      are:
  670.           pi        pi
  671.           e         The base of natural logarithms
  672.           c         The speed of light
  673.           i         The square root of -1
  674.           kelvin         Absolute 0 in Centigrade
  675.           echarge        The charge on an electron
  676.           boltz          Boltzman's constant
  677.           planck         Planck's constant (h)
  678.  
  679.  
  680.      These are all in MKS units. If  you  have  another  variable
  681.      with  a  name that conflicts with one of these then it takes
  682.      precedence.
  683.  
  684.      Nutmeg occasionally checks to see if it is getting close  to
  685.      running  out  of  space,  and  warns the user if this is the
  686.      case. (This is more likely to be useful with the SPICE front
  687.      end.)
  688.  
  689.      C-shell type quoting with "" and '', and backquote substitu-
  690.      tion may be used. Within single quotes, no further substitu-
  691.      tion (like history substitution) is done, and within  double
  692.      quotes, the words are kept together but further substitution
  693.      is done. Any text between  backquotes  is  replaced  by  the
  694.      result of executing the text as a command to the shell.
  695.  
  696.      Tenex-style  ('set  filec'  in  the  4.3  C-shell)  command,
  697.      filename,   and  keyword  completion  is  possible:  If  EOF
  698.      (control-D) is typed after the first character on the  line,
  699.      a list of the commands or possible arguments is printed. (If
  700.      it is alone on the line it will exit nutmeg.) If  escape  is
  701.      typed,  then  nutmeg  will try to complete what the user has
  702.      already typed.  To get a list  of  all  commands,  the  user
  703.      should type <space> ^D.
  704.  
  705.      The values of variables may be used in commands  by  writing
  706.      $varname where the value of the variable is to appear.
  707.  
  708.      History substitutions, similar to C-shell history  substitu-
  709.      tions,  are also available - see the C-shell manual page for
  710.      all of the details.
  711.  
  712.      The characters ~, {, and } have the same effects as they  do
  713.      in  the C-Shell, i.e., home directory and alternative expan-
  714.      sion. It is possible to use the wildcard characters *, ?, [,
  715.      and  ]  also, but only if you unset noglob first. This makes
  716.      them rather useless for typing algebraic expressions, so you
  717.      should  set  noglob  again  after you are done with wildcard
  718.      expansion. Note that the pattern [^abc] will match all char-
  719.      acters except a, b, and c.
  720.  
  721.  
  722.  
  723. Printed 12/9/85          20 January 1985                       11
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  731.  
  732.  
  733.  
  734.      IO redirection is available - the symbols >,  >>,  >&,  >>&,
  735.      and < have the same effects as in the C-shell.
  736.  
  737. VMS NOTES
  738.      Nutmeg can be run under VAX/VMS. Some features like command,
  739.      etc completion, expansion of *, ?, and [], backquote substi-
  740.      tution, the shell command, and so forth  do  not  work.  (In
  741.      fact command completion only works on 4.2 or 4.3 BSD.)
  742.  
  743.      Nutmeg will look for start-up commands in the file  spice.rc
  744.      in the current directory.
  745.  
  746.      The standard suffix for rawspice files in VMS is ".raw".
  747.  
  748.      You will have to respond to the -more-  prompt  during  plot
  749.      with  a  carriage return instead of any key as you can do on
  750.      UNIX.
  751.  
  752. SEE ALSO
  753.      sconvert(1), spice(1), mfb(3), spop(1), mfb2lpr(1), mhc(3)
  754.  
  755. AUTHOR
  756.      Wayne Christopher (faustus@cad.berkeley.edu)
  757.  
  758. BUGS
  759.      When something is plotted on log scales,  the  numbering  on
  760.      the  scales  is not in the original units and the grid lines
  761.      are linearly spaced.
  762.  
  763.      Hitting ^C at the wrong times can sometimes cause the  data-
  764.      base to get mangled.
  765.  
  766.      When defining aliases like
  767.  
  768.           alias pdb plot db( '!:1' - '!:2' )
  769.  
  770.      you must be careful to quote the argument list substitutions
  771.      in this manner. If you quote the whole argument it might not
  772.      work properly.
  773.  
  774.      Lists written as [ ... ] cannot be longer than 128 elements.
  775.  
  776.      History (and aliases that use history symbols) doesn't  work
  777.      properly.
  778.  
  779.      The hardcopy command doesn't work  (and  probably  won't  at
  780.      least until nutmeg is converted to use X).
  781.  
  782.      An expression like v(5)[1] won't work - the [] notation only
  783.      works  when  there  are  no ()'s in the name.  Enclosing the
  784.      name with double quotes ("v(5)[1]") will work, however.
  785.  
  786.  
  787.  
  788.  
  789. Printed 12/9/85          20 January 1985                       12
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. NUTMEG(1)           UNIX Programmer's Manual            NUTMEG(1)
  797.  
  798.  
  799.  
  800.      In commands like plot, all vectors mentioned must be in  the
  801.      same plot.  Otherwise strange things may happen.
  802.  
  803.      There are probably some features that  nutmeg  doesn't  have
  804.      yet.
  805.  
  806. CAVEATS
  807.      Often the names of terminals recognised by MFB are different
  808.      from  those in /etc/termcap. Thus you may have to reset your
  809.      terminal type with the command
  810.  
  811.           set term = termname
  812.  
  813.      where termname is the name in the mfbcap file.
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855. Printed 12/9/85          20 January 1985                       13
  856.  
  857.  
  858.  
  859.