ttsample1(6)

NAME
ttsample1 - demonstrate simple use of ToolTalk

SYNOPSIS
ttsample1

DESCRIPTION

The ttsample1 utility is provided as demo code for the ToolTalk product. This program is compiled by copying the files in the directory /usr/dt/share/src/tooltalk/demo/ttsample1 to a convenient spot and invoking the make(1) utility. This will pop up an application with a single button, slider, and a scale reflecting the value last received. By starting several instances of the application, setting the slider in each to a different value, and pushing the button in each instance, the effect of broadcasting the value can be seen. The ttsnoop(1) and tttrace(1) utilities can be used to monitor the contents of the ToolTalk messages sent by ttsample1.

SEE ALSO
ttsnoop(1) ttsession(1n)

DIAGNOSTICS
If you try and invoke ttsample1 (or any ToolTalk application) and you get a message saying the application could not start ToolTalk, or ttsession, make sure that you have one of the environment variables DISPLAY or TT_SESSION set, and that ttsession is in your PATH, or that the TTSESSION_CMD environment variable indicates where the ttsession program resides. For more information on ttsession and the environment variables it uses, see the ttsession man page.