TAPECALC(1) | General Commands Manual | TAPECALC(1) |
tapecalc - full-screen editing calculator
tapecalc [options] [file-specifications]
Tapecalc is a fixed-point calculator that operates as a full-screen editor.
Tapecalc performs fixed-point computation. It is designed for use as a checkbook or expense-account balancing tool.
Tapecalc 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. Scripts are loaded from left to right (with the "output" processed first).
Command line options of tapecalc are:
The operators are all single-character:
A space flushes out the current number-input, and (by default) sets the next operator to be the same as the current one. You may repeat the last arithmetic operation of any type:
You may toggle the prefix operator of any number by typing a single character:
As you enter data, you may edit it. A backspace deletes the last digit of the current number (if it is visible). Use the arrow keys or vi-style 'h' and 'l' to move left and right within the line. Other editing commands include
An "open" permits you to insert a new operator and data into the expression list. You may type an operator character (e.g., '+'), and continue with the new data, or an operator-repeat (e.g., 'A'). In either case, you may edit the new data, just as you would the old data. A 'u' (or other toggle, such as 'o', 'O', or 'q') typed after an open will undo the open (and close it).
Like vi, tapecalc allows you to jump to a particular line with a ":" command
Transcript files are formatted to permit line-oriented entries:
<operator><value><blank><ignored><blank># comment
The transcripts saved by tapecalc contain the running result in the "ignored" part. To exit without saving a transcript, type 'Q'. A normal exit, by typing 'q', saves the list of operators, data (and running result) in the specified file.
You can read and write scripts without leaving tapecalc.
Tapecalc runs in a portable UNIX® environment.
Tapecalc is a single binary module, with a help file tapecalc.hlp installed in the same directory.
It would be nice to be able to change the precision within the program. In particular, the interest and sales tax computations would be more useful if their precision was independent of the running total.
Thomas E. Dickey
wc (1), vi (1)