X48(1)

NAME
x48 - scientific calculator for X and an HP 48 emulator

SYNOPSIS
x48 [-options ...] where options include:
    [-help] print out this message
    [-display <displayname>] X server to contact
    [-name    <string>]        set application name to <string>
    [-title <string>] set window title to <string>
    [-geometry <geometry>] position of window
    [-iconGeom <geometry>] position of icon window
    [-iconic] start iconic
    [-visual <visualname>] use visual <visualname>
    [-mono] force monochrome
    [-gray] force grayscale
    [-monoIcon] force monochrome icon
    [-smallFont <fontname>] <fontname> to draw small labels (MTH - DEL)
    [-mediumFont <fontname>] <fontname> to draw medium label (ENTER)
    [-largeFont <fontname>] <fontname> to draw large labels (Numbers)
    [-connFont <fontname>] <fontname> to display wire & IR connections
    [-/+xshm] turn on/off XShm extension
    [-version] print out version information
    [-copyright] print out copyright information
    [-warranty] print out warranty information
    [-verbose] run verbosive
    [-quiet] run quietly
    [-/+terminal] turn on/off pseudo terminal interface
    [-/+serial] turn on/off serial interface
    [-line <devicename>] use serial line <devicename> for IR connection
    [-/+debug turn on/off debugger
    [-disasm <string> use <string> ('HP' or 'class') mnemonics
    [-reset perform a reset (PC = 0) on startup
    [-initialize force initialization x48 from ROM-dump
    [-rom <filename> if initializing, read ROM from <filename>
    [-home <directory> use directory ~/<directory> to save x48 files
    [-xrm <resource> set Xresource <resource>
    [-/+netbook Enable/Disable netbook look

DESCRIPTION
x48 is a scientific calculator desktop accessory that emulate an HP-48 SX or an HP-48 GX.

OPTIONS

x48 accepts all of the standard toolkit command line options along with several additional options:

-help
    Show a list of options.

-version
    This causes x48 to print a version number to the standard output.

-iconic
    Start iconic

OPERATION

x48 emulates an HP 48 calculator. This manual does not attempt to describe the operation of the HP calulator, but only the user interface to the emulator. Pointer Usage: When mouse button one is press on an x48 key the key is depress until the mouse button is released. If you wish to have more than one key press at a time mouse button 3 may be used. Button pressed with mouse button 3 will remain pressed until mouse button 1 is used. For example to reset the calulator you can press the A key and the F key with mouse button 3 and then press the on button with mouse button 1. Mouse button 2 will paste the text in the cut buffer to the calculator if it is press in the display area of the calculator. See notes on pasting text into the calculator below. Use of mouse elsewhere on the image of the calculator is undefined.

ACCELERATORS
The keyboard may be used to input data into the x48. The number keys on the keyboard coresponds to the number buttons on the calaculator, and the alphbetic keys on the keyboard control the buttons on the top half of the calculator and the @code{+/-} and @code{EXX} keys. The @code{ENTER} button is attached to the Enter key, the delete key to the <-/DROP button and Divide, multiply, subtract and add buttons to the /, *, -, and + keys on the key board. Note that only the DELETE key will auto repeat just like on the HP48 calculator.

CUSTOMIZATION

WIDGET HIERARCHY

APPLICATION RESOURCES
The program understands all of the core X Toolkit resource names and classes. Application specific resources (e.g., "X48.NAME") follow:

.display: <diplayname>
    Specifies the display to use.

*geometry: {+|-}x{+|-}y
    You can not change the size of x48, but you can set the location of x48.

*iconGeom: <geometrystring>

*iconName: <name>

*iconic: <true|false>

*title: <name>

*useXShm: <true|false>

*visual: <default|staticgray|staticcolor|truecolor|grayscale|pseudocolor|directcolor|0xnn|nn>

*mono: <true|false>

*gray: <true|false>

*monoIcon: <true|false>

*printVersion: <true|false>

*printCopyright:

*printWarranty:

*smallLabelFont: <font>

*mediumLabelFont:

*largeLabelFont:

*connectionFont:

*verbose:

*quiet:

*useTerminal:

*useSerial:

*serialLine:

*completeInitialize: <true|false>

*resetOnStartup:

*romFileName:

*homeDirectory:

*useDebugger:

*disassemblerMnemonics:

*Netbook:

COLORS
The x48 is trying to look like a particular device. The colors are therefore not selectable.

ENVIRONMENT
XUSERFILESEARCHPATH

SEE ALSO
X(7x), xrdb(1)

BUGS

Bugs can be found and reported at: http://developer.berlios.de/bugs/?group_id=3335

COPYRIGHT
Copyright © 1994-2005 Eddie C. Dost
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AUTHORS
Eddie C. Dost
G. Allen Morris III <gam3@gam3.net>