home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / twinopus / install.help < prev    next >
Encoding:
Text File  |  1995-07-15  |  14.3 KB  |  320 lines

  1. TwinOpus AREXX Scripts Installation Procedure.
  2. ==============================================
  3.  
  4. Documentation Additions By Ray Abram
  5. on 15 / 12 / 1994
  6.  
  7. First you need to set up the environment for Twin and DOpus to work 
  8. together.
  9.  
  10.  
  11. The AREXX scripts require that an extra 2 handlers be active in your Amiga.
  12.  
  13.  
  14. For Users of WB2.0 and WB1.3 if you have AREXX installed)
  15.  
  16. 1) Copy the File Mountlist.twinopus into your Devs: dircetory
  17. 2) Add the following 2 lines to your Startup-Sequence just 
  18.    before the Loadwb command:-
  19.      Mount PPIPE: from devs:mountlist.twin
  20.      Mount Queue: from devs:mountlist.twin
  21. 3) Ensure the name of your RAM: does not have a space in it
  22.    ** if it does (Amiga Dos calls it "Ram Disk"), then twin cannot use it)
  23.     - use the command "ReLabel Ram: RamDisk" to fix the name.
  24.  
  25. For Users of WB2.1 and higher
  26.  
  27. Copy the Files in DOSDrivers into your directory devs:DOSDrivers
  28. Copy the Files in L          into your directory L:
  29.  
  30. The last thing to do is get your Amiga to respond to double clicks from DOpus
  31. to enter directories...
  32.  
  33. In your User-Startup file, enter the following Command:-
  34. run >NIL: rx >NIL: REXX:DOpus/TwinHandler.rexx
  35.  
  36. One other thing that needs to be checked, is that the command,
  37. RexxMast, is in your file Startup-Sequence, just before your User-Startup
  38. file is executed...
  39.  
  40.  
  41. Cache Directory Setup
  42.  
  43. The new Directory caching in this version of TwinOpus needs to be setup
  44. as follows :-
  45.  
  46. TwinOpus needs to be told where you would like the Cached Dirs to reside. This
  47. is achieved by adding the following assign to your User-Startup sequence
  48.  
  49. Assign TwinDirs: XXXXX
  50.  
  51. Where XXXXX is the name of the Directory where you would like the Cached Dirs
  52. to be saved. (usually a Dir on your Hard-Drive)
  53.  
  54. Now copy in the files from the "TwinDirs" directory of the archive to the 
  55. Assigned Directory you created above. These are the Root Directories of the CD's
  56. that I have. This will help get you started with the Twin-OPus package...
  57.  
  58. ** Version 3 of These Scripts introduced Cached Dirs.
  59.     The filename of the Cached Dir is made up of the name of the Dir in question
  60.     -  Due to the filename limit of 30 characters in AmigaDOS, I have truncated
  61.        these names down to use the first and last character of the path names
  62.          eg ~RAM:Clipboards  -> `RM:CS
  63.     -  ** Version 3A and 3B, did not have the path truncation, so you need to run
  64.        an AREXX program to convert your old filenames to the new format.
  65.        - At a CLI type:-   rx rexx:dopus/redo_names.rexx
  66.          - *** ensure that the Assign TwinDirs exists before you run this AREXX
  67.                program, else it will have no effect.
  68.                - if you accidentally run the program twice, don't worry. The
  69.                   program finds a file called "Redo_Complete", and terminates!!
  70.  
  71. Now ReBoot your Amiga, and the additions to your Amiga's environment are
  72. all complete now...
  73.  
  74.  
  75. Now we need to put the Arexx scripts used by this system into your
  76. Arexx directory...
  77.  
  78. Copy the scripts in the DOpus Directory to REXX:DOpus
  79.  - They MUST be put into the directory!!
  80.  
  81. Now we need to Setup DOpus to use the AREXX scripts and communicate with
  82. Twin to make all those Comms worries go away...
  83.  
  84. If you haven't got DOpus running, run it now...
  85.  
  86. Now run DOpus's Configuration editor... 
  87.  (usually the Config option in the Project Menu)
  88.  
  89. On my DOpus, I use a mixture of Menus and Buttons to run Twin ARexx
  90. scripts in...   So the next few paragraphs will describe how to set up
  91. your DOpus like mine...   I suggest that you follow my setup recomendations,
  92. and once you have the hang of how it is done, change your DOpus configuration
  93. to what ever you feel...
  94.  
  95. To Get DOpus to start using Twin and get comms going, you need to get DOpus
  96. to ask Twin to enter a directory and give DOpus the directory requested...
  97.  
  98. In the Configuration editor, select "Menus"
  99. 1) Add a new Menu called "Twin Stuff"
  100. 2) Now Click on the First Item of the new menu...
  101. 3) Enter the Name of the Menu as "EnterDir ~CD0:"
  102. 4) Select New Entry
  103. 5) Click on the Ring "Command" until it says "ARexx"
  104. 6) Click on the Text Gadget to the Right of this...
  105. 7) Enter "REXX:DOpus/ReadDir.rexx ~CD0:" into the text gadget
  106. 8) Select OK to accept this and go onto entering the next command...
  107.  
  108. Repeat the above 8 steps for any other device that you want
  109.   eg for IBM's you could have items for ~C: ~D:
  110.  
  111. You must also have entries for your local drives... so add these
  112. and you are now ready to proceed to the next step...
  113. Select OK to go back to the Main menu of the Config editor...
  114.  
  115. Now to configure some buttons to handle the main bulk of the Twin Opus comms
  116.  
  117. In the Configuration Editor, Select "Buttons"
  118.   - you will need several free buttons to do this properly, or
  119.       alternately, you could put these options into the menus also.
  120.  
  121. How to setup a Copy AREXX script...
  122. 1) Click on a free button
  123. 2) Enter the following text by the Name text gadget "T Copy"
  124.     - this reminds you that this is the Twin copy button...
  125. 3) Click on the Ring "Command" until it says "ARexx"
  126. 4) Click on the Text Gadget to the Right of this...
  127. 5) Enter "REXX:DOpus/CopyFile.rexx XXXX" into the text gadget
  128.   *** note DO NOT type the XXXX, this is where you enter in some options...
  129.     CopyAs This will prompt you for a new destination filename
  130.     Delete This will delete the source file (Acts like a Move command)
  131.     Wait   This tells the Arexx script to wait for the file to be copied
  132.            before getting Twin to copy the next File
  133.  
  134. Thus the Script for "T CopyAs" is "REXX:DOpus/CopyFile.rexx Wait CopyAs"
  135.                     "T Move"   is "REXX:DOpus/CopyFile.rexx Wait Delete"
  136.                     "T MoveAs" is "REXX:DOpus/CopyFile.rexx Wait Delete CopyAs"
  137.  
  138.   - options can be in any order and But they MUST be separated by a space
  139. 6) Select OK
  140.  
  141. How To set up a Delete AREXX script...
  142. 1) Click on a free button
  143. 2) Enter the following text by the Name text gadget "T Delete"
  144.     - this reminds you that this is the Twin Delete button...
  145. 3) Click on the Ring "Command" until it says "ARexx"
  146. 4) Click on the Text Gadget to the Right of this...
  147. 5) Enter "REXX:DOpus/DeleteFile.rexx" into the text gadget
  148. 6) Select OK
  149.  
  150. The same procedure is used to enter the rest of the scripts used :-
  151.  
  152. for Making Directories in the selected Directory 
  153.  - enter "T Mk Dir" Arexx command =  "REXX:DOpus/MakeDir.rexx"
  154.  
  155. To drop back a Directory
  156.  - enter "T Parent" Arexx Command =  "REXX:DOpus/Parent.rexx"
  157.  
  158. To Rename the Selected files
  159.  - enter "T Rename" Arexx command =  "REXX:DOpus/ReName.rexx"
  160.  
  161. To goto the Root Directory of the current file list
  162.  - enter "T Root"   Arexx command =  "REXX:DOpus/Root.rexx"
  163.  
  164. To ReRead the Current Directory
  165.  - enter "T ReRead" Arexx command =  "REXX:DOpus/ReRead.rexx"
  166.  
  167. ** If you are running out of Buttons on the Button Bank, then you could create
  168.    another button bank and put all of the buttons there. Also now that all of
  169.    the arexx commands for TwinOpus detect if you are trying to use them with
  170.    on DOpus Directory Lists and will call the DOpus command instead of the
  171.    TwinDopus command. Note for some reason (Bug in DOpus) the CopyAs does not work
  172.  
  173.  
  174. Thus concludes the set up adjustments to DOpus...
  175.  - so save your configuration file for DOpus now...
  176.  
  177. Additional Dopus support that you need to set up for:-
  178. - If you Double click on a file, then if that file has a recognisable extension
  179.   then that file is Viewed (View "TypeFile.rexx" to see what files are supported)
  180.    - This support doesn't come with out certain system requirements:-
  181.       - You must have T: assigned some where (This is usually assigned to RAM:T)
  182.          - As this is assigned to RAM:, you must ensure that you have enough free
  183.            RAM to handle the file that you want to View. (If not then assign T:
  184.            to a place on your Hard Drive/Floppy Drive. ie Assign T: DH0:Trashcan)
  185.       - Graphics files are viewed with VeiwTek, so ensure that "VT" is some where
  186.         in the Amiga's path. (Putting it into C: will do fine)
  187. - *** if there is an extension that you want support for, then add it in youself.
  188.       - the script (TypeFile.rexx) explains how to do this
  189.  
  190. Now you need to setup Twin... Enter the following command at a CLI prompt,
  191.  or add it to your favourite tool manager...
  192.  
  193. Twin <PPIPE: >Queue:twin ser XXXXXX
  194.  
  195. where XXXXXX is the speed for twin to use    eg...
  196. 115200 for talking to IBMs and A500's (IBM XT's use 57600)
  197. 250000 for talking between Amigas with 68020's or better
  198. 190000 for an accelerated amiga with 5 metre cable extension   etc...
  199.  
  200. alias tw  run >nil: twin <PPIPE: >QUEUE:twin
  201. alias tw19 run >nil: twin SER 190000 <PPIPE: >QUEUE:twin
  202. alias tw25 run >nil: twin SER 250000 <PPIPE: >QUEUE:twin
  203. alias tws run >nil: rx Rexx:DOpus/TwinHandler.rexx
  204. alias tstop rx Rexx:DOpus/StopTwinHandler.rexx
  205.  
  206. The last allows you to quit twin express.  tws allows you to restart
  207. twin without having to reboot.
  208.  
  209. Now run Twin on the Remote...
  210.  - a message saying Comms has been established should appear...
  211.  
  212. You are now all set to use the Twin-OPus ARexx scripts
  213.  
  214.  
  215. *** important note:
  216.      if you try to delete files on a write protected drive (ie CD0:) then an
  217.      error will occur. The Amiga version of Twin will report an error, BUT
  218.      the IBM version of Twin will crash out to the dos prompt !!
  219.      SO DO NOT try to delete files on a Write Protected Drive !!
  220.  
  221.  
  222. A list of Features that this Utility provides to the user :-
  223. - If you Double-Click on a Directory, then that directory is Entered into.
  224. - Directories are now sorted Dirs then Files, both in Alpha-numeric order
  225. - Double clicking on a file will View/Play that file
  226. - As files are being copied, a progress report is written to DOpus's title
  227.   bar. (This option can be enabled/disabled by the WAIT parameter
  228.   of CopyFile.rexx)
  229. - All scripts will not work with filenames that have Spaces in them (This
  230.   is a bug in Twin). Thus all scripts will reports errors if you try to
  231.   copy a file with Spaces in the filename.
  232. - Support for Click-M-Click and Click-H-Move, the problem is that DOpus reports
  233.   the same Event for both, so a requestor pops up asking you to select the
  234.   action that you want.
  235. - Caching of Directories read by this package.
  236.   - This means that once you have read a Directory, the information that was
  237.     given to DOpus for the Directory listing is stored in a file. So, when
  238.     you come back to this directory at a later time, the directory information
  239.     is very quickly loaded from the caching file and given to DOpus.
  240.   - The problem is that the information stored in a Caching file can become
  241.     incorrect (eg: a file in the directory was deleted). So you will need to
  242.     ReRead the directory information. So use the ReRead.rexx macro to do this.
  243.      - note the characters stored by the caching system replace
  244.               : (a device name)   -> =
  245.               / (a dir seperator) -> \
  246.         *** thus if a dir name contains these characters, then the caching
  247.             logic will become confused and not work...
  248.   - Files containing the cached dirs are stored in directory t:twindirs,
  249.     if you do a lot of directory reads then you may use up quite a bit
  250.     of ram. So if you notice your ram getting a bit low, then delete some
  251.     of the caching files. 
  252.       - files to delete are anything that does not end with a ;
  253.   - If you want to keep Cached Dirs of CDROM's for later use, then save the
  254.     files in T:TwinDirs to a place on your Hard Drive  or Floppy drive. Then
  255.     when you want to use the Cached Dirs at a later date, copy them back into
  256.     the directory T:TwinDirs
  257.   - As the filename in AmigaDOS is limited to 30 characters, the directory names
  258.     that you can cache also have a limit of 30 characters.
  259.  
  260. - Twin files lists and DOpus File lists can now be used with with each other.
  261.   ie: the need to have both windows being controlled by twin has been removed.
  262. - As files have been acted upon, the file is de-selected
  263. - The following commands will work with DOpus or TwinDopus directory Lists
  264.       - Root.rexx
  265.       - Parent.rexx
  266.       - ReRead.rexx
  267.       - Rename.rexx
  268.       - Delete.rexx
  269.       - CopyFile.rexx   
  270.    So if you by mistake press the button to act on a DOpus list, the operation
  271.    will still work, just as if you had clicked on the correct button...
  272.      i.e. they are direct replacements for the DOpus commands
  273.            *** For some reason (not my fault) the CopyAs dos NOT work !!
  274.                It seems to me that this is a bug in DOpus itself ???
  275.  
  276. Common Problems with Twin Opus Scripts
  277. ======================================
  278.  
  279. - When I Select "Enter ~CD0:" from the Menu, nothing happens
  280. Possible Solutions:
  281.   - Is Twin Started on both machines
  282.   - Is the Cable plugged in properly at both ends...
  283.   - Have you started RexxMast
  284.   - Is the Remote Machine prompting you to do something
  285.   - Have you launched the TwinHandler.Rexx script
  286.      -this needs to be running before you run Twin, DOpus or RexxMast
  287.   - Have you run Twin with the proper parameters
  288.   - Are the Twin's running on both machine running the same baud rate
  289.   - Ensure that the remote Twin has successfully connected to you machine
  290.   eg the remote machine writes a message saying a connection has been established
  291.  
  292. - The Twin Directory seems to not want to work any more, but it used to work
  293. Possible Solutions:
  294.  - do a ReRead on the directory, as these scripts some times get confused...
  295.  
  296. - I deleted a file a while ago, and the file seems to have come back.
  297.   - The cached Dirs have not been updated, so do a reread of the dir in question
  298.  
  299. - When I copy a file, TwinOpus reports the Error :-
  300.    Error: Unknown Filename  -> FILENAME
  301.   - The Cached Dirs need ReReading, as they have got missing/extra entries in them
  302.  
  303. - There are entries in the Directory listing that have no file lengths, and File
  304.   lengths that have no filenames. This is a fault of Twin. As Twin gets confused
  305.   with filenames that are longer than 25 Characters in length
  306. Possible Solutions:
  307.   - Rename the Files to a shorter Filename and Re-Read the Twin Directory.
  308.  
  309. - I deleted a Directory, but the Directory is still there
  310. Solution
  311.  - Twin CANNOT delete directory Trees. It can only delete all files within a Tree
  312.  
  313. - I entered a directory, but the wrong information was displayed
  314. Solution
  315. - this can arise from the optimization on the directory names
  316.   eg     ~NetWorkCD:Images/Fractals => converts to => ~NetWorkCD:IS/FS
  317.     and  ~NetWorkCD:Images/Flowers  => converts to => ~NetWorkCD:IS/FS
  318.   - so you can see the algorithum is not perfect, but will work most of the time
  319. - Thus do a ReRead.rexx on the dir that is wrong, and the correct data will appear.
  320.