600 lines
20 KiB
HTML
600 lines
20 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of XCALC</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>XCALC</H1>
|
|
Section: User Commands (1)<BR>Updated: xcalc 1.1.0<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
xcalc - scientific calculator for X
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>xcalc</B>
|
|
|
|
[-stipple] [-rpn] [-<I>toolkitoption...</I>]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<I>xcalc</I>
|
|
|
|
is a scientific calculator desktop accessory that can emulate a TI-30
|
|
or an HP-10C.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
<I>xcalc</I> accepts all of the standard toolkit command line options along
|
|
with two additional options:
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-stipple</B>
|
|
|
|
<DD>
|
|
This option indicates that the background of the calculator should be
|
|
drawn using a stipple of the foreground and background colors. On monochrome
|
|
displays improves the appearance.
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2"><B>-rpn</B>
|
|
|
|
<DD>
|
|
This option indicates that Reverse Polish Notation should be used. In this
|
|
mode the calculator will look and behave like an HP-10C. Without this flag,
|
|
it will emulate a TI-30.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPERATION</H2>
|
|
|
|
<P>
|
|
|
|
<I>Pointer Usage:</I>
|
|
|
|
Operations may be performed with pointer button 1, or in some cases,
|
|
with the keyboard.
|
|
Many common calculator operations have keyboard accelerators.
|
|
To quit, press pointer button 3 on the AC key of the TI calculator,
|
|
or the ON key of the HP calculator.
|
|
<P>
|
|
|
|
<I>Calculator Key Usage (TI mode):</I>
|
|
|
|
The numbered keys, the +/- key, and the +, -, *, /, and = keys all do exactly
|
|
what you would expect them to. It should be noted that the operators obey
|
|
the standard rules of precedence. Thus, entering "3+4*5=" results in "23",
|
|
not "35". The parentheses can be used to override this. For example,
|
|
"(1+2+3)*(4+5+6)=" results in "6*15=90".
|
|
<P>
|
|
|
|
The entire number in the calculator display can be selected, in order to
|
|
paste the result of a calculation into text.
|
|
<P>
|
|
|
|
The action procedures associated with each function are given below. These
|
|
are useful if you are interested in defining a custom calculator.
|
|
The action used for all digit keys is <B>digit(</B><I>n</I>), where <I>n</I>
|
|
is the corresponding digit, 0..9.
|
|
<DL COMPACT>
|
|
<DT id="3"><B>1/x</B>
|
|
|
|
<DD>
|
|
Replaces the number in the display with its reciprocal.
|
|
The corresponding action procedure is <B>reciprocal()</B>.
|
|
<DT id="4"><B>x^2</B>
|
|
|
|
<DD>
|
|
Squares the number in the display.
|
|
The corresponding action procedure is <B>square()</B>.
|
|
<DT id="5"><B>SQRT</B>
|
|
|
|
<DD>
|
|
Takes the square root of the number in the display.
|
|
The corresponding action procedure is <B>squareRoot()</B>.
|
|
<DT id="6"><B>CE/C</B>
|
|
|
|
<DD>
|
|
When pressed once, clears the number in the display without clearing the state
|
|
of the machine. Allows you to re-enter a number if you make a mistake.
|
|
Pressing it twice clears the state, also.
|
|
The corresponding action procedure for TI mode is <B>clear()</B>.
|
|
<DT id="7"><B>AC</B>
|
|
|
|
<DD>
|
|
Clears the display, the state, and the memory. Pressing it with the third
|
|
pointer button turns off the calculator, in that it exits the program.
|
|
The action procedure to clear the state is <B>off()</B>; to quit, <B>quit()</B>.
|
|
<DT id="8"><B>INV</B>
|
|
|
|
<DD>
|
|
Invert function. See the individual function keys for details.
|
|
The corresponding action procedure is <B>inverse()</B>.
|
|
<DT id="9"><B>sin</B>
|
|
|
|
<DD>
|
|
Computes the sine of the number in the display, as interpreted by the current
|
|
DRG mode (see DRG, below). If inverted, it computes the arcsine.
|
|
The corresponding action procedure is <B>sine()</B>.
|
|
<DT id="10"><B>cos</B>
|
|
|
|
<DD>
|
|
Computes the cosine, or arccosine when inverted.
|
|
The corresponding action procedure is <B>cosine()</B>.
|
|
<DT id="11"><B>tan</B>
|
|
|
|
<DD>
|
|
Computes the tangent, or arctangent when inverted.
|
|
The corresponding action procedure is <B>tangent()</B>.
|
|
<DT id="12"><B>DRG</B>
|
|
|
|
<DD>
|
|
Changes the DRG mode, as indicated by 'DEG', 'RAD', or 'GRAD' at the bottom
|
|
of the calculator ``liquid crystal'' display.
|
|
When in 'DEG' mode, numbers in the display are taken as being
|
|
degrees. In 'RAD' mode, numbers are in radians, and in 'GRAD' mode, numbers
|
|
are in grads. When inverted, the DRG key has a feature of
|
|
converting degrees to radians to grads and vice-versa. Example: put the
|
|
calculator into 'DEG' mode, and enter "45 INV DRG". The display should now
|
|
show something along the lines of ".785398", which is 45 degrees converted to
|
|
radians.
|
|
The corresponding action procedure is <B>degree()</B>.
|
|
<DT id="13"><B>e</B>
|
|
|
|
<DD>
|
|
The constant 'e'. (2.7182818...).
|
|
The corresponding action procedure is <B>e()</B>.
|
|
<DT id="14"><B>EE</B>
|
|
|
|
<DD>
|
|
Used for entering exponential numbers. For example, to get "-2.3E-4" you'd
|
|
enter "2 . 3 +/- EE 4 +/-".
|
|
The corresponding action procedure is <B>scientific()</B>.
|
|
<DT id="15"><B>log</B>
|
|
|
|
<DD>
|
|
Calculates the log (base 10) of the number in the display. When inverted,
|
|
it raises "10.0" to the number in the display.
|
|
For example, entering "3 INV log" should result in "1000".
|
|
The corresponding action procedure is <B>logarithm()</B>.
|
|
<DT id="16"><B>ln</B>
|
|
|
|
<DD>
|
|
Calculates the log (base e) of the number in the display. When inverted,
|
|
it raises "e" to the number in the display. For example, entering "e ln"
|
|
should result in "1".
|
|
The corresponding action procedure is <B>naturalLog()</B>.
|
|
<DT id="17"><B>y^x</B>
|
|
|
|
<DD>
|
|
Raises the number on the left to the power of the number on the right. For
|
|
example "2 y^x 3 =" results in "8", which is 2^3. For a further example,
|
|
"(1+2+3) y^x (1+2) =" equals "6 y^x 3" which equals "216".
|
|
The corresponding action procedure is <B>power()</B>.
|
|
<DT id="18"><B>not</B>
|
|
|
|
<DD>
|
|
Performs a bitwise not.
|
|
The corresponding action procedure is <B>not()</B>.
|
|
<DT id="19"><B>and</B>
|
|
|
|
<DD>
|
|
Performs a bitwise and.
|
|
The corresponding action procedure is <B>and()</B>.
|
|
<DT id="20"><B>or</B>
|
|
|
|
<DD>
|
|
Performs a bitwise or.
|
|
The corresponding action procedure is <B>or()</B>.
|
|
<DT id="21"><B>xor</B>
|
|
|
|
<DD>
|
|
Performs a bitwise exclusive or.
|
|
The corresponding action procedure is <B>xor()</B>.
|
|
<DT id="22"><B>trunc</B>
|
|
|
|
<DD>
|
|
Truncates the number in the display to an integer.
|
|
The corresponding action procedure is <B>trunc()</B>.
|
|
<DT id="23"><B>PI</B>
|
|
|
|
<DD>
|
|
The constant 'pi'. (3.1415927....)
|
|
The corresponding action procedure is <B>pi()</B>.
|
|
<DT id="24"><B>x!</B>
|
|
|
|
<DD>
|
|
Computes the factorial of the number in the display. The number in the display
|
|
must be an integer in the range 0-500, though, depending on your math library,
|
|
it might overflow long before that.
|
|
The corresponding action procedure is <B>factorial()</B>.
|
|
<DT id="25"><B>(</B>
|
|
|
|
<DD>
|
|
Left parenthesis. The corresponding action procedure for TI calculators
|
|
is <B>leftParen()</B>.
|
|
<DT id="26"><B>)</B>
|
|
|
|
<DD>
|
|
Right parenthesis. The corresponding action procedure for TI calculators
|
|
is <B>rightParen()</B>.
|
|
<DT id="27"><B>base</B>
|
|
|
|
<DD>
|
|
Changes the number base, as indicated by 'DEC', 'HEX, or 'OCT' at the bottom
|
|
of the calculator display.
|
|
When in 'DEC' mode, numbers in the display are taken as being decimal
|
|
(base 10). In 'HEX' mode, numbers are in hexadecimal (base 16), and in 'OCT'
|
|
mode, numbers are in octal (base 8).
|
|
The corresponding action procedure is <B>base()</B>.
|
|
<DT id="28"><B>shl</B>
|
|
|
|
<DD>
|
|
Performs an arithmetic bitwise shift left, For example, entering "1 shl 2"
|
|
should result in "4".
|
|
The corresponding action procedure is <B>shl()</B>.
|
|
<DT id="29"><B>shr</B>
|
|
|
|
<DD>
|
|
Performs an arithmetic bitwise shift right, For example, entering "8 shr 1"
|
|
should result in "4".
|
|
The corresponding action procedure is <B>shr()</B>.
|
|
<DT id="30"><B>mod</B>
|
|
|
|
<DD>
|
|
Performs the modulo operation, which calculates the remainder when dividing
|
|
the first number by the second. For example, entering "14 mod 8" should
|
|
result in "6".
|
|
The corresponding action procedure is <B>mod()</B>.
|
|
<DT id="31"><B>/</B>
|
|
|
|
<DD>
|
|
Division. The corresponding action procedure is <B>divide()</B>.
|
|
<DT id="32"><B>*</B>
|
|
|
|
<DD>
|
|
Multiplication. The corresponding action procedure is <B>multiply()</B>.
|
|
<DT id="33"><B>-</B>
|
|
|
|
<DD>
|
|
Subtraction. The corresponding action procedure is <B>subtract()</B>.
|
|
<DT id="34"><B>+</B>
|
|
|
|
<DD>
|
|
Addition. The corresponding action procedure is <B>add()</B>.
|
|
<DT id="35"><B>=</B>
|
|
|
|
<DD>
|
|
Perform calculation. The TI-specific action procedure is <B>equal()</B>.
|
|
<DT id="36"><B>STO</B>
|
|
|
|
<DD>
|
|
Copies the number in the display to the memory location.
|
|
The corresponding action procedure is <B>store()</B>.
|
|
<DT id="37"><B>RCL</B>
|
|
|
|
<DD>
|
|
Copies the number from the memory location to the display.
|
|
The corresponding action procedure is <B>recall()</B>.
|
|
<DT id="38"><B>SUM</B>
|
|
|
|
<DD>
|
|
Adds the number in the display to the number in the memory location.
|
|
The corresponding action procedure is <B>sum()</B>.
|
|
<DT id="39"><B>EXC</B>
|
|
|
|
<DD>
|
|
Swaps the number in the display with the number in the memory location.
|
|
The corresponding action procedure for the TI calculator is <B>exchange()</B>.
|
|
<DT id="40"><B>+/-</B>
|
|
|
|
<DD>
|
|
Negate; change sign. The corresponding action procedure is <B>negate()</B>.
|
|
<DT id="41"><B>.</B>
|
|
|
|
<DD>
|
|
Decimal point. The action procedure is <B>decimal()</B>.
|
|
<P>
|
|
</DL>
|
|
<P>
|
|
|
|
<I>Calculator Key Usage (RPN mode):</I>
|
|
|
|
The number keys, CHS (change sign), +, -, *, /, and ENTR keys all do exactly
|
|
what you would expect them to do. Many of the remaining keys are the same as
|
|
in TI mode. The differences are detailed below. The action procedure
|
|
for the ENTR key is <B>enter()</B>.
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="42"><B><-</B>
|
|
|
|
<DD>
|
|
This is a backspace key that can be used if you make a mistake while entering
|
|
a number. It will erase digits from the display. (See BUGS).
|
|
Inverse backspace will clear the X register.
|
|
The corresponding action procedure is <B>back()</B>.
|
|
<DT id="43"><B>ON</B>
|
|
|
|
<DD>
|
|
Clears the display, the state, and the memory. Pressing it with the third
|
|
pointer button turns off the calculator, in that it exits the program.
|
|
To clear state, the action procedure is <B>off</B>; to quit, <B>quit()</B>.
|
|
<DT id="44"><B>INV</B>
|
|
|
|
<DD>
|
|
Inverts the meaning of the function keys. This would be the <I>f</I> key
|
|
on an HP calculator, but <I>xcalc</I> does not display
|
|
multiple legends on each key. See the individual function keys for details.
|
|
<DT id="45"><B>10^x</B>
|
|
|
|
<DD>
|
|
Raises "10.0" to the number in the top of the stack.
|
|
When inverted, it calculates the log (base 10) of the number in the display.
|
|
The corresponding action procedure is <B>tenpower()</B>.
|
|
<DT id="46"><B>e^x</B>
|
|
|
|
<DD>
|
|
Raises "e" to the number in the top of the stack.
|
|
When inverted, it calculates the log (base e) of the number in the display.
|
|
The action procedure is <B>epower()</B>.
|
|
<DT id="47"><B>STO</B>
|
|
|
|
<DD>
|
|
Copies the number in the top of the stack to a memory location. There are 10
|
|
memory locations. The desired memory is specified by following this
|
|
key with a digit key.
|
|
<DT id="48"><B>RCL</B>
|
|
|
|
<DD>
|
|
Pushes the number from the specified memory location onto the stack.
|
|
<DT id="49"><B>SUM</B>
|
|
|
|
<DD>
|
|
Adds the number on top of the stack to the number in the specified
|
|
memory location.
|
|
<DT id="50"><B>x:y</B>
|
|
|
|
<DD>
|
|
Exchanges the numbers in the top two stack positions, the X and Y registers.
|
|
The corresponding action procedure is <B>XexchangeY()</B>.
|
|
<DT id="51"><B>R v</B>
|
|
|
|
<DD>
|
|
Rolls the stack downward. When inverted, it rolls the stack upward.
|
|
The corresponding action procedure is <B>roll()</B>.
|
|
<DT id="52"><I>blank</I>
|
|
|
|
<DD>
|
|
These keys were used for programming functions on the HP-10C. Their
|
|
functionality has not been duplicated in <I>xcalc</I>.
|
|
</DL>
|
|
<P>
|
|
|
|
Finally, there are two additional action procedures:
|
|
<B>bell()</B>, which rings the bell;
|
|
and <B>selection()</B>, which performs a cut on the
|
|
entire number in the calculator's ``liquid crystal'' display.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>ACCELERATORS</H2>
|
|
|
|
<P>
|
|
|
|
Accelerators are shortcuts for entering commands. <I>xcalc</I> provides
|
|
some sample keyboard accelerators; also users can customize accelerators.
|
|
The numeric keypad accelerators provided by <I>xcalc</I>
|
|
should be intuitively correct.
|
|
The accelerators defined by <I>xcalc</I> on the main keyboard are given below:
|
|
<P>
|
|
|
|
<TABLE>
|
|
<TR VALIGN=top><TD>TI Key</TD><TD>HP Key</TD><TD>Keyboard Accelerator</TD><TD>TI Function</TD><TD>HP Function<BR></TD></TR>
|
|
<TR VALIGN=top><TD COLSPAN=5><HR></TD></TR>
|
|
<TR VALIGN=top><TD>SQRT</TD><TD>SQRT</TD><TD>r</TD><TD>squareRoot()</TD><TD>squareRoot()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD>ON</TD><TD>space</TD><TD>clear()</TD><TD>clear()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD><-</TD><TD>Delete</TD><TD>clear()</TD><TD>back()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD><-</TD><TD>Backspace</TD><TD>clear()</TD><TD>back()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD><-</TD><TD>Control-H</TD><TD>clear()</TD><TD>back()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD></TD><TD>Clear</TD><TD>clear()</TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD>ON</TD><TD>q</TD><TD>quit()</TD><TD>quit()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>AC</TD><TD>ON</TD><TD>Control-C</TD><TD>quit()</TD><TD>quit()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>INV</TD><TD>i</TD><TD>i</TD><TD>inverse()</TD><TD>inverse()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>sin</TD><TD>s</TD><TD>s</TD><TD>sine()</TD><TD>sine()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>cos</TD><TD>c</TD><TD>c</TD><TD>cosine()</TD><TD>cosine()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>tan</TD><TD>t</TD><TD>t</TD><TD>tangent()</TD><TD>tangent()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>DRG</TD><TD>DRG</TD><TD>d</TD><TD>degree()</TD><TD>degree()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>e</TD><TD></TD><TD>e</TD><TD>e()</TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>ln</TD><TD>ln</TD><TD>l</TD><TD>naturalLog()</TD><TD>naturalLog()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>y^x</TD><TD>y^x</TD><TD>^</TD><TD>power()</TD><TD>power()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>PI</TD><TD>PI</TD><TD>p</TD><TD>pi()</TD><TD>pi()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>x!</TD><TD>x!</TD><TD>!</TD><TD>factorial()</TD><TD>factorial()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>(</TD><TD></TD><TD>(</TD><TD>leftParen()</TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>)</TD><TD></TD><TD>)</TD><TD>rightParen()</TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>/</TD><TD>/</TD><TD>/</TD><TD>divide()</TD><TD>divide()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>*</TD><TD>*</TD><TD>*</TD><TD>multiply()</TD><TD>multiply()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>-</TD><TD>-</TD><TD>-</TD><TD>subtract()</TD><TD>subtract()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>+</TD><TD>+</TD><TD>+</TD><TD>add()</TD><TD>add()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>=</TD><TD></TD><TD>=</TD><TD>equal()</TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD>0..9</TD><TD>0..9</TD><TD>0..9</TD><TD>digit()</TD><TD>digit()<BR></TD></TR>
|
|
<TR VALIGN=top><TD>+/-</TD><TD>CHS</TD><TD>n</TD><TD>negate()</TD><TD>negate()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD></TD><TD></TD><TD></TD><TD><BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD>x:y</TD><TD>x</TD><TD></TD><TD>XexchangeY()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD>ENTR</TD><TD>Return</TD><TD></TD><TD>enter()<BR></TD></TR>
|
|
<TR VALIGN=top><TD></TD><TD>ENTR</TD><TD>Linefeed</TD><TD></TD><TD>enter()<BR></TD></TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>CUSTOMIZATION</H2>
|
|
|
|
The application class name is XCalc.
|
|
<P>
|
|
|
|
<I>xcalc</I> has an enormous application defaults file which specifies
|
|
the position, label, and function of each key on the calculator.
|
|
It also gives translations to serve as keyboard accelerators.
|
|
Because these resources are not specified in the source code, you can create
|
|
a customized calculator by writing a private application defaults file,
|
|
using the Athena Command and Form widget resources to specify the size and
|
|
position of buttons, the label for each button, and the function of
|
|
each button.
|
|
<P>
|
|
|
|
The foreground and background colors of each calculator key can be
|
|
individually specified.
|
|
For the TI calculator, a classical color resource specification might be:
|
|
<P>
|
|
<BR>
|
|
|
|
XCalc.ti.Command.background:<TT> </TT>gray50<BR>
|
|
<BR>
|
|
|
|
XCalc.ti.Command.foreground:<TT> </TT>white<BR>
|
|
<P>
|
|
For each of buttons 20, 25, 30, 35, and 40, specify:
|
|
<BR>
|
|
|
|
XCalc.ti.button20.background:<TT> </TT>black<BR>
|
|
<BR>
|
|
|
|
XCalc.ti.button20.foreground:<TT> </TT>white<BR>
|
|
<P>
|
|
For each of buttons 22, 23, 24, 27, 28, 29, 32, 33, 34, 37, 38, and 39:
|
|
<BR>
|
|
|
|
XCalc.ti.button22.background:<TT> </TT>white<BR>
|
|
<BR>
|
|
|
|
XCalc.ti.button22.foreground:<TT> </TT>black<BR>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>WIDGET HIERARCHY</H2>
|
|
|
|
In order to specify resources, it is useful to know the hierarchy of
|
|
the widgets which compose <I>xcalc</I>. In the notation below,
|
|
indentation indicates hierarchical structure. The widget class name
|
|
is given first, followed by the widget instance name.
|
|
<PRE>
|
|
XCalc xcalc
|
|
Form ti <I>or</I> hp <I>(the name depends on the mode)</I>
|
|
Form bevel
|
|
Form screen
|
|
Label M
|
|
Toggle LCD
|
|
Label INV
|
|
Label DEG
|
|
Label RAD
|
|
Label GRAD
|
|
Label P
|
|
Command button1
|
|
Command button2
|
|
Command button3
|
|
<I>and so on, ...</I>
|
|
Command button38
|
|
Command button39
|
|
Command button40
|
|
</PRE>
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>APPLICATION RESOURCES</H2>
|
|
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="53"><B>rpn</B> (Class <B>Rpn</B>)<DD>
|
|
Specifies that the rpn mode should be used. The default is TI mode.
|
|
<DT id="54"><B>stipple</B> (Class <B>Stipple</B>)<DD>
|
|
Indicates that the background should be stippled. The default is ``on''
|
|
for monochrome displays, and ``off'' for color displays.
|
|
<DT id="55"><B>cursor</B> (Class <B>Cursor</B>)<DD>
|
|
The name of the symbol used to represent the pointer.
|
|
The default is ``hand2''.
|
|
|
|
</DL>
|
|
<A NAME="lbAK"> </A>
|
|
<H2>COLORS</H2>
|
|
|
|
If you would like xcalc to use its ti colors, include the following
|
|
in the #ifdef COLOR section of the file you read with xrdb:
|
|
<P>
|
|
*customization: -color
|
|
<P>
|
|
<BR>
|
|
|
|
This will cause xcalc to pick up the colors in the app-defaults color
|
|
customization file:
|
|
<I>/etc/X11/app-defaults/XCalc-color</I>.
|
|
|
|
|
|
<A NAME="lbAL"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?7+X">X</A>(7), <A HREF="/cgi-bin/man/man2html?1+xrdb">xrdb</A>(1), the Athena Widget Set
|
|
<A NAME="lbAM"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<P>
|
|
|
|
HP mode is not completely debugged. In particular, the stack is
|
|
not handled properly after errors.
|
|
<A NAME="lbAN"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright 1994 X Consortium
|
|
<BR>
|
|
|
|
See <I><A HREF="/cgi-bin/man/man2html?7+X">X</A>(7)</I> for a full statement of rights and permissions.
|
|
<A NAME="lbAO"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
John Bradley, University of Pennsylvania
|
|
<BR>
|
|
|
|
Mark Rosenstein, MIT Project Athena
|
|
<BR>
|
|
|
|
Donna Converse, MIT X Consortium
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="56"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="57"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="58"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="59"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="60"><A HREF="#lbAF">OPERATION</A><DD>
|
|
<DT id="61"><A HREF="#lbAG">ACCELERATORS</A><DD>
|
|
<DT id="62"><A HREF="#lbAH">CUSTOMIZATION</A><DD>
|
|
<DT id="63"><A HREF="#lbAI">WIDGET HIERARCHY</A><DD>
|
|
<DT id="64"><A HREF="#lbAJ">APPLICATION RESOURCES</A><DD>
|
|
<DT id="65"><A HREF="#lbAK">COLORS</A><DD>
|
|
<DT id="66"><A HREF="#lbAL">SEE ALSO</A><DD>
|
|
<DT id="67"><A HREF="#lbAM">BUGS</A><DD>
|
|
<DT id="68"><A HREF="#lbAN">COPYRIGHT</A><DD>
|
|
<DT id="69"><A HREF="#lbAO">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:30 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|