Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ edit_demo(6) — SunOS 5.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ttsnoop(6)

ttsession(1)

cntl/edit(6)

NAME

cntl edit − ToolTalk client and server textedit demo

SYNOPSIS

cntl

DESCRIPTION

cntl and edit are two related demo programs provided with the ToolTalk product.  Both programs are compiled by running the make command in the directory $OPENWINHOME/share/src/tooltalk/demo/edit_demo.  Your OPENWINHOME environment variable must be set to where OpenWindows is installed (typically /opt/openwin or /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 (q.v.) 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. 

SunOS 5.2  —  Last change: 18 Nov 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026