Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!rpi!uupsi!citib.com!scairns From: scairns@citib.com (Scott Cairns) Newsgroups: comp.lang.postscript Subject: Env Vars Message-ID: <1991May7.211628.5275@citib.com> Date: 7 May 91 21:16:28 GMT Sender: news@citib.com Reply-To: scairns@citib.com (Scott Cairns) Distribution: na Organization: US Card Products Group, Citicorp Lines: 29 Now that I've established the proper forum for postscript questions (thanks to the 200,000 replies to prior question)... We're running SunOS 4.1 with OpenLook 2.0 window manager. I want to modify the OpenLook init.ps file so that I can check the value of an environment variable (in postscript language of course) and take appropriate action. Something along the lines of: (1) get value of env variable (e.g. LOGO) (2) if (LOGO == 1) run some post-script file else continue on Not knowing post-script and not finding any sample post-script code in the ~openwin directory that does something like this, I was hoping for some suggestions... -- +-----------------------------------------------------------------+ | Scott Cairns email: scairns@bank.citib.com | | One Court Square / 27th Floor phone: (718) 248-5366 | | Long Island City, NY 11120 fax: (718) 248-6855 |