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 path[+]] [-o options] [-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:
exec /usr/bin/phrelay
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:
phditto localhost
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:
phditto -m/dev/ser2
Connect via the Internet to an IP port on a remote QNX machine where a remote Photon session will be automatically started:
phditto -t198.53.31.1:4869
Connect to a remote QNX machine and run an encapsulated PhAB session as user joe:
phditto -t198.53.31.1 -sphab -Ujoe:password
To access a remote node, you must specify one of -m, -t, or host because native QNX messaging is not currently implemented as a transport mechanism.
Using the Photon microGUI in the Neutrino User's Guide