On Thursday, June 5, 2003 4:59 pm, Tommy Wareing wrote:
> I'm writing a utility which is invoked on a Solaris box, by a dtksh
> script (which I can't modify).
What kind of X server are you using? XFree86 doesn't come with anything calld
XtInitialize or XtDisplay, so I don't know if we can help you.
> The dtksh script includes the two lines:
> XtInitialize TOPLEVEL printerConfig Dtlp "${@:-}"
> XtDisplay DISPLAY $TOPLEVEL
>
> after which $DISPLAY has been set to 0xd9158
I guess that could be a network name, maybe... (what kind of network are you
chaps using?), but it doesn't include the traditional :0 or :0.0 or whatever
at the end, indicating which server and which screen on the host.
printerConfig?? What's Dtlp? Also, what value does $TOPLEVEL have at this
point?
> Our man pages inform me that XtDisplay returns the display pointer for
> the specified widget, but that's the limit of my knowledge. They seem
> to be standard lines from the dtksh examples, so presumably these
> aren't as destructive as they look at first sight.
>
> Is there anyway I can retrieve the original value of $DISPLAY, and
> open new windows?
Have you checked to see if that DISPLAY works as-is?
You might want to contact your local system administrators, if you need help
understanding and working with otherwise-untouchable system scripts.
--
Andy Goth | [EMAIL PROTECTED] | http://ioioio.net/
End communication.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86