ttsample1(6)
NAME
ttsample1 − simple ToolTalk demo
SYNOPSIS
ttsample1
DESCRIPTION
ttsample1 is a program provided as demo code for the ToolTalk product. This program is compiled by running the make command in the directory $OPENWINHOME/share/src/tooltalk/demo/ttsample1. Your OPENWINHOME environment variable must be set to where OpenWindows is installed (typically /opt/openwin or /usr/openwin). After compiling, run the ttsample1 program. This will popup an OpenWindows application with a single button, slider, and a scale reflecting how many messages were sent and received. You can use ttsnoop (q.v.) to monitor the contents of the ToolTalk messages sent by ttsample1.
SEE ALSO
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 _SUN_TT_SESSION set, and that ttsession is in your PATH, or that the SUN_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.
Sun Microsystems — Last change: 18 Nov 1992