home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!ut-emx!utig.ig.utexas.edu!tbodine
- From: tbodine@utig.ig.utexas.edu (Tom Bodine)
- Newsgroups: comp.sys.sun.apps
- Subject: Re: Textedit/NEWSPrint leaving behind /tmp/hvtmp* files
- Message-ID: <83335@ut-emx.uucp>
- Date: 10 Nov 92 18:59:56 GMT
- References: <4258@copper.Denver.Colorado.EDU> <2284@dutiws.tudelft.nl> <4266@copper.Denver.Colorado.EDU> <Nov.5.15.12.04.1992.19800@pilot.njin.net>
- Sender: news@ut-emx.uucp
- Lines: 51
-
- In article <Nov.5.15.12.04.1992.19800@pilot.njin.net>, giacobbe@pilot.njin.net (Jeff Giacobbe) writes:
- |>
- |> I wish there was a way to delete those hvtmp files as part of the OW
- |> shutdown process, but I guess it's really HelpViewer that needs the
- |> bug fix (ahem.."feature").
- |>
- |>
- |> Regards,
- |>
- |> Jeff
-
- Well..
- You could add a couple of lines to $OPENWINHOME/lib/Xinitrc.
-
- IE. ( From openwindows version 3 Xinitrc )
- ----------------------------------------------------------------------------
- # .xinitrc - OpenWindows startup script.
-
- if [ -f $HOME/.Xdefaults ]; then
- xrdb $HOME/.Xdefaults # Load Users X11 resource database
- else
- xrdb $OPENWINHOME/lib/Xdefaults # Load Default X11 resource database
- fi
-
- $OPENWINHOME/lib/openwin-sys # OpenWindows system initialization
-
- # SunView binary compatibility is default mode.
- [ -z "$NOSUNVIEW" -o "$NOSUNVIEW" -ne 1 ] && eval `svenv -env`
-
- sleep 15 & pid=$! # OpenLook Window Manager
- olwm -syncpid $pid &
- wait $pid # Pause until olwm inits
-
- if [ -x $HOME/.openwin-init ]; then
- $HOME/.openwin-init # Custom OpenWindows tools
- else
- $OPENWINHOME/lib/openwin-init # Default OpenWindows tools
- fi
-
- wait # Wait for olwm (key client) to exit
-
- # clean out temporary files left by cmdtool, textedit, and shelltool
- rm -f /usr/tmp/*
- rm -f /tmp/*
- ----------------------------------------------------------------------------
-
- This is perhaps better for diskless stations so that /tmp files in use aren't
- deleted. Of course you'd have to change every user owned .xinitrc as well.
-
- regards Tom Bodine
-
-