AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/wb/WBInfo.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:Bring up WB info requester from CLI window
Author: bsimpson at mcs.dundee.ac.uk (Bruce M. Simpson)
Uploader:bsimpson mcs dundee ac uk (Bruce M Simpson)
Type:util/wb
Architecture:m68k-amigaos
Date:1995-12-11
Download:util/wb/WBInfo.lha - View contents
Readme:util/wb/WBInfo.readme
Downloads:658

This is a simple proglet to bring up the Workbench Information requester
from the CLI. I wrote this because I fed up of getting away from the
CLI just to 'get info' on something - hence this tiny utility.

It requires V39 workbench.library (which generally means Workbench 3 or
above) and won't operate if Workbench isn't currently running - which is a
shame really...  :(

It takes a single argument, and won't do any fancy stuff e.g.  pattern
matching, multiple arguments, and opens the window on the default public
screen.  I didn't really need these so I didn't put them in.  But I may
well do the public screen thing sometime, if only to bring up a proper WB
info requester from a shell running on the DirOpus 4.x public screen.

Caveats:

Won't back out correctly if you try to obtain information on a non-
filesystem device, no memory lost, but funny lock behaviour.  Doesn't seem
to harm the system though - but 'TurboList' generates spurious bad block
errors when run.  I 'CD' back and it's fine - it seems to have CD'd to the
SYS:  assignment, probably due to a NULL pr_CurrentDir.

This appears to be the only bug, apart from the fact that if you ask it to
obtain info on an object, and the argument ends in '/', it won't work - I'm
just using PathPart()/FilePart() and couldn't be bothered fixing it.


It's 100% pure and reentrant. Make it resident NOW... (684 bytes of code)

Enjoy,

 __                   ___           _
|__)         _  _    (__  .        (   _      | K is for Killer WWW Platform.
|__) |~ (_) (_ (-    ___) | /\/\ P _) (_) |\| | L is for LightWave.
                ¯


Contents of util/wb/WBInfo.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  208     371  56.1% -lh5- 1249 Sep 13  1995 WBInfo/SCOPTIONS
[generic]                  505     720  70.1% -lh5- 4841 Sep 13  1995 WBInfo/WBInfo
[generic]                 1808    4685  38.6% -lh5- 2c11 Sep 13  1995 WBInfo/wbinfo.c
[generic]                  817    1324  61.7% -lh5- b56b Sep 13  1995 WBInfo/wbinfo.o
[generic]                  958    1781  53.8% -lh5- 34c5 Sep 13  1995 WBInfo/WBInfo.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    4296    8881  48.4%            Dec 11  1995
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>