SaScreenPolicy(TCL_ADM)
SaScreenPolicy: SaScreenPolicyGet, SaScreenPolicySet --
save/restore configurable application variables for SCOadmin clients
Syntax
SaScreenPolicyGet client attribute
SaScreenPolicySet client attribute value
Description
SaScreenPolicyGet-
get stored user preferences for manager
SaScreenPolicySet-
store user preferences for manager
The SaScreenPolicy interface enables SCOadmin applications to retain
per-user configurable variables across multiple invocations.
Values are stored in a common per-user file in a section reserved for
the individual application. All SCOadmin application values are
collected together in a single file avoiding unnecessary file system
pollution and providing the user with a central place for all preferences.
SaScreenPolicy is implemented using the Stanza files.
Arguments
client-
string (without embedded white space) that uniquely identifies calling
application from all other SCOadmin applications. Must conform to the rules
for Stanza section names.
attribute-
name for configurable variable. Must conform to the rules
for Stanza attribute names.
value-
attribute value being set or returned.
Must conform to the rules for Stanza values.
Errors
Errors are thrown, typically from the underlying Stanza interfaces.
These should be handled eventually withErrorCatch.
Files
$HOME/.scoadmin.pref - the per-user SCOadmin stanza file.
See also
Stanza(TCL_ADM),
SCO Visual Tcl Programmer's Guide and Reference in SCO Visual Tcl Programmer's Guide and Reference.
16 September 2002
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003