andrew@resam.dk (Leif Andrew Rump) (07/11/90)
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 Rump, AmbraSoft A/S, Stroedamvej 50, DK-2100 Copenhagen OE, Denmark
UUCP: andrew@ambra.dk, phone: +45 39 27 11 77 /
Currently at Scandinavian Airline Systems =======/
UUCP: andrew@resam.dk, phone: +45 32 32 22 79 \
SAS, RESAM Project Office, CPHML-V, P.O.BOX 150, DK-2770 Kastrup, Denmark
> > Read oe as: o <backspace> / (slash) and OE as O <backspace> / (slash) < <
naughton@wind.Eng.Sun.COM (Patrick Naughton) (07/12/90)
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