10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13666N/A<!--ARC : LSARC 2002/319 GNOME 2.x gnome-calculator-->
10139N/A<!ENTITY cmd "gnome-calculator">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A<!ENTITY suncopy "Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="gnome-calculator-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>gnome-calculator</refentrytitle><manvolnum>1</manvolnum>
10139N/A<refmiscinfo class="date">12 Sep 2006</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
10139N/A<indexterm><primary>gnome-calculator</primary></indexterm><indexterm><primary>
10139N/Agucharmap</primary></indexterm><indexterm><primary>insert special characters
10139N/Ainto a document</primary></indexterm>
10139N/A<refnamediv id="gnome-calculator-1-name"><refname>gnome-calculator</refname>
10139N/A<refname>gcalctool</refname><refpurpose>perform basic, financial, and scientific
10139N/Acalculations</refpurpose></refnamediv>
10139N/A<refsynopsisdiv id="gnome-calculator-1-synp"><title>&synp-tt;</title>
11925N/A<cmdsynopsis><command>&cmd; | gcalctool</command>
11925N/A<arg><option>a <replaceable>accuracy</replaceable></option></arg>
11925N/A<arg><option>D</option></arg><arg><option>E</option></arg>
10139N/A<arg><option>v</option></arg>
10139N/A<arg><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
10139N/A</cmdsynopsis></refsynopsisdiv>
10139N/A<refsect1 id="gnome-calculator-1-desc"><title>&desc-tt;</title>
10139N/A<para>Gnome calculator is a desktop calculator. It has been designed to be used with
10139N/Aeither the mouse or the keyboard. It is visually similar to a lot of hand-held
10139N/Acalculators.</para>
11925N/A<para>
11925N/ACalculator has the following modes:
11925N/A</para>
10139N/A<variablelist>
11925N/A<varlistentry>
11925N/A<term>Basic Mode</term>
11925N/A<listitem><para>
11925N/AProvides standard calculator functions. You can store numbers in 10 different
11925N/Amemory registers, and easily retrieve and replace the numbers in the memory
11925N/Aregisters. Basic Mode is the default mode. You can use all of the Basic Mode
11925N/Afunctions in each of the other modes.
11925N/A</para>
10139N/A</listitem></varlistentry>
11925N/A<varlistentry>
11925N/A<term>Financial Mode</term>
11925N/A<listitem><para>
11925N/AProvides several complex financial functions.
11925N/A</para>
10139N/A</listitem></varlistentry>
11925N/A<varlistentry>
11925N/A<term>Scientific Mode</term>
11925N/A<listitem><para>
11925N/AProvides many additional mathematical functions, including trigonometric and
11925N/Alogical functions. You can also store your own functions and constants, when
11925N/Ayou use Scientific Mode.
10139N/A</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-calculator-1-exde"><title>&exde-tt;</title>
10139N/A<para>
11925N/ASome of the calculator keys have menu marks, this indicates that there is a
11925N/Amenu associated with that key.
10139N/A</para>
10139N/A<para>
11925N/AOne of the most important things to remember about gnome-calculator is that
11925N/Acalculations are performed from left to right, with no arithmetic precedence.
11925N/AIf you need arithmetic precedence, then you should use parentheses.
10139N/A</para>
10139N/A<para>
11925N/AInternal arithmetic is now down with multi-precision floating point numbers.
11925N/AAccuracy can be adjusted from zero to nine numeric places in fixed notation,
11925N/Abut numbers can be displayed in engineering and scientific notation as well.
11925N/AThere is also an option to show or remove trailing zeroes after the numeric
11925N/Apoint. The calculator reverts to scientific notation when the number is larger
11925N/Athan the display would allow in fixed notation. In the scientific mode, the
11925N/Abase of operation can be changed between binary, octal, decimal and
11925N/Ahexidecimal. Numbers are initially displayed in fixed notation to nine
11925N/Anumeric places, with trailing zeroes removed, in the decimal base.
10139N/A</para>
10139N/A<para>
11925N/AYou can use the Copy and Paste functions in conjunction with the numeric
11925N/Adisplay to store or retrieve characters from the clipboard. You can also remove
11925N/Athe last digit entered, completely clear the displayed entry and totally reset
11925N/Athe calculator.
10139N/A</para>
10139N/A<para>
11925N/AThere are ten memory registers. Numbers can be stored or retrieved in these
11925N/Alocations, and arithmetic can be performed upon register contents.
10139N/A</para>
10139N/A<para>
11925N/AContext sensitive help is also available. Control-F1 toggles whether a tooltip
11925N/Ais displayed for the item which currently has focus.
10139N/A</para>
10139N/A<para>On startup, Calculator uses the following configuration resources stored
10139N/Ain a GConf database. </para>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/accuracy
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>Accuracy value</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>The number of digits
10139N/Adisplayed after the numeric point. This value must be in the range 0 to 9.
10139N/A</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/base
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>Numeric Base</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>The initial numeric
10139N/Abase. Valid values are "BIN" (binary), "OCT" (octal), "DEC" (decimal), and
10139N/A"HEX" (hexadecimal).</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/display
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>Display mode</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>The initial display
10139N/Amode. Valid values are "ENG" (engineering), "FIX" (fixed-point), and SCI"
10139N/A(scientific).</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/mode
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>Mode</para></entry></row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>The initial calculator
10139N/Amode. Valid values are "BASIC", "FINANCIAL", and "SCIENTIFIC".</para></entry>
10139N/A</row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/showzeroes
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>true, false (true)</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>Whether to show
10139N/Atrailing zeroes after the numeric point in the display value.</para></entry>
10139N/A</row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/showthousands
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>true, false (false)</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>Whether fixed numbers
10139N/Ain the decimal base are displayed with thousands separated.</para></entry>
10139N/A</row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/showregisters
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>true, false (true)</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>Whether to display
10139N/Athe memory register window when Calculator starts.</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<informaltable frame="none">
10139N/A<tgroup cols="2" colsep="0" rowsep="0"><colspec colwidth="18.18*"><colspec
10139N/Acolwidth="81.82*">
10139N/A<tbody>
10139N/A<row><entry><para>Resource:</para></entry><entry><para>/schemes/apps/gcalctool/trigtype
10139N/A</para></entry></row>
10139N/A<row><entry><para>Values:</para></entry><entry><para>Trig. type</para></entry>
10139N/A</row>
10139N/A<row><entry><para>Description:</para></entry><entry><para>The initial trigonometric
10139N/Atype. Valid values are "DEG" (degrees), "GRAD" (grads), and "RAD" (radians).
10139N/A</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A<para>Any constants or functions that the user defines are also stored in
10139N/Athe GConf database.</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-calculator-1-opts"><title>&opts-tt;</title>
10139N/A<para>The following options are supported:</para>
10139N/A<variablelist termlength="medium">
10139N/A<varlistentry><term><option>a <replaceable>accuracy</replaceable></option></term>
10139N/A<listitem><para>Specifies the number of digits displayed after the numeric
10139N/Apoint. This value must be in the range 0 to 9.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><option>D</option></term><listitem><para>Enable debug
10139N/Amode.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><option>E</option></term><listitem><para>Enable debug
10139N/Amode in the multiple-precision arithmetic package.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry<term><option>v</option></term><listitem><para>Show the version number
10139N/Aand usage information.</para></listitem</varlistentry>
10139N/A<varlistentry><term><option role="nodash"><replaceable>gnome-std-options</replaceable></option></term>
10139N/A<listitem><para>Standard options available for use with most GNOME applications.
10139N/ASee <citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>
10139N/A5</manvolnum></citerefentry> for more information.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
11904N/A<refsect1 id="gnome-calculator-1-exam"><title>&exam-tt;</title>
10139N/A<example role="example">
10139N/A<title>Launching Calculator</title>
10139N/A<para><screen>example% <userinput>&cmd; </userinput></screen></para>
10139N/A</example>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-calculator-1-exit"><title>&exit-tt;</title>
10139N/A<para>The following exit values are returned:</para>
10139N/A<variablelist termlength="xtranarrow">
10139N/A<varlistentry><term><returnvalue>0</returnvalue></term><listitem><para>Application
10139N/Aexited successfully</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
10139N/Aexited with failure</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-calculator-1-file"><title>&file-tt;</title>
10139N/A<para>The following files are used by this application:</para>
10139N/A<variablelist termlength="wide">
10139N/A<varlistentry><term><filename>/usr/bin/gcalctool</filename> </term><listitem>
10139N/A<para>Executable for Calculator.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><filename>/usr/bin/&cmd;</filename> </term><listitem>
10139N/A<para>Symbolic link to <command>gcalctool</command>.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><filename>~/.gcalctoolrc</filename> </term><listitem>
10139N/A<para>User-specific resources for customizing the appearance and color of
10139N/ACalculator.</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gnome-calculator-1-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>desktop/calculator/gcalctool
10139N/A</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-calculator-1-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
10139N/A<!--Reference to a Help manual-->
10139N/A<!--Reference to a book.-->
10139N/A<para><citetitle>Calculator Manual</citetitle></para>
10139N/A<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle>
10139N/Afor your platform.</para>
11904N/A<para>
11904N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
11904N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-calculator-1-note"><title>&note-tt;</title>
11933N/A<para>Written by Glynn Foster and Rich Burridge, Sun Microsystems Inc., 2003.
10139N/A</para>
11933N/A<para>Updated by Matt Keenan, Sun Microsystems Inc., 2006.</para>
10139N/A</refsect1>
10139N/A</refentry>