home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / uploads / zquirk.doc < prev    next >
Encoding:
Text File  |  1994-09-02  |  3.0 KB  |  49 lines

  1. Example No. 1,178,666 of how to get into trouble with a fancy computer system
  2. -----------------------------------------------------------------------------
  3.  
  4. Hey, Z freaks, it seems that GET can't load files stored in a COMMAND.LBR 
  5. file.  I had assumed that GET and GO were essentially a simple separation of 
  6. the load-the-file and execute-the-file halves of a normal command execution 
  7. sequence.  Apparently this isn't quite the case, in that GET doesn't seem 
  8. to be able to search for the requested command file down through ALIAS.CMD 
  9. and then into a COMMAND.LBR.  GET turns out to be simple minded as Z system 
  10. tools go, in that it wants the .COM file to be out "above" the ECP's.
  11.  
  12. I concede this ain't much of a problem--all you lose by making sure all files
  13. used in aliases or ZEX routines that employ GET is a wee bit of disk space.  
  14. It's more of an aesthetic irritant; I dislike having Z system features that 
  15. entail potentially fatal consequences if the user doesn't heed some sort of 
  16. exception warning, as in "this works fine unless you try..."
  17.  
  18. If you are dumb enough to do what I did, and accidently ask your Z System to 
  19. try to get, poke and go with a file that's not actually there, obviously the 
  20. system will attempt to execute code that has been more or less whimsically 
  21. altered, and all sorts of strange and horrible things may happen.  I have 
  22. this one small old program (Ward Christensen's CAT.COM) which I use in a 
  23. variety of spin-off versions via get-poke-go routines to generate different 
  24. kinds of listings.  These entail poking the text that CAT uses to label the
  25. columns in its output.  I wrote these routines about a year ago and ever 
  26. since I've just used them automatically; details about how they worked sort
  27. of faded away...  
  28.  
  29. So, a couple of days ago I was doing some routine system maintenance, and 
  30. happened to notice CAT.COM sitting by itself in the ROOT.  Now if I'd had 
  31. my head screwed on tight, I would have realized that there had to be a good 
  32. reason why the program wasn't stored with about 125 other small routines
  33. that I keep in a COMMAND.LBR file, but NOOOOO, I just up and shoved CAT.COM
  34. into the library...  Earlier tonight, I called upon one of these get-poke-go 
  35. routines.  It hung the system.  "That's odd," I thought, not realizing that
  36. I'd unmaintained my system two days earlier.  I fooled around trying to 
  37. figure out what was wrong and realized I was using one of the get-poke-go
  38. aliases, so I tried another.  BIIIIG mistake; this one made my aging hard 
  39. disk emit VERY angry noises...  Fortunately no permanent damage seems to
  40. have been done.
  41.  
  42. So be forewarned.  In case it matters, this happened on a Morrow MD-5 using 
  43. Z3PLUS.  Maybe this small quirk can be fixed in some future RCP?
  44.  
  45. Best regards to all/Dick Ellis/21 10th Brunswick MD 21716/301 834 7976
  46.  
  47. Uploaded to Znodes 1, 2, 3 and 32 during the wee hours of the night of
  48. December 2-3 1989
  49.