home *** CD-ROM | disk | FTP | other *** search
- From: akcs.kirkland@hpcvbbs.cv.hp.com (Daniel B. Kirkland)
- Date: Fri, 8 Jan 1993 18:40:02 GMT
- Subject: Re: Library Trouble
- Message-ID: <2b4dc78b.2603.2comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!news1.boi.hp.com!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.kirkland
- Newsgroups: comp.sys.hp48
- References: <C0JLMA.EsE@cs.dal.ca> <2b4dbe8a.2603.1comp.sys.hp48.1@hpcvbbs.cv.h
- Lines: 46
-
- Garth,
-
- It is possible to have a library ATTACHED to more than
- one directory (for example your HOME directory and some
- subdirectory). If so the library must be DETACHED from
- each directory that it is ATTACHED to.
-
- This can be checked by using the LIBS command on the
- second page of the MEMORY menu. It will return a list
- of all the librarys ATTACHED to the current directory.
- (there can only be one library ATTACHED to any subdirectory)
-
- Also, make sure the library is not referanced by the HP.
- (a copy of the library on the stack or in LAST STACK,
- LAST ARG, LAST CMD)
-
- Most libraries will automaticly ATTACH themselves to the
- HOME directory when they are stored in a port and the HP
- is turned off and back on again. And seeing that a library
- that is ATTACHED to your HOME directory, is also visible
- in any subdirectory. It does not make much sense to have
- a library ATTACHED to both your HOME directory and a
- subdirectory.
-
- To avoid this problem, first store the library in a port,
- then turn the HP off and back on again.
- Second, DETACH the library from your HOME directory.
- Then ATTACH the library to the desired subdirectory.
- (the library will then be visible only in that directory
- and all of its subdirectories.)
-
- THERE IS ONE PROBLEM!
- Many (most?) libraries will reattach to your HOME directory
- at the next warmstart.
- (Like when you store another library)
- So the library may be ATTACHED to two directories anyway.
-
- There are some programs (libraries) avaliable that will help
- to avoid this problem.
- (config aborting or config supressing libraries)
- (somewere at seq.uncwil.edu)
- (sorry I can't tell you exactly were)
-
- hope this is of some help!
-
- dan k
-
-