dtsessionfile(4) UNIX System V (1 August 1995) dtsessionfile(4)
NAME
dtsessionfile - format and location of desktop session files
DESCRIPTION
At session startup, the session manager will restart any
applications that were saved as part of the session. The
system default set of applications to be restored as part of
the user's Initial Session can be found in
/usr/dt/config/$LANG/sys.session. This file should not be
edited as it will be unconditionally overwritten upon
subsequent desktop installations.
A system administrator may replace the set of applications
that are restored as part of the user's Initial Session by
creating a file named /etc/dt/config/$LANG/sys.session.
Unlike the resource files, this file will be used as a
complete replacement for the desktop default file, so it is
valid to make a copy of the system default file and make any
necessary modifications.
FILE FORMAT
A session file contains a line for each application to be
started during a user's Initial Session. Empty lines or
lines beginning with a "#" are ignored. Each application to
be started should have a line in the session file of the
form:
dtsmcmd -cmd "application command line and options"
For example, to start the file manager with options:
dtsmcmd -cmd "/usr/dt/bin/dtfile -dir ~ -geometry +700+0"
More specifically, a session file consists of one or more
SessionLine's:
SessionLine = Comment | SessionSpec | <empty line>
Comment = "#" {<any character except null or
newline>}
SessionSpec = "dtsmcmd -cmd " Quote CommandSpec Quote
Quote = """
CommandSpec = "<application command line and options>"
Elements separated by vertical bar (|) are
alternatives. Curly braces ({...}) indicate
zero or more repetitions of the enclosed
elements. Quotes ("...") are used around
literal characters.
FILES
/usr/dt/config/$LANG/sys.session The desktop default set
of applications for the
Page 1 (printed 9/3/04)
dtsessionfile(4) UNIX System V (1 August 1995) dtsessionfile(4)
user's Initial Session.
/etc/dt/config/$LANG/sys.session System administrator
specified set of
applications for the
user's Initial Session.
SEE ALSO
dtsession(1)
Page 2 (printed 9/3/04)