home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / 18437 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.4 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: sh/csh/tcsh and TMPDIR
  5. Message-ID: <ueauos8@zuni.esd.sgi.com>
  6. Date: 4 Jan 93 01:21:53 GMT
  7. References: <34854@adm.brl.mil>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 25
  11.  
  12. In <34854@adm.brl.mil> karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu)) writes:
  13. | How can I get the various shell commands to respect the value
  14. | in TMPDIR ?
  15. | sh keeps clogging up /tmp/ with
  16. | sh$PID temp files.
  17.  
  18. Sorry, but it is hardcoded in all 3 (both currently, and in the
  19. SVR4 code).  Same for ksh.
  20.  
  21. About all you can do is find a place with a name equally short
  22. and patch the binary ;)
  23.  
  24. I don't think it likely anybody will view it as worth the effort
  25. it would be to make the mods to do otherwise (you'd have to
  26. check the variable at startup, and also in the code where variables
  27. are set; not a huge amount of effort, but...)
  28.  
  29. You could ignore all files with the sh suffix in the main body
  30. of the script, and then check the sh* files with fuser to see
  31. if they are in use later on.
  32. --
  33. Let no one tell me that silence gives consent,  |   Dave Olson
  34. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  35.     Maria Isabel Barreno                        |   olson@sgi.com
  36.