home *** CD-ROM | disk | FTP | other *** search
- Aminet Database Example
- =======================
- Copyright © 1995 HiSoft Systems. All Rights Reserved.
- =====================================================
-
- This is an example showing the power and speed of Twist as well as the way in
- which you can use external programs to make finding, viewing or fetching files easy.
- This example uses 4 major functions of Twist - Workbench 3.x DataTypes, ARexx,
- calculations, & Relations. This example is not small and will not run fully on non 3.x
- machines (datatypes required), it almost certainly requires a hard disk or lots of
- memory. The example is designed to be a "real life" example of what you can do with
- Twist 2.
-
- The Aminet Data
- ===============
-
- The Aminet example uses the index file supplied with either the Aminet CD-ROMs or from
- an Aminet FTP site. Example Aminet data has been imported.
-
- ARexx
- =====
-
- This example uses considerable quantities of ARexx code and requires ARexx to be
- running before you can use the view, extract, or FTP functions. The viewer also
- uses ARexx for the file selectors.
-
- CD-ROM
- ======
-
- The example is designed mainly for CD-ROM users who have an Aminet CD, the default
- device used for accessing the CD is CD0: ; currently you can only change this by
- altering the field definitions. A good addition would be to have a Aminet CD database.
-
- Viewers
- =======
-
- The viewers database is used to contain data about the various viewer programs. A few
- example have been included for you to experiment with, obviously if you don't have one
- of the listed programs installed then the file will not be viewed. The viewer database
- could be extended to include not just visual players but also audio players.
-
- File Extraction
- ===============
-
- The ARexx scripts assumes that you have LhA (for LhA, LZH & ARC files), DMS (for DMS
- files) and LZX (for LZX files) added to the path list.
-
- Fonts
- =====
-
- The example uses Helvetica heavily, mainly in 11 & 13 points.
-
- File FTP
- ========
-
- The FTP ARexx requires that you are connected to your internet service provider and
- that a copy of AmiTCP's FTP is available at "AmiTCP:bin/ftp. The FTP functions
- obviously require reasonable internet & general Amiga knowledge, and these functions
- should make grabbing an Aminet file extremely easy. I would not advise editing the
- ARexx scripts unless you really know what you are doing. The ARexx scripts generate a
- script (RAM:FTP) which is then stuffed into FTP. This function has been tested and
- works well so long as the selected Aminet site is responding.
-
- Problems/errors
- ===============
-
- An error is generated after the FTP list has been purged, unfortunatly the file used
- to store the data for the FTP is locked by the datatype and so the file cannot be
- purged. This can be fixed by either rebooting or closing the DB and deleting
- ENV:AminetFTPGetList, then restarting the DB.
-
- When an FTP site fails to respond things can get a little out of control, hit Ctrl C
- in the output window and try fetching the files again.
-