[comp.unix.ultrix] DPS/prompter problems

ccsam@bullwinkle.ucdavis.edu (Sam McCall) (01/19/91)

i'm trying to get Xprompter to put up an arbitrary postcript
file on the screen when it starts up, and have been able to
do so with limited success.

the entry in /etc/ttys i'm using is as follows:

# local
:0 "/usr/bin/login -P /home/ccsam/bin/Xprompter -C /usr/bin/dxsession -e "
none on secure window="/usr/bin/Xtm2d -su"

the file /home/ccsam/bin/Xprompter is an executable shell script with
the following contents:

#!/bin/sh
exec /usr/bin/Xprompter -xrm '*initializeDPS: true' -xrm '*logoFile: /home/ccsam/foo/s.ps' $*

/home/ccsam/foo/s.ps is a reasonable postscript file.  it does successfully
put this picture on the screen, and brings up the prompter window.  when
i log in, however, Xprompter gives me an error box that's empty, but does
contain an acknowledgement button.  the only thing you can do is press the
ack button, and when you do, the prompter wedges and doesn't let you do
anything more (except for the clear button, which of course starts the
whole process all over again (-;)

so, where am i screwing up?  or, is this really, honestly, a bug in the
Xprompter?

any help would be much appreciated...

-sam