Access a Photon workspace on a remote node
phditto [-b baud] [-H time1[,time2][,time3]] [-h height] [-i igrp] [-k] [-M kbytes[,Mbytes]] [-m modem] [-N number] [-n path[+]] [-o options] [-p path] [-s service] [-t ipaddr[:port]] [-U userid[:password]] [-u] [-V[V]...] [-w width] [-X offset] [-x offset] [-Y offset] [-y offset] [host]
Default times are scaled, based on baud rate, yielding 1.2, 0.6, and 0.3 seconds at 9600 baud. The default mouse holdoff is disabled at baud rates above 115,200.
Combine options by addition, e.g. to specify BPE and CRC, select 9. If the selected baud rate requires it, compression will be automatically selected unless you specify 0.
The phditto utility lets you view and interact with another Photon workspace in a network. When you “ditto” the remote node, both you and the remote user can share the same workspace.
You can end the phditto session by selecting Close from phditto's window menu (click the right mouse button on the phditto label in the Taskbar).
When you specify a modem (using -m), phditto first acts as a simple text terminal emulator so you can interact with the modem, dial up a remote QNX machine, and log in. Once you're logged in, you can then start up a Photon session by entering the following command:
The phditto program will then synchronize with the remote phrelay program and start to function as a Photon graphics terminal.
When you specify a TCP/IP connection (using -t), the inetd program running on the remote QNX host will automatically launch phrelay for you, provided phrelay and inetd have been configured properly.
Run an encapsulated Photon session (Photon within Photon) on the local machine:
Start a private pfm service on host:
phditto -Spfm -t host
Connect through the modem on /dev/ser2 to a remote QNX box. Once logged into QNX, type exec /usr/bin/phrelay:
Connect via the Internet to an IP port on a remote QNX machine where a remote Photon session will be automatically started:
Connect to a remote QNX machine and run an encapsulated PhAB session as user joe:
phditto -t188.8.131.52 -sphab -Ujoe:password
To create a new private Photon session on a remote node, you must specify one of -m, -t, or host because native QNX messaging is not currently implemented as a transport mechanism.
You can use Qnet to connect to an existing Photon session on a remote node. For example:
phditto -tlocalhost -n/net/remotehost/dev/photon
When connecting to a machine running an older version of phrelay, it's possible to exceed the draw buffer limit. In this case, the window title displays the error: “[Error: Large Draw Buffers]”.
Using the Photon microGUI in the Neutrino User's Guide