home *** CD-ROM | disk | FTP | other *** search
-
-
- Public Beta Version #4 of
-
- fixfdir/2 - the ultimate filedir util for BBBS.
-
- -----------------------------------------------
-
-
- This is a program for generating a graphic representation of the
- directory structure in a File/4 BBBS system.
-
- ffd also includes a util which checks for the existance of all of the
- directories specified in the filedir.
-
-
- Files included in this archive:
-
- ffd.exe : OS/2 executable
- ffd-dll.exe : OS/2 executable (requires GCC/2 dll's)
- ffd-d.exe : DOS executable
- read.me : Useful information (this file)
- file_id.diz : File description In Zip
-
-
- ===============================================
-
- APPLICATION EXAMPLES:
-
- One smart application of ffd is to make it a 'part' of BBBS's File/4 system.
- With the help of ffd and a couple of scripts, you can issue a command
- ie. TREE from any file-dir when online in the BBBS and a full tree-structure
- from current file-dir will be shown.
-
- like this:
-
- (19:02) file:/os2> tree
- ROADMAP generated by fixfdir/2, beta #4, copyright (c) 9490.64 Stig Johansen
- /os2
- |- 4os2 4OS2 command interpreter
- |- com Communications programs
- | |- offl Offliners for OS/2
- | |- prog Communication programs
- | |- prot Communication protocols
- | `- util Communication utils
- |- disk Disk and file utilities
- |- misc General programs
- | `- pgp PGP w/utilities
- |- rexx REXX command language
- |- screen Display drivers and utils
- `- virus Virusscanners etc.
- (19:02) file:/os2>
-
-
- And here's the way to do it:
- 1. Put the command TREE into your error.bz and make it spawn the file TREE.
- Compile the error.bz file. :)
- 2. Make the file tree.bz and compile it.
-
-
-
- Sample error.bz:
- -------------------------------------------------
- function main($com,$tomenu)
- {
- /* tomenu: 1=read, 2=main, 3=util, 4=file, 5=chat, 128=join_no_access,
- 129=file_cd_no_access */
-
- switch ($tomenu) {
- case 1:
- case 2:
- case 3:
- case 4: {
- switch (parsecom("CLS/SDate/HIPPO$/FG/CG/TREE",$com)) {
- case 1: { printf("\e[2J"); break; }
- case 2: { spawn("sdate"); break; }
- case 3: { spawn("hippo$"); break; }
- case 4: { spawn("fg"); break; }
- case 5: { spawn("cg"); break; }
- case 6: { if ($tomenu==4) spawn("tree"); break; }
- case 255: { printf("%s\"%s\".\n",$bv_txt[23],$com); break; }
- }
- break;
- }
- case 128: { printf("%s\n",$bv_txt[22]); break; }
- case 129: { printf($bv_txt[629]); break; }
- default: printf("%s\"%s\".\n",$bv_txt[23],$com);
- }
- $bv_comstring="";
- }
- -------------------------------------------------
-
-
-
- Sample tree.bz:
- (Note: this requires \bbs\$bin\ffd.exe and the \bbs\$data\ directory)
- -------------------------------------------------
- function main() {
- var $file,$command;
-
- $file = sprintf("$data\\tree.%u",$bv_nodenumber);
- $command = sprintf("$bin\\ffd -Adr%s -f%s filedirg.000",$file,$bv_crrdir); system($command,0);
- showfile($file);
- remove($file);
- }
- -------------------------------------------------
-
-
- PROGRAM EXAMPLES:
-
- Example 1:
-
- ffd -drc:\file\roadmap c:\bbs\filedirg.000
-
- Will make a text roadmap with descriptions to the file c:\file\roadmap
- based on the filedir contained in the file c:\bbs\filedirg.000.
- Sample output:
-
- ROADMAP generated by fixfdir/2, beta #4, copyright (c) 9490.64 Stig Johansen
- /
- |- bbbs The ultimate system!
- | |- 08a BBBS 0.8a program files
- | |- util Utilities for BBBS
- | |- bz Scripts for BBBS
- | `- beta Utilities out for beta-testing.
- |- os2 OS/2 related programs
- | |- 4os2 4OS2 command interpreter
- | |- com Communications programs
- | | |- offl Offliners for OS/2
- | | |- prog Communication programs
- | | |- prot Communication protocols
- | | `- util Communication utils
- | |- disk Disk and file utilities
- | |- misc General programs
- | | `- pgp PGP w/utilities
- | |- rexx REXX command language
- | |- screen Display drivers and utils
- | `- virus Virusscanners etc.
- `- win Windows 3.x files
-
-
- Example 2:
-
- ffd -drc:\file\dos\roadmap. -f/os2 c:\bbs\filedirg.000
-
- Will make a text roadmap with descriptions to the file c:\file\dos\roadmap based
- on the filedir contained in the file c:\bbs\filedirg.000, BUT it will only
- show the structure FROM /os2 and out.
- Sample output:
-
- ROADMAP generated by fixfdir/2, beta #4, copyright (c) 9490.64 Stig Johansen
- /os2
- |- 4os2 4OS2 command interpreter
- |- com Communications programs
- | |- offl Offliners for OS/2
- | |- prog Communication programs
- | |- prot Communication protocols
- | `- util Communication utils
- |- disk Disk and file utilities
- |- misc General programs
- | `- pgp PGP w/utilities
- |- rexx REXX command language
- |- screen Display drivers and utils
- `- virus Virusscanners etc.
-
-
- Versions:
-
- 9490.64 Beta #4
- Added "startdir" -f option
- Added support for multiline descriptions
- Added ANSI colors -A option
- Fixed a bug with descriptions
- Fixed a bug (foobar output when not giving filename)
- 9490.15 Third beta
- Added support for descriptions
- Added support for private dir's
- 9489.86 Second beta of course
- First beta turned out to be a memory Hog!
- Fixed the DOS version
- 9489.59 First beta of new version
- Added ROADMAP function
- Added Yes/No function
- 9467.61 First version
-
-
-
- Author: Stig Johansen
- Karusveien 15
- N-1481 Hagan
- Norway
-
- BBBSnet: Stig Johansen@47:1000/101
- FidoNet: Stig Johansen@2:210/20
- SigNet : Stig Johansen@27:1347/106
- Skynet : Stig Johansen@47:300/110
- Internet : Stig.Johansen@f20.n210.z2.fidonet.org
-
- Or in the bbbs.talk (Norwegian) or bbbs.util (English) conference in
- the BBBSnet.
-
- Greetings goes to:
-
- * Rune for helping me (more like delaying me ;)
- * Tor Arne for great ideas
- * Torfinn Nome for finding a bug.
-
- Copyright notices:
-
- * BBBS is Copyright 1990,1992-1994, Kim Heino and Tapani T. Salmi.
-