Path: utzoo!attcan!uunet!samsung!rex!wuarchive!texbell!texsun!newstop!sun!wind!naughton From: naughton@wind.Eng.Sun.COM (Patrick Naughton) Newsgroups: comp.windows.news Subject: Re: What is needed in a "shell"-program Keywords: X shell program Message-ID: <138745@sun.Eng.Sun.COM> Date: 11 Jul 90 19:34:29 GMT References: <1990Jul11.144108.2220@resam.dk> Sender: news@sun.Eng.Sun.COM Reply-To: naughton@wind.Eng.Sun.COM (Patrick Naughton) Followup-To: comp.windows.news Distribution: comp Organization: Sun Microsystems, Inc. - Mountain View, CA Lines: 53 I think what you want is the following: "RESAM" MENU "OpenLook..." /home0/acct/andrew/X/OpenLook/OpenLook "RESAM" END By using the POSTSCRIPT keyword, you were trying to use NeWS operators to prepend the default location of the XView tools to the path of the executable you wanted to run, so xnews was trying to fork: ${XVIEWHOME}/home0/acct/andrew/X/OpenLook/OpenLook which is not what you wanted. -Patrick In article <1990Jul11.144108.2220@resam.dk>, andrew@resam.dk (Leif Andrew Rump) writes: |> We want to use _standard_ OpenLook from Sun as mush as possible - i.e. |> no reprogramming if the functionallity that is already there may be |> used even if it requires minor changes of the project. What I want to |> do is change the .openwin-menu-file so our applications may be started |> easily. But my applications don't seem to start! |> |> If I write: |> ... |> "RESAM" MENU |> "OpenLook..." POSTSCRIPT XVIEWHOME \ |> (/home0/acct/andrew/X/OpenLook/OpenLook) \ |> append runprogram |> "RESAM" END |> ... |> Then nothing happens, but if I write: |> ... |> "RESAM" MENU |> "OpenLook..." POSTSCRIPT XVIEWHOME \ |> (/bin/xview/cmdtool \ |> /home0/acct/andrew/X/OpenLook/OpenLook) \ |> append runprogram |> "RESAM" END |> ... |> The commandtool window pops up and starts my XView/OpenLook-application. |> Conclusion: I must be missing something that shell-programs like: sh and |> csh should do - what? (It's probably very simple I know!) |> |> Leif Andrew Rum ______________________________________________________________________ Patrick J. Naughton ARPA: naughton@sun.com Window Systems Group UUCP: ...!sun!naughton Sun Microsystems, Inc. AT&T: (415) 336 - 1080