Newsgroups: comp.sys.hp48
Keywords: library librarian libra lib li l

I've seen alot of new hp users on this newsgroup asking how to get rid 
of libraries once they install them.  I finally got it straight 
myself, but decided to do it with a program.  Once you see the size of 
it (about a K) you'd probably say, "Gee whiz, 1K to do << DUP DETACH 
PURGE >> ? get outta here!"  The reason it's so big is all the menu 
stuff, and to make it exist as a single program.  Also because it's 
"user RPL". Sigh.
 
In the typical American fashion, this program is big, slow, and meets 
only the basic requirements (self-flame).  I'm kinda ashamed to 
exhibit it in a forum where so many sleek and sexy ML programs are 
commonplace, but hey -- at least it's good for a laugh if nothing 
else.
 
I haven't found any real bugs with it, but let me know if you do. 
(Yeah, like you'd even USE it...)
 
 
 
DLIB - library extraction utility.
 
Function:
 
Extracts libraries from current directory and leaves them on the 
stack, with simple menu interface.
 
 
Use:
 
You will generally want to go to the HOME directory first, since most 
people install libraries there.  Execute the program and you will see 
a list of installed libraries, and a cursor bar highlighting the first 
library.  If you have no libraries attached in that directory, the 
program tells you so and exits.
 
Move the cursor bar to the library you want to extract, using the up 
and down arrow keys, and press [ENTER].  After some weird convulsions, 
the library ends up detached and on the stack, and the list updates.  
If there are any more libraries attached, the program allows you to 
continue extracting, otherwise it tells you there are none and exits.  
Pressing the backspace key (fat leftward arrow) exits the program.  
[ON] also exits, but generally leaves some stuff on the stack.
 
If you try to extract a library that cant be extracted (try the ones 
on the Library Equation Card, for instance), the cursor bar blinks and 
nothing significant happens.
 
If you have more than 10 libraries attached, the list will extend 
beyond the screen, and moving the cursor bar down low enough will 
cause the screen to shift so that the others may be selected.  The 
list is also wraparound.
 
Here is the program ASC encoded.  Cut between the lines, set the hp IO 
setup parameters to ASCII and Translate Code: 3.  Transfer to the hp 
with Kermit. Use ASC-> to decode it once in your hp. (hopefully you 
have that program)
 
--------------------------------------------------------------------
 
%%HP: T(3)A(D)F(.); 
"D9D20E1632233A2472C133032233A2313C1D5032D9D204B2A2D241278BF18B9C 
13CE2278BF1AFE22D9D203F2A250FA1E4A20510003800000000000000E4A2051 
0006000000000000000614E1599A11C432D6E2010C6D6E2010E6D6E201026E16 
32E4A20510003800000000000000233A2D6E2010E6EEDA133920100000000000 
046050FA1F0CB1339201000000000000460EEDA1B9691102E147A20E4A205100 
00000000000000000E4A20510000000000000000000B21300F2E19C2A2D6E201 
0E60A132D6E201087634E1E4A20510000000000000000000E4A2051000600000 
0000000000D6E2010879C2A290DA1EEDA1ED2A2387C1D6E2010C6D6E2010873F 
2A2EEDA16C7D1B0BC1C2A20700000276BA1D6E2010C6D6E2010873F2A2EEDA19 
C2A290DA16C7D1B0BC176BA19C2A2DA5E1AE8C1634E1E4A2051000E100000000 
000000E4A20510006000000000000000D6E2010879C2A290DA1EEDA1ED2A2387 
C1D6E2010C6D6E2010873F2A2EEDA1ED2A290DA16C7D19C2A233920100000000 
0000020C58C19C2A2DA5E1AE8C1C4232743A2472C133032743A2313C1D5032D9 
D20D6E2010E6D4EB1E4A2051000000000000000000092CF13392010000000000 
0001050FA1D6BB1339201000000000000060EEDA1B9691ED2A2387C10F2E1634 
E1E4A20510000000000000000000E4A20510006000000000000000803A2A9CF1 
EEDA1ED2A2387C1D6E2010264E4E133032378A1F88E1D5032D9D20B213049632 
D6BB11C432D6E2010B6E1632D8732D9D20D6E2010B6339201000000000000530 
167E18A732D9D2078BF19C2A276BA1B21305DF22D6E2010B6339201000000000 
000520167E18A732D9D2078BF19C2A290DA1B21305DF22D6E2010B6339201000 
000000000550167E18A732D9D20233A25D2C1743A25D2C178BF1B21305DF22D6 
E2010B6339201000000000000150167E18A732D9D2044CF11C432D6E201046E1 
632D6E2010C692CF19C2A276BA13F2A2EEDA19C2A290DA16C7D1D6E2010C63F2 
A2A9CF19C2A276BA13F2A2EEDA16C7D1EB52278BF1FD332D9D2004B024563284 
E20704556D607C6962697632DCC0278BF1C7412EFE024563284E20704556D607 
C696269763204B024563284E20704556D607C6962697632EFE02743A25D2C1B2 
130F1732D9D2044CF1D6E20104690DA146CF178BF1B21305DF22EF532B21305D 
F2278BF1B21305DF22EF532DBBF1634E1E4A20510000000000000000000E4A20 
510006000000000000000803A2A9CF1EEDA1ED2A2387C1D6E2010264E4E18DBF 
1B213049632EF532B21305BF22D9D20233A25D2C13FBF1606E1C2A2015000E4F 
602C69626370216474716368656460247F6A03657272756E6470246962756364 
7F62797E29C2A2485A19C2A2F17A1B21305DF22B2130496328DBF193632B2130
EA11"
 
--------------------------------------------------------------------
 
Paul Smith 
v055qmd6@ubvms.cc.buffalo.edu 
smit3223@nova.gmi.edu