ttsnoop.sgm 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!-- $XConsortium: ttsnoop.sgm /main/8 1996/09/08 20:01:55 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <RefEntry Id="CDEMX.MAN109.rsml.1">
  10. <RefMeta>
  11. <RefEntryTitle>ttsnoop</RefEntryTitle>
  12. <ManVolNum>demos</ManVolNum>
  13. </RefMeta>
  14. <RefNameDiv>
  15. <RefName><Command>ttsnoop</Command></RefName>
  16. <RefPurpose>send and receive ToolTalk messages interactively
  17. </RefPurpose>
  18. </RefNameDiv>
  19. <!-- $XConsortium: ttsnoop.sgm /main/8 1996/09/08 20:01:55 rws $-->
  20. <!-- (c) Copyright 1993, 1994 Hewlett-Packard Company-->
  21. <!-- (c) Copyright 1993, 1994 International Business Machines Corp.-->
  22. <!-- (c) Copyright 1993, 1994 Sun Microsystems, Inc.-->
  23. <!-- (c) Copyright 1993, 1994 Novell, Inc.-->
  24. <RefSynopsisDiv>
  25. <CmdSynopsis>
  26. <Command>ttsnoop</Command>
  27. <Arg Choice="opt">&minus;t</Arg>
  28. </CmdSynopsis>
  29. </RefSynopsisDiv>
  30. <RefSect1>
  31. <Title>DESCRIPTION</Title>
  32. <Para>Then
  33. <Command>ttsnoop</Command> utility allows
  34. its user to create and send custom constructed ToolTalk messages, and to
  35. selectively monitor any or all ToolTalk messages on your system.
  36. <command>ttsnoop</command> menu options are as follows:
  37. </para>
  38. <itemizedlist>
  39. <listitem>
  40. <para>Snoop &mdash; Turn on/off tracing; get version information
  41. </para>
  42. </listitem>
  43. <listitem>
  44. <para>Message &mdash; Create, open, receive, and destroy messages
  45. </para>
  46. </listitem>
  47. <listitem>
  48. <para>Pattern &mdash; Create, open, and destroy patterns
  49. </para>
  50. </listitem>
  51. <listitem>
  52. <para>File &mdash; Numerous tasks, including joining a file
  53. </para>
  54. </listitem>
  55. <listitem>
  56. <para>Session &mdash; Join a specific session; set the default session
  57. </para>
  58. </listitem>
  59. <listitem>
  60. <para>Ptype &mdash; Declare and undeclare a <literal>ptype</literal>; determine whether
  61. a <literal>ptype</literal> exists
  62. </para>
  63. </listitem>
  64. <listitem>
  65. <para>Types &mdash; Generate a list of declared types; generate a list of ToolTalk-based actions
  66. </para>
  67. </listitem>
  68. <listitem>
  69. <para>Procid &mdash; Open, close, suspend, and resume a procid
  70. </para>
  71. </listitem>
  72. <listitem>
  73. <para>libc &mdash; Call <function>system()</function>, <function>putenv()</function>, <function>chdir()</function>, <function>pause()</function>, and <function>exit()</function>; use <function>exit()</function>
  74. to exit <command>ttsnoop</command>
  75. </para>
  76. </listitem>
  77. </itemizedlist>
  78. </RefSect1>
  79. <RefSect1>
  80. <Title>OPTIONS</Title>
  81. <Para>The following command-line options are available:
  82. </Para>
  83. <VariableList>
  84. <VarListEntry>
  85. <Term><Literal>&minus;t</Literal></Term>
  86. <ListItem>
  87. <Para>Print trace output. Of particular interest is that ttsnoop
  88. will print example ToolTalk API code in the invoking OpenWindows
  89. cmdtool (or console if ttsnoop is invoked via a menu choice)
  90. showing what ToolTalk API calls are being used to construct
  91. a particular pattern or message.
  92. </Para>
  93. </ListItem>
  94. </VarListEntry>
  95. </VariableList>
  96. </RefSect1>
  97. <RefSect1>
  98. <Title>SEE ALSO</Title>
  99. <Para>&cdeman.ttsession;</Para>
  100. </RefSect1>
  101. </RefEntry>
  102. <!--fickle 1.12 mancsf-to-docbook 1.3 08/21/95 21:30:04-->