dtcalc man page on UnixWare

Man page or keyword search:  
man Server   3616 pages
apropos Keyword Search (all sections)
Output format
UnixWare logo
[printable version]



dtcalc(1)		 USER COMMANDS			dtcalc(1)

NAME
     dtcalc - The TED Calculator

SYNOPSIS
     dtcalc [-a accuracy] [-m mode] [-b numeric_base] [-notation
     display_notation] [-trig trigonometric_type] [-no_menu_bar]
     [-session session_file] [-?]

DESCRIPTION
     The dtcalc utility is a calculator for use within the TED.
     It provides an easy-to-use interface designed to give access
     to common arithmetic and financial calculations.

     The calculator is designed to operate in much the same way
     as many hand-held calculators.  It provides three modes of
     operation: scientific, financial, and logical.  The default
     operation is scientific, but with the easy-to-use GUI,
     changing to the modes of operation is easy.  When the opera-
     tion mode is changed, a number of the keys change for the
     new operations.

OPTIONS
     The dtcalc utility defines a number of command-line options
     that allow the user to configure how the calculator displays
     itself.  Command-line options have a higher precedence than
     resources.	 By using command-line options a user can over-
     ride anything specified in a resource file.

	-a <accuracy>  This is the initial number of digits
		       displayed after the numeric point.  This
		       value must be in the range 0 to 9.  The
		       default value is 2.

	-m <mode>      This determines which mode the calculator
		       will display itself in.	The possible
		       values for <mode> are: scientific, finan-
		       cial, or logical.  Scientific is the
		       default mode.  Some of the calculator keys
		       change operations when the calculator's
		       mode is changed.

	-b <numeric_base>
		       This determines which numeric base the
		       calculator will use when it does calcula-
		       tions.  There are four bases the calcula-
		       tor supports: binary (base 2), octal (base
		       8), decimal (base 10), or hexadecimal
		       (base 16).  The possible values for
		       <numeric_base> are: binary, octal,
		       decimal, or hexadecimal.	 The default is
		       decimal.

Unix System LaboratoLast change: 1 August 1995			1

dtcalc(1)		 USER COMMANDS			dtcalc(1)

	-notation <display_notation>
		       This determines how the answers are to be
		       displayed on the calculator.  The possible
		       values for <display_notation> are: scien-
		       tific, engineering, or fixed.  The default
		       is fixed.

	-trig <trigonometric_type>
		       This determines how answers are presented
		       when the calculator is in scientific mode.
		       The possible values for
		       <trigonometric_type> are: degrees, radi-
		       ans, or gradients.  The default is
		       degrees.

	-no_menu_bar   This option makes the calculator come up
		       with no menubar.

	-session <session_file>
		       The dtcalc utility runs with the session
		       file specified in the session_file parame-
		       ter.  Session files are generated as a
		       dtcalc session shuts down.

	-?	       This prints out the usage message.

RESOURCES
     The calculator supports a number of resources which make it
     much more configurable.  Following is the list of supported
     resources and their default values.

  Client Resource Set

     Name	       Class		 Type	   Default
     ________________________________________________________
     postMenuBar       PostMenuBar	 Boolean   True
     accuracy	       Accuracy		 int	   2
     base	       Base		 string	   decimal
     displayNotation   DisplayNotation	 string	   fixed
     mode	       Mode		 string	   scientific
     trigType	       TrigType		 string	   degrees
     ________________________________________________________

	Dtcalc*postMenuBar:
		       Specifies whether the menu bar should
		       appear or not.

	Dtcalc*accuracy:
		       Specifies whether the menu bar should
		       appear or not.

Unix System LaboratoLast change: 1 August 1995			2

dtcalc(1)		 USER COMMANDS			dtcalc(1)

	Dtcalc*base:   This resource allows the user to change
		       the default for the numeric base the cal-
		       culator uses when it does its calcula-
		       tions.  The default is "decimal" which is
		       base 10.	 Possible values are:

		       binary (or bin): do calculations in base
		       2.

		       octal (or oct): do calculations in base 8.

		       decimal (or dec): do calculations in base
		       10.

		       hexadecimal (or hex): do calculations in
		       base 16.

	Dtcalc*display:
		       This resource allows the user to change
		       the default for the way answers are
		       displayed on the calculator.  The default
		       is "fixed".  Possible values are:

		       fixed (or fix): display in fixed mode.

		       scientific (or sci): display in scientific
		       mode.

		       engineering (or eng): display in engineer-
		       ing mode.

FILES
	/usr/dt/bin/dtcalc
		       This is the executable for the TED Calcu-
		       lator.

	/usr/dt/app-defaults/<LANG>/Dtcalc
		       This file includes the application
		       defaults for the TED Calculator.

Unix System LaboratoLast change: 1 August 1995			3

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server UnixWare

List of man pages available for UnixWare

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net