go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Closed REQ 5254]: files that geomview makes


  • To: software@geom
  • Subject: Re: [Closed REQ 5254]: files that geomview makes
  • From: "Stuart Levy" <slevy>
  • Date: Sun, 19 Feb 95 14:52:32 -0600

This might do as a workaround:

Edit  Geomview.app/modules/next/.geomview-ginsu, which probably reads:

(emodule-define "Ginsu" Ginsu.app/Ginsu)

to make it contain instead:

(emodule-define "Ginsu" "trap 'rm -f /tmp/ginsu.*' 0 1 2 15; Ginsu.app/Ginsu")

The "trap" stuff is Bourne shell code to remove any stray /tmp/ginsu.* files
once the module either exits or is killed.  Note the apostrophes (forward, not
backquotes) surrounding 'rm -f /tmp/ginsu.*'.

[Note: I haven't tried this, but it seems as though it should work.]

Of course this will only prevent new stray /tmp/ginsu's from appearing;
you'll still have to remove any pre-existing /tmp/ginsu.* files now.
Rebooting each NeXT should erase them if you can't become super-user easily.

I think this won't be an issue for the Mathematica->Geomview (and
Maple->Geomview) linkages.  The /tmp directory is specially marked "sticky"
(cd /tmp; ls -ld yields "drwxrwxrwt  2 root        4096 Feb 18 17:13 .")
so only the owner of a file in /tmp can remove it.  But, /tmp/geomview
is not sticky, so anyone can mess with anyone else's files there.


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo