home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODS412.ZIP
/
ARCVIEW.MOD
next >
Wrap
Text File
|
1990-09-10
|
4KB
|
150 lines
Alleykat #1 @8352
Mon Sep 03 21:41:21 1990
Mod Name : AVIEWCOM.MOD
WWIV ver : v4.12
Author : Original Unknown
Updated : AlleyKat 1@8352
This is a great mod if you, like me, dislike the Archive functions that
come with the original WWIV software. When upgrading this change for
v4.12, I was amazed at what was left when I was finished. AviewCom is
an Archive Viewer/Extractor/Downloader that is written by a Third Party
and was originally developed for Wildcat BBS. I picked up the mod from
the Station Tender BBS in Ft. Lauderdale earlier this year and upgraded
the mod for v4.10 & v4.11 as we got the new releases.
Installation of this mod will require the you Download the file AVIEW##.ZIP
(where the ## represents the version, I have 37 and have not found a more
current version of the software yet). AlleyKats' Alley does have auto-
validation for SysOps, and do handle Modem speeds up to 19200. The phone #
here is 813-239-1339.
7Installation
Installing this mod is more of a deletion process then anything.
3Step 1.
6Backup your Source!
3Step 2.
Load up XFERTMP.C and go to the line
void download_temp_arc()
and delete from here to the end of the file. Yes, this is all the
source in this module. Nice huh? Block Read (^KR) the following
function back in.
/***** AVIEWCOM.MOD
* 3rd Party Archive Extractor/Viewer/Downloader
*****/
void temp_extract()
{
int i,a,ok,abort,ok1;
char s[81],s1[81],s2[81],s3[81];
uploadsrec u;
if (okansi())
a=1;
else
a=0;
dliscan();
nl();
pl("Extract view and/or read (EXACT Filenames only!):");
nl();
prt(2,"Filename: ");
input(s,12);
if (!okfn(s))
return;
if (s[0]==0)
return;
strcpy(s2,(directories[udir[curdir].subnum].path));
strcat(s2,s);
i=recno(s);
if (i>0) {
SETREC(i);
read(dlf,(void *)&u,sizeof(uploadsrec));
if ((compare(u.filename,"????????.ARC")) ||
(compare(u.filename,"????????.PAK")) ||
(compare(u.filename,"????????.ZIP")) ||
(compare(u.filename,"????????.LZH")))
ok=1; }
if (!ok) return;
if (incom)
/*6** N O T E ********************************
6 BE SURE AND CHANGE COM1 TO YOUR COMPORT IN THE FOLLOWING LINE
***/
sprintf(s3,"aviewcom %s com1 -a%d -p%s -t15",s2,a,syscfg.tempdir);
else
sprintf(s3,"aviewcom %s local -a%d -d -p%s -t15",s2,a,syscfg.tempdir);
/* puts(s3);
*/
shrink_out(s3,1,0,1,1);
closedl();
}
6Please make sure you change the com1 to whatever your com port is!!
Well, that was easy... ok.. there are, I am sure many of the includes,
externs and maybe the defines that can be removed as well in this module
now, but call me lazy.. I was tired and didn't get around to it this time.
Save it!! (F2).
3Step 3
Load up XFER.C search for and delete the function 2get_arc_cmd().
Save it!! (F2).
3Step 4
Load up BBS.C. Find the function 2dlmainmenu().
Delete the case statments for A, G and V. as they are all now performed
thru the E option. You will also need to update the Transfer Menu to
reflect this.
Save it!! (F2).
3Step 5
Load up FUNC.H. Delete the prototypes for the following functions:
(This step is not necessary but does clean up the code)
1For XFER.C
get_arc_cmd
1For XFERTMP.C
download_temp_arc
add_temp_arc
del_temp
list_temp_dir
list_temp_text
list_temp_arc
temporary_stuff
Save it!! (F2)
3Step 6
Now recompile the source. This should be a Build All.
3Step 7
Read and install AVIEW as per the great docs provided with it.
That should do it. I have used this mod nearly since I first got
the source. I have found that the serious downloaders appreciate it
because it allows Flagging of internal files in ZIPped files for down-
loading. The only drawback to this mod is that it does not change the
Download stats for the user. It supports Zmodem, Ymodem and Xmodem
transfer protocols. It works for both ANSI and non-ANSI users. I don't
mind the download ratio problem as most of my users that use this are
well within the range of maintaining a good to great ratio.
Hope you find it as useful and user-appreciated as I have. If you have
problems or questions pertaining to this mod, feel free to Email me or
call AlleyKats' Alley.
7AlleyKat 511@58352