Copyright © 1996-2014,2015 by Thomas E. Dickey
add is a fixed-point calculator that operates as a full-screen editor. It is designed for use as a checkbook or expense-account balancing tool.
add maintains a running result for each operation. You may scroll to any position in the expression list and modify the list. Enter data by typing numbers (with optional decimal point), separated by operators.
An output transcript may be saved and reloaded for further editing.
I originally wrote this in 1986, to replace a script I'd written for the IBM VM/SP CMS system at the ITT Advanced Technology Center. It's not advanced technology, but invaluable for its intended use.
When I started writing add, the prior art which I had in mind was the simple calculator which I wrote/used on an IBM 3270 terminal. It updated the screen by erasing and repainting it. But the goal in each was to show all of the inputs and running totals as if it were a hand calculation. If I had VisiCalc or something like that, the result probably would have been different.
Somewhat later (in the early 1990s), I noticed that there were a few Windows 3.1 applications with a similar idea; one was described as a tape calculator. Since those were shareware (and an unnecessary expense), I ignored them after some initial investigation.
Later (in 1993), I ported it to MS-DOS using PDCurses (while working on my port of vile). Vile of course did not use PDCurses (it used its own terminal drivers), and this was the first time I had used curses with color. I set it to white-on-blue:
Shortly after (in 1994), I found that ncurses did not behave the same for colors as PDCurses. After some pursuit, I was able to get this fixed (in 1995).
I put a copy of add on Sunsite at the end of 1995 having resolved the immediate problem with ncurses colors.
Since then, it has evolved.
See the changelog for details:
Regarding the Debian package for tapecalc, Carl Fürstenberg (its packager) felt uncomfortable with "add". He packaged this in July 2007. Later, I made changes to the configure script and makefile to help packagers rename the program in this manner.
Actually, if I had considered renaming the program, I was inclined to something like additor, e.g., "full-screen additor". But in discussing this with others, no one has liked the name.
"Tape calculator" is much easier to search on than "add". Here are a few examples:
Gtk2 rather than curses. According to my mail archive, I noticed this in August 2001.
TapeCal 2 (PCMag.com, 2002).
The article says this is a rewrite in Delphi of an application originally written in Visual Basic in 1995.
calc.pl from 2006.
A calculator with a crude display.
TapeCalc (Palm OS5, 2007)
Online Calculator (2009-2014).
CalcTape (Android App).
Calling it "revolutionary" is a little presumptuous,
since the idea is likely older than its author.
Like add, it allows modification of the previously-entered data.
Turing Machine Simulator in Python (curses).
I did say "tape". Like CalcTape, this was published in 2013.
Office Calculator (Android App, 2014).