Set_Situ.sgm 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!-- $XConsortium: Set_Situ.sgm /main/6 1996/09/08 20:16:10 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. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN312.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN312.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Set_Situation</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Set_Situation</Symbol></RefName>
  17. <RefPurpose>set a tool's current working directory
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Set_Situ.sgm /main/6 1996/09/08 20:16:10 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <Synopsis>Set_Situation(in string <Emphasis>path</Emphasis>);
  28. </Synopsis>
  29. </RefSynopsisDiv>
  30. <RefSect1>
  31. <Title>DESCRIPTION</Title>
  32. <Para>The
  33. <Symbol Role="Message">Set_Situation</Symbol> request
  34. sets the current working directory.
  35. </Para>
  36. <Para>The
  37. <Emphasis>path</Emphasis> argument
  38. is the pathname of the working directory that the recipient should use.
  39. </Para>
  40. </RefSect1>
  41. <RefSect1>
  42. <Title>APPLICATION USAGE</Title>
  43. <Para>The
  44. &cdeman.ttdt.session.join;, function can be used to register for,
  45. and transparently process, the
  46. <Symbol Role="Message">Set_Situation</Symbol> request.
  47. </Para>
  48. </RefSect1>
  49. <RefSect1>
  50. <Title>EXAMPLES</Title>
  51. <Para>The
  52. <Symbol Role="Message">Set_Situation</Symbol> request can be sent as in the following example:
  53. </Para>
  54. <InformalExample Remap="indent">
  55. <ProgramListing>Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,
  56. the_recipient_procid, TTDT_SET_SITUATION,
  57. my_callback);
  58. tt_message_arg_add(msg, TT_OUT, Tttk_string, 0);
  59. tt_message_send(msg);
  60. </ProgramListing>
  61. </InformalExample>
  62. </RefSect1>
  63. <![ %CDE.C.CDE; [
  64. <RefSect1>
  65. <Title>WARNINGS</Title>
  66. <Para><Symbol Role="Message">Set_Situation</Symbol> can also be sent as a multicast notice, as an
  67. <Emphasis>edict</Emphasis> to all tools in the scope of the message.
  68. The consequences of doing so can be severe and unexpected.
  69. </Para>
  70. </RefSect1>
  71. ]]>
  72. <RefSect1>
  73. <Title>SEE ALSO</Title>
  74. <Para>&cdeman.tt.message.arg.add;, &cdeman.tt.message.send;, &cdeman.ttdt.session.join;; <Symbol Role="Message">Get_Situation</Symbol> request.
  75. </Para>
  76. </RefSect1>
  77. </RefEntry>
  78. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->