dtsessio.sgm 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <!-- $XConsortium: dtsessio.sgm /main/8 1996/09/08 20:19:21 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.MAN86.rsml.1">
  10. <RefMeta>
  11. <RefEntryTitle>dtsessionfile</RefEntryTitle>
  12. <ManVolNum>special file</ManVolNum>
  13. </RefMeta>
  14. <RefNameDiv>
  15. <RefName><Filename>dtsessionfile</Filename></RefName>
  16. <RefPurpose>format and location of desktop session files
  17. </RefPurpose>
  18. </RefNameDiv>
  19. <RefSect1>
  20. <Title>DESCRIPTION</Title>
  21. <note>
  22. <para>CDEnext session databases (<Filename>dtsession.db</Filename>)
  23. supersede CDE1.0 session databases.
  24. The CDEnext Session Manager can read CDE 1.0 session databases but not write
  25. to them. It will write only to CDEnext session databases.
  26. For more information see, &cdeman.dtsessiondb;.
  27. </para>
  28. </note>
  29. <Para>At session startup, the session manager will restart any applications
  30. that were saved as part of the session. The system default set of
  31. applications to be
  32. restored as part of the user's Initial Session can be found in
  33. /usr/dt/config/$LANG/sys.session. This file should not be edited as
  34. it will be unconditionally overwritten upon subsequent desktop
  35. installations.
  36. </Para>
  37. <Para>A system administrator may replace the set of applications that
  38. are restored as part of the user's Initial Session by creating
  39. a file named /etc/dt/config/$LANG/sys.session. Unlike the resource
  40. files, this file will be used as a complete replacement for the
  41. desktop default file, so it is valid to make a copy of the system
  42. default file and make any necessary modifications.
  43. </Para>
  44. </RefSect1>
  45. <RefSect1>
  46. <Title>FILE FORMAT</Title>
  47. <Para>A session file contains a line for each application to be started
  48. during a user's Initial Session. Empty lines or lines beginning with
  49. a "#" are ignored. Each application to be started should have a line
  50. in the session file of the form:
  51. </Para>
  52. <Para>dtsmcmd -cmd "application command line and options"
  53. </Para>
  54. <Para>For example, to start the file manager with options:
  55. </Para>
  56. <Para>dtsmcmd -cmd "/usr/dt/bin/dtfile -dir ~ -geometry +700+0"
  57. </Para>
  58. <Para>More specifically, a session file consists of one or
  59. more SessionLine's:
  60. </Para>
  61. <VariableList>
  62. <VarListEntry>
  63. <Term>SessionLine</Term>
  64. <ListItem>
  65. <Para>= Comment | SessionSpec | &lt;empty line>
  66. </Para>
  67. </ListItem>
  68. </VarListEntry>
  69. <VarListEntry>
  70. <Term>Comment</Term>
  71. <ListItem>
  72. <Para>= "#" {&lt;any character except null or newline>}
  73. </Para>
  74. </ListItem>
  75. </VarListEntry>
  76. <VarListEntry>
  77. <Term>SessionSpec</Term>
  78. <ListItem>
  79. <!-- ex-TP-->
  80. <Para>= "dtsmcmd -cmd " Quote CommandSpec Quote
  81. </Para>
  82. </ListItem>
  83. </VarListEntry>
  84. <VarListEntry>
  85. <Term>Quote</Term>
  86. <ListItem>
  87. <Para>= """
  88. </Para>
  89. </ListItem>
  90. </VarListEntry>
  91. <VarListEntry>
  92. <Term>CommandSpec</Term>
  93. <ListItem>
  94. <Para>= "&lt;application command line and options>"
  95. </Para>
  96. <Para>Elements separated by vertical bar (|) are alternatives.
  97. Curly braces ({...}) indicate zero or more repetitions of
  98. the enclosed elements. Quotes ("...") are
  99. used around literal characters.
  100. </Para>
  101. </ListItem>
  102. </VarListEntry>
  103. </VariableList>
  104. </RefSect1>
  105. <RefSect1>
  106. <Title>FILES</Title>
  107. <VariableList>
  108. <VarListEntry>
  109. <Term>/usr/dt/config/$LANG/sys.session</Term>
  110. <ListItem>
  111. <Para>The desktop default set of applications for the
  112. user's Initial Session.
  113. </Para>
  114. </ListItem>
  115. </VarListEntry>
  116. <VarListEntry>
  117. <Term>/etc/dt/config/$LANG/sys.session</Term>
  118. <ListItem>
  119. <Para>System administrator specified set of applications for
  120. the user's Initial Session.
  121. </Para>
  122. </ListItem>
  123. </VarListEntry>
  124. </VariableList>
  125. </RefSect1>
  126. <RefSect1>
  127. <Title>SEE ALSO</Title>
  128. <Para>&cdeman.dtsession;</Para>
  129. </RefSect1>
  130. </RefEntry>
  131. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->