packages icon
QuickCalc v1.26 - An interactive calculator equivalent to a TI-30ish 
                  calculator.

   This archive includes two programs.  Qc is an interactive calculator that
can do most everyday stuff.  Xqc is the X windows frontend to qc.  Qc must be
installed to use xqc.  To find more out about what qc can do, type 
"help <enter>" and then choose a topic from the list, after running qc.

Requirements:

   To compile qc you will need libreadline, and flex.  Readline can be
found on sunsite.unc.edu in the /pub/Linux/libs/ directory.  Xqc
requires the xforms library, which can be found in the /pub/Linux/X11/devel/
directory.  After making sure you have installed both libraries and looked
over the Makefiles in the qc-1.01 and xqc-0.2 directory do:
         make
         su
         make install

This will install the programs in /usr/local/bin.

There are four basic ways to use qc:

1) Interactively - Start qc by typing "qc".  Then enter any expression and
hit enter to find out the answer.  ex:  "2+2 <enter>" will yield "4".

2) Command Line - Start qc with "qc -e '<EXP>'" where <EXP> is something
like "asin(sin(%pi/2))".  qc prints the answer and exits.

3) Redirected Input - Start qc with something like "qc -p <test", where test
is a file containing any number of valid lines of input.  The p option tells
qc not to print out its prompt before each answer.

4) The X-Windows frontend - Run xqc.  This pops up a nice looking calculator which
looks and works like any other calculator.

NOTE:  Xqc must be able to find qc in the standard PATH or it will crash with
a 'Broken Pipe'.

Any comments, suggestions, etc. etc. can be sent to:

robertp@macatawa.org