Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

phcalc

Photon calculator

Syntax:

phcalc [-s server] [-x position[%][r]]
       [-y position[%][r]] 

Runs on:

Neutrino

Options:

-s server_name
The name of the Photon server:
If server_name is: This server is used:
node_path node_path/dev/photon
fullpath fullpath
relative_path /dev/relative_path
-x position[%][r]
The x coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen width if % is specified. If r is specified, the coordinate is relative to the current console.
-y position[%][r]
The y coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen height if % is specified. If r is specified, the coordinate is relative to the current console.

Description:

This utility starts a graphical calculator. You must be running Photon in order to run phcalc.

Examples:

Run phcalc using the Photon server on node my_node:

phcalc -s/net/my_node/dev/photon

Run at initial position (10,10):

phcalc -x10 -y10