Milana Huang (mhuang++at++eecs.uic.edu)
Mon, 17 Apr 1995 06:10:29 -0500 (CDT)
My setup:
Performer 1.2 with Irix 5.3 on an Onyx with 8 processors,
3 Reality Engines and Triple Keyboard Option installed
(supports 3 monitor/keyboard pairs for the 1 Onyx).
My problem:
I would like my Performer program to open 3 windows, 1 on each
display/monitor. With Triple Keyboard Option I can no longer use
scrnselect() to do that. Each pipe is now a separate display -
:0, :1, :2 (each with only ONE screen).
My attempted fix:
Use putenv().
My routine I send to pfInitPipe() looks essentially like this:
void OpenPipeline(pfPipe * p)
{ putenv(StaticEnvVariable);
/*StaticEnvVariable set to DISPLAY=:num where num is 0,1, or 2 */
sleep(5);
prefposition(0, XMAX_96HZ, 0,YMAX_96HZ);
noborder();
foreground();
winopen("");
stereobuffer();
doublebuffer();
gconfig();
pfInitGfx(p);
}
But doesn't do the trick. All the windows pile up on the same monitor.
Please let me know a work around or if this is not possible with
Triple Keyboard Option installed.
Thank you very much,
Milana
___________________________________________________________________________
Milana Huang Electronic Visualization Lab
mhuang++at++eecs.uic.edu University of Illinois at Chicago (M/C 154)
(312) 996-3002 851 S. Morgan, room 1120 SEO
(312) 413-7585 FAX Chicago, IL 60607-7053
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:17 PDT