background image
Functional specification
66
CDE/Motif PST
CDEnext
Table 3-1: Print Service Diagram - Processes Involved, "PDM Selection" Protocol, Security Model
client (uid=user)
$(HOME)/.Xauthority
vserver.com MIT-MAGIC-COOKIE-1 ...
pserver.com MIT-MAGIC-COOKIE-1 ...
PDM (uid=daemon)
$(DTPDM)/.Xauthority
vserver.com MIT-MAGIC-COOKIE-1 ...
pserver.com MIT-MAGIC-COOKIE-1 ...
pserver2.com MIT-MAGIC-COOKIE-1 ...
Alternate PDM (uid=daemon)
$(DTPDM)/.Xauthority
vserver.com MIT-MAGIC-COOKIE-1 ...
pserver2.com MIT-MAGIC-COOKIE-1 ...
Print [Selection] X-Server (uid=daemon)
$(XPX)/.Xauthority
pserver.com MIT-MAGIC-COOKIE-1 ...
selection_window
PDM_MANAGER selection atom
PDM_REPLY type atom
Client mbox 1
Client mbox n
· · · · · ·
Alt Selection X-Server (uid=daemon)
$(XPX)/.Xauthority
pserver2.com MIT-MAGIC-COOKIE-1 ...
Client mbox 1
Client mbox n
· · · · · ·
Video X-Server (uid=user)
$(HOME)/.Xauthority
vserver.com MIT-MAGIC-COOKIE-1 ...
pserver.com MIT-MAGIC-COOKIE-1 ...
client video window
PDM GUI's
PDM_START property: client to PDM {
video_display
host:display[.screen]
video_window id as hex string
print_display
host:display[.screen]
print_window
id as hex string
print_context
id as hex string
locale_hint
string
}
PDM_START target atom
PDM_MBOX target atom
PDM_MAIL type atom
requestor_window
property
The "Alternate Selection X-Server" is
a concept in which a PDM from anoth-
er Print X-Server can be borrowed by a
client. Maybe the alternate PDM has
features not found on the clients nor-
mal Print X-Server PDM.
PDM_START property: PDM to client {
start_code
atom value
}
Note: All "selection" communication is done
through the Selection X-Server, but the final
OK/Cancel ClientMessage still goes through
the Print X-Server, hebce the extra arrow.
PDM_MBOX property: PDM to client {
Window
window id
}
client_window
... for OK/CANCEL ...
requestor_window
property
selection_window
PDM_MANAGER selection atom
PDM_START target atom
PDM_MBOX target atom
PDM_MAIL type atom