home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp48 / 6919 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.8 KB  |  41 lines

  1. Nntp-Posting-Host: bert.cs.byu.edu
  2. Lines: 28
  3. Path: sparky!uunet!gatech!news.byu.edu!news
  4. Message-ID: <su#@byu.edu>
  5. Date: Mon, 11 Jan 93 16:37:47 MST
  6. From: dougc@bert.cs.byu.edu (Douglas R. Cannon)
  7. Organization: BYU, Provo, Utah
  8. Newsgroups: comp.sys.hp48
  9. Subject: Re: Library Trouble
  10. References: <C0JLMA.EsE@cs.dal.ca> <*u#@byu.edu>
  11.     <2b51bf3b.2603.5comp.sys.hp48.1@hpcvbbs.cv.hp.com>
  12.  
  13. In article <2b51bf3b.2603.5comp.sys.hp48.1@hpcvbbs.cv.hp.com> akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson) writes:
  14.  
  15. >I HAVE seen libraries that intentionally do not self attach.  This is
  16. >probably so that the user can attach the library to whatever directory he
  17. >desires.  This might be advantageous if you only wanted to be able to run
  18. >a certain library from a certain directory.
  19.  
  20. True, but even a library that has no config object (and thus does not
  21. intentionally attach itself to the HOME directory) will be automatically
  22. attached to the HOME directory at the next warm start.
  23.  
  24. So, if you want to only execute certain library functions from a certain
  25. directory, then you would attach that library to that sub-directory.  Then,
  26. those library functions would only be visible in that sub-directory.  However,
  27. at the next warm start the library is attached to the home directory (and
  28. also stays attached to your sub-directory) and now your library commands are
  29. visible everywhere.
  30.  
  31. The only solution that I see (with my limited understanding) is to create
  32. a library that expressely detaches itself from the HOME directory at each
  33. warm start.  This is great unless the user actually WANTS it to be attached
  34. to the HOME directory.
  35.  
  36. Heck, I dunno.  Any other thoughts?  It makes this whole attach-detach
  37. thing look pretty useless to me since all libraries end up being attached
  38. to the HOME directory eventually.  Am I missing something?
  39.  
  40. Doug
  41.