Article View: comp.sys.sun
Article #9172Re: Starting Sunview in SunOS 4.0
From: Peter Wetzel
Date: Thu, 10 Nov 1988 08:21
Date: Thu, 10 Nov 1988 08:21
35 lines
1645 bytes
1645 bytes
> I am attempting to start a program up in my .sunview file which needs a
> parameter with embedded blanks. For instance, it might look like:
> less '-P%f Hit return to continue' myfile
I don't know .sunview files but perhaps you mean .suntools. I had the same
trouble and worked around it by using a csh-script which is loaded in
.suntools:
.suntools:
shelltool -Wi -WL STARTUP -C sunstart
This sunstart-script does an additional job in finding out the right
screensize and then sources the start commands for the tools to be
displayed:
#! /bin/csh
#
# start up of suntool environment, allowing use of csh-features
# don't forget to use background processes!
#
if (`eeprom -i scrsize` =~ "scrsize=1600x1280") then
source ${HOME}/.suntools-large
else
source ${HOME}/.suntools-small
endif
#
echo 'This process will end in 30 seconds'
sleep 30
#
An additional feature is the use of environment variables in the start
commands. Pay attention that you have to background all processes with &.
romeo (Peter Wetzel), (UUCP) ...unido!iaoobel!wetzel
Fraunhofer Institute IAO, Stuttgart
Technical Details
Message-ID:
<2182@kalliope.rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!rice!sun-spots-request From: unido!iaoobel!wetzel@infix.iao.fhg (Peter Wetzel) Newsgroups: comp.sys.sun Subject: Re: Starting Sunview in SunOS 4.0 Message-ID: <2182@kalliope.rice.edu> Date: 10 Nov 88 08:21:24 GMT Sender: usenet@rice.edu Reply-To: Sun-Spots@Rice.edu Organization: Rice University, Houston, Texas Lines: 35 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 7, Issue 20, message 1 of 12