browse v0.92 by Kevin Hendrickson (hendric7@clunix.cl.msu.edu)

!!!!DR9 Enhanced!!!!
!!!!Now in this version! URL browsing!!!!

Description
-----------
browse is a Be application that does the opposite of add-ons like TermHere
(by Laurent Domenech) and TermHire (by Pierre Brua). It expects to be
launched from a terminal window and sends a BMessage to the Tracker or NetPositive
to open the requested directory or file or URL. If you launch it from the Tracker, 
it does nothing.

browse can be used with or without an argument. Without an argument, it simply
tells the Tracker to open a window on the Terminal's current working
directory. With a path argument, it tells the Tracker to open the directory or file
represented by the argument. If the argument cannot be resolved, it prints
an error message and a line showing proper usage. With a URL argument, it tells
NetPositive to access the URL. If the argument is -h, -H or -help you get the
command usage info.

Examples
--------
browse works with absolute and relative paths. Absolute paths must start
with /boot or /<name of your boot volume>. For example any of the following
commands will open a window onto the development folder containing the BeIDE
hierarchy on my boot drive:

$ browse /BeoWulf/develop
$ browse /boot/develop
$ browse /boot/dev*  

The following line will launch the application owning the file and open the file
within it:

$ browse browse.proj

browse accepts http, file, ftp and gopher based URLs.  NetPositive doesn't currently
accept gopher URLs, but maybe in the future NetPositive or some other browser will.
The next two lines will launch NetPositive, if not running already, and tell it to access
the resources.

$ browse http://www.be.com
$ browse file:///boot/documentation/BeBookDR9%20Folder/index.html

Installation
------------
You should put browse in a directory that is in your PATH environment like
/boot/bin. I have it in /boot/local/bin on my machine.

Bugs
----
One bug, acknowledged by Be, is that getcwd returns NULL instead of "/" when the
current working directory is /. Also the mime types haven't quite gelled yet in AADR9 so
occasionally you may find a file that is "unbrowseable". In other words no application will
be launched to open the file. So if you can't double click a file in the Tracker to open the
file, browsing it won't open it either, since browse just calls the Tracker and asks it to do it.

Miscellaneous
-------------
The latest version of browse can be found at:

Be's ftp site and http://museum.cl.msu.edu/~hndrcksn/Be/browse.html

This version has been updated for Advanced Access DR9 so it no longer creates a
BeApplication. Hopefully it will work with the real DR9. I thought of changing the name
to "track" since the Browser is no more, but a wave of nostalgia hit me, so the name
stays. :-) Also since it now talks to NetPositive, a legitiimate web browser, the name
makes sense again.

Questions, comments, flames, bug reports can be sent to:

hendric7@clunix.cl.msu.edu