Hangar.La tienda de software del Amiga

WBInfo

Bring up WB info requester from CLI window

Short:        Bring up WB info requester from CLI window
Author:       bsimpson@mcs.dundee.ac.uk (Bruce M. Simpson)
Uploader:     bsimpson mcs dundee ac uk (Bruce M  Simpson)
Type:         util/wb
Architecture: m68k-amigaos

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.
                ¯

Gratis

Descargar 4 KB

Desde el Amiga: abre Hangar y busca WBInfo.

Autorbsimpson@mcs.dundee.ac.uk (Bruce M. Simpson)
Categoríautil/wb
Tamaño4 KB
Param68k-amigaos
OrigenAminet