background image
Functional specification
75
CDE/Motif PST
CDEnext
PDMD/PDM Protocol
SYNOPSIS
dt-pdm-command [dt-pdm-options] -vdisplay vdpy -window vwid
-pdisplay pdpy -pcontext pcid
OPTIONS
dt-pdm-command
This pdm executable path is derived by the dtpdmd from either the -p or -P
options.
dt-pdm-options
These options may have accompanied the dt-pdm-command, whether
specified from the dtpdmd command line by the -p or -P options, or from
other sources.
-display vdpy
Specifies the display connection to the Video X-Server.
-window vwid
Specifies the window id on the Video X-Server to which the pdm's dialogs
should be posted as transient windows.
-pdisplay pdpy
Specifies the display connection to the Print X-Server.
-pcontext pcid
Specifies the print context id on the Print X-Server. Used by the pdm to
gain access to the same print context as the requesting application.
ENVIRONMENT
Prior to starting a PDM, the dtpdmd may first modify the following environment variables:
XAUTHORITY
If the dtpdmd has come into possession of x-authority information that the
PDM will need, the dtpdmd will set the XAUTHORITY environment
variable so that the PDM will automatically have access to the proper x-
authority information.
In addition, the dtpdmd may set a "locale hint" passed to it by the "PDM Selection Protocol" from the
client prior to starting a PDM. On POSIX systems, setlocale(3C) will be used.
RETURN VALUES
The following integer constants are defined in <Dt/dtpdmd.h>:
PDM_EXIT_OK
The PDM is telling the PDMD that the user selected "OK" to dismiss the
PDM.
PDM_EXIT_CANCEL
The PDM is telling the PDMD that the user selected "CANCEL" to dismiss
the PDM.
PDM_EXIT_VXAUTH
The PDM is telling the PDMD that it did not have proper authority to make
a display connection on the Video X-Server.
PDM_EXIT_PXAUTH
The PDM is telling the PDMD that it did not have proper authority to make
a display connection to the Print X-Server.
PDM_EXIT_ERROR
The PDM is telling the PDMD that it encountered an error.