DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

/usr/dt/share/man/cat1/ttsnoop.1(/usr/dt/share/man/cat1/ttsnoop.1)




ttsnoop(6)		 GAMES AND DEMOS	       ttsnoop(6)

NAME
     ttsnoop - send and	receive	ToolTalk messages interactively

SYNOPSIS
     ttsnoop
     [-t]

DESCRIPTION
     Then ttsnoop utility allows its user to create and	send cus-
     tom  constructed ToolTalk messages, and to	selectively moni-
     tor 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 pat-
     terns, 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 press-
     ing  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 Mes-
     sage" button on the "Messages..." popup panel.

OPTIONS
     The following options are available:

Unix System LaboratLastschange:	19 January 1994			1

ttsnoop(6)		 GAMES AND DEMOS	       ttsnoop(6)

	-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.

SEE ALSO
     ttsession(1)

Unix System LaboratLastschange:	19 January 1994			2

See also ttsnoop(1)

Man(1) output converted with man2html