Index Index for
Section 1
Index Alphabetical
listing for T
Bottom of page Bottom of
page

ttsnoop(1)

CDE

NAME

ttsnoop - send and receive ToolTalk messages interactively

SYNOPSIS

ttsnoop [-t]

OPTIONS

The following options are available: -t Print trace output. Of particular interest is that ttsnoop will print example ToolTalk API code in the invoking OpenWindows cmdtool (or console if ttsnoop is invoked via a menu choice) showing what ToolTalk API calls are being used to construct a particular pattern or message.

DESCRIPTION

Then ttsnoop utility allows its user to create and send custom constructed ToolTalk messages, and to selectively monitor any or all ToolTalk messages on your system. Once the ttsnoop utility is started, pressing the square "Start" button on the upper left of the main panel activates message reception. The ttsnoop utility will now display any incoming messages which match the registered patterns. The initial pattern registered matches all messages. The main panel of ttsnoop has several buttons: Pressing the "Messages..." button will pops up a panel which allows the user to compose and send ToolTalk messages. Refer to the ToolTalk Reference Manual to understand what the myriad of choices mean. Note that sending message contexts requires pressing the "Edit Contexts" button to bring up another popup, which will allow you to edit contexts to be sent with your messages. Pressing the "Patterns..." button will popup a panel which allows the user to compose and register ToolTalk patterns. Refer to the ToolTalk Reference Manual to understand what the myriad of choices mean. By registering appropriate patterns, a programmer can use ttsnoop as a debugging tool to observe what messages are being sent by other applications. Note that using message contexts in patterns requires pressing the "Edit Contexts" button to bring up another popup, which will allow the user to edit contexts to be registered with your patterns. Pressing the "Display..." button will popup a panel of checkboxes, each of which controls the highlighting of a specific ToolTalk message component on the ttsnoop display subwindow. Selected components will be indicated on displayed messages by a "--->" to the left of the displayed message component. Using the "Send Message" button allows you send one of a number of pre- selected messages, created by the "Add Message" button on the "Messages..." popup panel.

SEE ALSO

Command: ttsession(1)

Index Index for
Section 1
Index Alphabetical
listing for T
Top of page Top of
page