Innerhalb
Nach weiteren Dokumenten suchen
Support-Ressourcen
| Dieses Buch im PDF-Format herunterladen
NAME
- edit_demo - ToolTalk client/server demonstration programs
SYNOPSIS
-
cntl
-
edit
DESCRIPTION
-
cntl and edit are two related demo programs provided with the ToolTalk product. Both programs are compiled by running the make (1S)command in the directory $OPENWINHOME/share/src/tooltalk/demo/edit_demo. Your OPENWINHOME environment variable must be set to where OpenWindows is installed (typically /usr/openwin). After compiling, run the cntl (for `control') program. This will popup an OpenWindows application with a single button and a text input field. Enter a filename in the text field and load it for editing by single clicking on the button. This will use ToolTalk to invoke the edit program as another OpenWindows popup application. From there you can select text in the edit window, and click on the Make Object button on the panel of the edit popup. Then using the cntl program button you can use ToolTalk to highlight the object you just made in the other window. You can use ttsnoop to monitor the contents of the ToolTalk messages sent by edit.
SEE ALSO
-
ttsnoop(6) ttsession(1)
DIAGNOSTICS
- If you try and invoke cntl (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.
|
|