Composing and Sending Messages
When you press the Messages button on the initial display window, the popup panel shown in Figure 5-2 is displayed.
Figure 5-2 Popup Messages Panel
Add Message
Press this button to store the current message settings. Once the messages are stored, you can recall and send these messages using the Send Message button on the initial display window.
Edit Contexts
Press this button to add, change, and delete send message contexts. The popup window displayed, shown in Figure 5-3, allows you to edit contexts to be sent with your messages.
Figure 5-3 Editing Send Contexts
Send Message
Press this button to send the newly created message.
Note - This button performs the same function as the Send Message button on the main menu.
Composing and Registering Patterns
When you press the Patterns button on the initial display window, the popup panel shown in Figure 5-4 is displayed.
Figure 5-4 Popup Patterns Panel
Press the Apply button to register your pattern. Once a pattern is registered, you can use ttsnoop as a debugging tool to observe what messages are being sent by other applications.
Edit Receive Contexts
Press this button to add, change, and delete receive message contexts in patterns. The popup window displayed, shown in Figure 5-5, allows you to edit contexts to be registered with your patterns.
Figure 5-5 Editing Message Contexts in Patterns
Displaying Message Components
When you press the Display button on the initial display window, the popup panel of checkboxes shown in Figure 5-6 displays.
Figure 5-6 Checkboxes to Display Message Component Values
When you select a checkbox, the specified ToolTalk message component is indicated on a displayed message by an arrow (--->) to the left of the displayed message component. Figure 5-7 shows the displayed message components.
Figure 5-7 Display of Message Components
Sending Pre-Created Messages
When you press the Send Message button on the initial display window, you can send one the messages you created and stored using the Messages popup.
Receiving Messages
When you press the Start button on the initial display window, ttsnoop will display any incoming messages which match the patterns you registered. Figure 5-8 is an example of a displayed incoming message.
Figure 5-8 Incoming Message Displayed
Stop Receiving Messages
When you press the Stop button on the initial display window, ttsnoop will stop receiving messages.