home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / util / wb / WBInfo.readme < prev    next >
Text File  |  1996-01-05  |  2KB  |  54 lines

  1. Short:    Bring up WB info requester from CLI window
  2. Author:   bsimpson@mcs.dundee.ac.uk (Bruce M. Simpson)
  3. Uploader: bsimpson@mcs.dundee.ac.uk (Bruce M. Simpson)
  4. Type:     util/wb
  5.  
  6. This is a simple proglet to bring up the Workbench Information requester
  7. from the CLI. I wrote this because I fed up of getting away from the
  8. CLI just to 'get info' on something - hence this tiny utility.
  9.  
  10. It requires V39 workbench.library (which generally means Workbench 3 or
  11. above) and won't operate if Workbench isn't currently running - which is a
  12. shame really...  :(
  13.  
  14. It takes a single argument, and won't do any fancy stuff e.g.  pattern
  15. matching, multiple arguments, and opens the window on the default public
  16. screen.  I didn't really need these so I didn't put them in.  But I may
  17. well do the public screen thing sometime, if only to bring up a proper WB
  18. info requester from a shell running on the DirOpus 4.x public screen.
  19.  
  20. Caveats:
  21.  
  22. Won't back out correctly if you try to obtain information on a non-
  23. filesystem device, no memory lost, but funny lock behaviour.  Doesn't seem
  24. to harm the system though - but 'TurboList' generates spurious bad block
  25. errors when run.  I 'CD' back and it's fine - it seems to have CD'd to the
  26. SYS:  assignment, probably due to a NULL pr_CurrentDir.
  27.  
  28. This appears to be the only bug, apart from the fact that if you ask it to
  29. obtain info on an object, and the argument ends in '/', it won't work - I'm
  30. just using PathPart()/FilePart() and couldn't be bothered fixing it.
  31.  
  32.  
  33. It's 100% pure and reentrant. Make it resident NOW... (684 bytes of code)
  34.  
  35. Enjoy,
  36.  
  37.  __                   ___           _
  38. |__)         _  _    (__  .        (   _      | K is for Killer WWW Platform.
  39. |__) |~ (_) (_ (-    ___) | /\/\ P _) (_) |\| | L is for LightWave.
  40.                 ¯
  41.  
  42.  
  43. ============================= Archive contents =============================
  44.  
  45. Original  Packed Ratio    Date     Time    Name
  46. -------- ------- ----- --------- --------  -------------
  47.      371     208 43.9% 13-Sep-95 23:23:22 +SCOPTIONS
  48.      720     505 29.8% 13-Sep-95 23:24:40 +WBInfo
  49.     4685    1808 61.4% 13-Sep-95 23:24:46 +wbinfo.c
  50.     1324     817 38.2% 13-Sep-95 23:24:38 +wbinfo.o
  51.     1781     958 46.2% 13-Sep-95 23:29:00 +WBInfo.readme
  52. -------- ------- ----- --------- --------
  53.     8881    4296 51.6% 10-Dec-95 23:03:24   5 files
  54.