<®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±°³ [PWA] FILEVIEW PPE v2.2 ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> PWA Productions (C) BlackCat 1995 <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> This is an archive view PPE. It allows your users to view and flag files through lightbars and because it's a PPE and not a door pcboard @ macros and colors are also displayed. At this moment ZIP/ARJ and LZH compressed files are supported as are their SFX (self extracting executable) companions. Due to the fact that most people probably use PCBFV as their viewer (the only good pcboard viewer available, before PPEs that is :-) ) I've tried to keep the menu commands for this PPE the same as PCBFV, as far as possible. Version 2.0 is finally here. When I made the old version 1.0 I quickly went back to using good old pcbfv mainly because of the viewing speed and the archive support, as I just didn't have the time to keep working on my own viewer. But the lack of being able to view color codes and access some other functions while in the viewer kept annoying me so much that I felt forced to start working on my viewer again. This time I wanted more speed and archive support, and by jolly I got it :) Version 2.2 adds support for .IDX index files (the ones made by makeidx), so now you can view each and every file on your system. <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ DISCLAIMER ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> This software and manual are supplied "AS IS". The author hereby disclaims all warranties relating to this software and its documentation file, express or implied, including but not limited to damage to hardware, software and/or data from use of this product. In no event will the author of this software be liable to you or any other party for any damages. Your use of this software indicates that you have read and agree to these and other terms included in this documentation file. <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ INSTALLATION ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> þ Edit VIEW.CFG and make sure all the information is setup to reflect your system. You'll find all the necessary setup information in the VIEW.CFG itself. > Make sure you copy the VIEWZIP.EXE included in the PCB distribution > to the binary path you setup in VIEW.CFG, line 2. > Also make sure the following archives are in this directory: > > PKZIP.EXE/PKUNZIP.EXE - Tested with version 2.04g. > ARJ.EXE - Tested with version 2.41. > LHA.EXE - Tested with version 2.13. > RAR.EXE - Tested with version 1.55. þ Replace PCBTEXT prompt 557 with '!\view.ppe 557_'. þ Install VIEW.PPE as your view command in CMD.LST using any name you want. þ Replace your FLAG.PPE with one supplied in this package. No .CFG file is necessary anymore as in previous versions. Use FLAG.PPE if you've got a normal flag in use (3.0 and up). Use NFLAG.PPE if you're using my nuker v0.80 (and up). When using EFLAG 2.0 and up, use the EFLAG.PPE supplied with drew's package. You can also use PWAVIEW.PPE instead of eflag.ppe, but this is not recommended as this takes more memory. You don't need to copy a flag PPE for this, just install PWAVIEW.PPE in the PROMPT1.CFG and PROMPT2.CFG files. Make sure you keep PWAVIEW.PPE in the same directory as the viewer. þ If you also want to install this viewer at all places where pcboard shells to PCBVIEW.BAT (this still happens if the user uses 'F V' or when viewing an attached file etc) do the following: - Replace PCBVIEW.BAT with something like this: ------------------------ @echo off echo. >pcbview.txt echo %1 > bcfn.txt ------------------------ - Replace PCBTEXT prompt 242 with '!\view.ppe 242'. After this 'F V' and such should use the viewer. When using this method the internal VIEW.PPE file searching is bypassed as this is left to pcboard (this means that files in .IDX entries will also be found unlike the interal view.ppe search routines). Note: If you're having problems using prompt 557 you can try to use this method only, simply copy back your old flag PPEs instead of using the ones supplied here and the 'V' function should use PCBVIEW.BAT instead. Using the batch method is slower though due to the shelling which slows down the view process, but it's still usable. þ Make sure you have pcboard setup to 'swap out during shell' (pcbsetup/ configuration options/switches) if you're having memory problems. ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ That should be it. If you're running multi-node the ppe will automatically create the necessary correct temporary directories on the drive defined in view.cfg (line 4). <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ CONFIGURATION ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> The flagging and viewing options have a defineable maximum file limit which can be defined in VIEW.CFG. The default is 200, this should be enough, but can easily be increased if needed. Use VIEW.CFG to configure the extraction paths and so forth. If possible use a ram drive as the extraction/execution drive. This PPE has also been tested on OS/2 and seems to run fine. Use the VIEW.EXC file to define extensions to exclude in the VIEW/ FLAG lightbar, one extension per line. <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ ARCHIVE SUPPORT ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> At this moment the following compression formats are supported: PKZIP - Tested with version 2.04g. ARJ - Tested with version 2.41 LHA - Tested with version 2.13 RAR - Tested with version 1.55 If a file with an unkown extension is encounterd it is signature checked to ensure an archive is always recognized. Self extracting executables (EXE) of any of these formats are mostly recognized too as of version 2.2. VIEW should work with the version number reported, or higher versions (as long as memory permits it). It might work with previous versions, but no guarantees are given as it has not been tested with them. If there are formats missing from this list you'd like added just drop me a note, if there are enough requests for a certain format I'll add it. <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ VIEWER FUNCTIONS ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> The viewer allows you to view the list of files inside the archive, this is shown immediately after starting the viewer, and can be reshown at the menu with the 'L' (list) command. Seperate files inside the archive can be viewed with the R or W commands. The 'R' (read) command pops up a lightbar window where you can select the file you want to view by moving to it. The 'W' (wildcard) command prompts you for the filename(s) (wildcards allows) to view. At the main view menu you can select to flag some files by using the 'F' command. This will allow you to tag some files which are stored in a special flag-file and is tagged after you exit the viewer. The compression format for the flag file is ZIP. I didn't make this configurable because I don't think it will be any problem to always using the ZIP format for the flag-file. Other functions at the menu are 'E' to view some extra information for an archive. This actually only shows some worthwhile extra information on ZIPs. On ARJ's it shows the extended file list. On LZH files no extra information is available. <®Ä----ÄÄ-ÄÄÄ--ÄÄÄÄ-------ÄÄÄÄÄÄ--ÄÄÄÄÄ-------ÄÄÄÄÄÄ---ÄÄÄÄ-------ÄÄÄÄ----Äį> °±²Û²±°³ AUTHOR ³°±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²±° <®Ä------ÄÄ---ÄÄ-ÄÄÄÄÄÄÄÄ-------------ÄÄÄ---ÄÄÄ-ÄÄÄÄÄ----------ÄÄ--ÄÄ---ÄÄÄ-¯> If you find bugs, have any suggestions/additions you want, or simply want to register this PPE contact me at: +31-365362117 or mail me on internet at: an275793@anon.penet.fi. (the old anonymous address is invalid so if you emailed me something in the recent past please resend). ÄÄ EOF ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ