home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
HATCH
/
WWIVNEWS.ZIP
/
9505_3.NWS
< prev
next >
Wrap
Text File
|
1995-05-08
|
17KB
|
509 lines
Save XFEROVL.C
==============================================================================
┌────────┐
│ XFER.C │
└────────┘
Step 3a
-------
Find "void printinfo(uploadsrec *u, int *abort)" and add the following lines:
osan((okansi() ? "║" : "|"),abort,&next); /* search for */
if (u->mask & mask_free) /* ADD */
strcpy(s1,"FREE"); /* ADD */
else { /* ADD */
ltoa(bytes_to_k(u->numbytes),s1,10);
strcat(s1,"k");
} /* ADD */
if (!(directories[udir[curdir].subnum].mask & mask_cdrom)) {
strcpy(s2,directories[udir[curdir].subnum].path);
strcat(s2,u->filename);
if (!exist(s2))
strcpy(s1,get_string(741));
}
for (i=0; i<5-(int)strlen(s1); i++)
s[i]=32;
s[i]=0;
strcat(s,s1);
if (fc)
if (u->mask & mask_free) /* ADD */
ansic(9); /* ADD */
else /* ADD */
ansic(2);
osan(s,abort,&next);
Step 3b
-------
Find "int printfileinfo(uploadsrec *u, int dn)" and add the following lines:
outstr(get_string(746)); pl(stripfn(u->filename)); /* search for */
outstr(get_string(747));
outstr(get_string(748)); npr("%dk\r\n", bytes_to_k(u->numbytes));
outstr(get_string(749)); pl(ctim(d));
outstr(get_string(750)); pl(u->date);
outstr(get_string(751)); pl(u->upby);
outstr(get_string(752)); pln(u->numdloads);
if (u->mask & mask_free) /* ADD */
pl("Status : FREE File"); /* ADD */
nl();
abort=0;
Step 3c
-------
Find "int try_to_download(char *s, int dn,int title)" and add the following
lines:
while ((i>0) && (ok) && (!hangup)) { /* search for */
tleft(1);
f=sh_open1(dlfn,O_RDONLY | O_BINARY);
SETREC(f,i);
sh_read(f,(void *)&u,sizeof(uploadsrec));
f=sh_close(f);
nl();
if (title) {
outstr(get_string(784));
pl(directories[dn].name);
}
i1=printfileinfo(&u,dn);
if (strncmp(u.filename,"WWIV4",5)==0)
i1=1;
else {
if (!(u.mask & mask_free)) { /* ADD */
if (!ratio_ok()) {
return(-1);
}
} /* ADD */
}
Step 3d
-------
A little further down in the same function add the following lines:
sent=0; /* search for */
abort=0;
if (i1==-1)
send_file(s1,&sent,&abort,u.filetype,u.filename,dn, -2L);
else
send_file(s1,&sent,&abort,u.filetype,u.filename,dn, u.numbytes);
if (sent) {
if (!(u.mask & mask_free)) { /* ADD */
++thisuser.downloaded;
thisuser.dk += (int) (bytes_to_k(u.numbytes));
} /* ADD */
++u.numdloads;
Step 3e
-------
Find "void tag_it(void)" and add the following lines:
if (numbatch>=MAX_BATCH) { /* search for */
ansic(6);
outstr(get_string(1330));
npr("%d",MAX_BATCH);
pl(get_string(1331));
bad=1;
}
if(!(filelist[i].u.mask & mask_free)) { /* ADD */
if ((syscfg.req_ratio>0.0001)
&& (ratio()<syscfg.req_ratio)
&& (!thisuser.exempt & exempt_ratio)
&& (bad==0)) {
ansic(2);
outstr(get_string(730));
sprintf(s," %-5.3f. ",ratio());
outstr(s);
outstr(get_string(731));
sprintf(s," %-5.3f ",syscfg.req_ratio);
outstr(s);
outstr(get_string(732));
nl();
bad=1;
}
} /* ADD */
if (bad==0) {
sprintf(s,"%s%s",directories[filelist[i].directory].path,
stripfn(filelist[i].u.filename));
Save XFER.C
==============================================================================
┌─────────┐
│ BATCH.C │
└─────────┘
Step 4a
-------
Find "void downloaded(char *fn, long cps)" and add the following lines:
if (i>0) {
f=sh_open(dlfn,O_RDWR | O_BINARY | O_CREAT, S_IREAD | S_IWRITE);
SETREC(f,i);
sh_read(f,(void *)&u,sizeof(uploadsrec));
if (!(u.mask & mask_free)) { /* ADD */
++thisuser.downloaded;
thisuser.dk += (int) (bytes_to_k(u.numbytes));
} /* ADD */
++u.numdloads;
SETREC(f,i);
Step 4b
-------
Find "void batchdl(int mode)" and add the following lines:
void batchdl(int mode) /* search for */
{
int i,done,had,otag; /* DELETE THIS LINE */
int i,i1,i2,f,done,had,otag; /* ADD */
char s[81],ch;
uploadsrec u; /* ADD */
done=0;
if (numbatch==0) {
nl();
Step 4c
-------
A little further down in the same function, add the following lines:
case 'D': /* search for */
if (numbatchdl==0) {
nl();
pl(get_string(882));
nl();
done=1;
break;
}
nl();
for (i1=0; i1<numbatch; i1++) { /* ADD */
dliscan1(batch[i1].dir); /* ADD */
i2=recno((batch[i1].filename)); /* ADD */
f=sh_open(dlfn,O_RDWR | O_BINARY | O_CREAT, S_IREAD | S_IWRITE);/* AD
D */
SETREC(f,i2); /* ADD */
sh_read(f,(void *)&u,sizeof(uploadsrec)); /* ADD */
f=sh_close(f); /* ADD */
if (!(u.mask & mask_free)) /* ADD */
if (!ratio_ok()) {
nl();
pl(get_string(883));
nl();
done=1;
break;
}
} /* ADD */
nl();
prt(5,get_string(877));
Save BATCH.C
==============================================================================
┌─────────┐
│ BBS.STR │
└─────────┘
Step 5
------
>NOTE<
Change string 830 in BBS.STR to read as follows (without the quotes):
"Change info for this file (Q/Y/N/F)? "
Save BBS.STR
==============================================================================
Step 6
------
You must now recompile the ENTIRE BBS because you have added to VARDEC.H. Any
strings you see in this mod, may be removed and placed in the BBS.STR file,
with the appropritate "get_string(nnn)" added where the string was in the
code.
==============================================================================
───────────────┬─────────────────────────────────────────────┬───────────────
│ WWIV-Related FTP Sites │
│ by Jalapeno (2@14355) │
└─────────────────────────────────────────────┘
WWIV FTP Sites
This list was started by Jalapeno. I may be contacted at
jalapeno@xmission.com, 2@14355.WWIVNet, 2@8100.TerraNet, and 2@1.LoStNeT. This
listing is just different FTP sites that i've collected over the past year. I
can't guarantee that any of them are still active. If anyone has any sites
that I don't, let me know, and I will add them to the next update of the list.
Any special comments about the site will be noted..
FTP site address
ftp.xmission.com /pub/users/j/jalapeno/WWIV Run by Jalapeno
Run by Jalapeno. WWIV Utils, including JAFO, THDC, CMI, FMD, DreamWare,
RiP Grafix, etc.. This is one of the better sites out there. All files are
new.
ainet.com /pub/WWIV
Run by Chris, and Keeper Of The Matrix WWIV Utils, including JAFO, THDC,
CMI, and others. This is one of the better sites out there. All files are
new. Various network information can be found here.
helser66.res.iastate.edu /pub/WWIV
Run by Backlash Miscellaneous WWIV utilities. Good for the harder to find
stuff, various network information can be found here.
blackice.winternet.com /users/dcooper/WWIV
Run By Dale Cooper Miscellaneous WWIV utilities. Small, just started.
ftp.cybernetics.net /users/bennyhill/WWIV
Run By Benny Hill (not open as of 02/15/95)
plaza.aarnet.edu.au /micros/pc/oak/WWIV
SimTel Mirror
nic.switch.ch /mirror/msdos/WWIV
SimTel Mirror
romulus.ucs.uoknor.edu /bbs/msdos/WWIV /msdos/WWIV
SimTel Mirror, and misc. WWIV utils.
diable.upc.es /home10/mirror/oak.oakland.edu/SimTel/msdos/WWIV
SimTel Mirror
ftp.cyf-kr.edu.pl /pub/mirror/msdos/WWIV
SimTel Mirror
ftp.wustl.edu /pub/msdos_uploads/bbs_programs/WWIV
as of 02/15/95, the only items on here are warez people wanting source codes,
and flames towards WWIV, IMO, *don't use this site* it more than sucks. :P
───────────────┬─────────────────────────────────────────────┬───────────────
│ Dear Abby │
└─────────────────────────────────────────────┘
Another feature that has been suggested to me is a "Dear Abby" column- a place
where people can lighten up some. It will function just like the "Dear Abby
feature of WWIV, or the popular column in corporate newspapers by the same
name. Only difference will be, this will be a column done totally in fun. A
typical letter may read something like this....
Dear Abby,
Ever since I met Wayne Bell at the WWIV Convention in New Orleans last year, I
have not been able to get him out of my head. I look forward to every network
update...every Source-Verified Email he sends, every post he makes. I have an
entire directory devoted to him on my hard drive where I have captured every
post and email he has ever composed, and I have GIF's of him I have converted
into wallpaper for all my Windows applications.
Abby, how can I make Wayne how I truly feel about him? Do you think there is a
chance he will notice me? I am but a blip in so many other nodes in WWIVNet.
What can I do to get him to notice me?
Signed,
Random Wanderer
Please bear in mind ALL letters to Abby (a real person, not me) must be kept
in good taste, must be related to WWIV, and only the best ones will actually
see publication.
───────────────┬─────────────────────────────────────────────┬───────────────
│ Demographics- Just WHO │
│ ARE you? │
└─────────────────────────────────────────────┘
In an effort to see who is out there, I have written up a short poll. Please
take a moment to answer these questions and forward your answers back to me at
1@4051 WWIVNet, or 1@4904 ICENet. Please feel free to abstain from answering
any of them you choose to not answer.
1) How old are you?
Under 10
10-15
16-20
21-25
26-30
31-35
36-40
41-45
46-50
51-55
55-60
61-65
66-70
Over 70
2) What is your occupation?
Computer-related
Student
Fast Food
Technical (Chemist, Scientist, etc)
Professional (Doctor, Lawyer, etc)
Journalism/Media
Other (Please provide your occupation)
3) Into what annual income bracket do you fall?
Student
Not Disclosed
Under $10k/year
10-20k
20-30k
30-40k
40-50k
50-60k
60-70k
70-80k
80-90k
90-100k
100-150k
150-200k
Over 200k
4) What sort of music do you like the best? (Fill in the blank)
______________________
5) What operating system do you use?
DOS
OS/2
UNIX
Novell (DRDOS or Netware)
Windows NT
Windows 9x Beta
Other
6) What multi-tasker do you use (if applicable)
OS/2
Desqview
Netware
Lantastic
MS DOS 7.0 Beta
Windows NT
Windows 3.x
Other
7) Are you currently married?
8) How many children do you have?
9) Are you the sysop (#1 account) of a full-time BBS?
10) If you are a sysop and use WWIV as your primary BBS software, what version
are you currently using?
11) If you are not a sysop, what is your favorite type of BBS to call?
12) Essay Question: What was it in the past that you liked the most/least
about WWIVNews? This isn't really meant to be an either/or question. Please
indicate at least one item from each category (like/dislike) unless
of course you a) liked everything about it and would change nothing; or
b) hated everything about it, in which case I hope you will offer
suggestions as to what you would like to see different.
───────────────┬─────────────────────────────────────────────┬───────────────
│ Closing Thoughts │
│ Editor's Notes by Sam (1@4051) │
└─────────────────────────────────────────────┘
Hello Everyone! As you have undoubtedly realized by now, I have assumed,
from Omega Man, the position and duties of WWIVNews Editor. At this point,
I'd like to congratulate Omega Man on the outstanding job he has done with
WWIVNews over the past few years. Taking care of WWIVNews is no small task,
and Omega Man has excelled in doing so. I want to thank him for the help
and guidance he has provided me in our transition. I hope to continue the
fine tradition of quality established in WWIVNews by Omega Man.
I plan to keep the same basic format as you have come accustomed to with
WWIVNews. After talking with Wayne, there may be a few things change, mainly,
each issue of WWIVNews will probably be considerably smaller, but should be
released every six to eight weeks. It was also decided to try to focus it more
directly at WWIV-specific topics, while still keeping some articles that are
more technical in nature, and external to WWIV. For these items, I will be
relying on Omega Man's help.
I am looking forward to serving as your WWIVNews Editor. If there is/are any-
thing you would like to see published, discussed, talked about, resolved, or
whatever, please let me know. If you have "Letters to the Editor", please
send them to me (WWIVNet 1@4051, ICENet 1@4904, or samwwiv@aol.com on the
Internet). While I do intend to keep WWIVNews somewhat shorter in length
than in the past, I am in hopes future issues will be considerably larger
than this one. This issue is understandably smaller as it has not been widely
advertised that the editor position has changed hands, and as such, I have few
letters or articles at hand to include.
┌───────────────────────────────────────────────────────────────────────────┐
│ Closing Credits │
├───────────────────────────────────────────────────────────────────────────┤
│ WWIVNews is an independent newsletter published every 8 weeks as a service│
│ to the WWIV community of sysops & users. The opinions & reviews expressed │
│ herein are the expressed views of the respective writers, & do not necess-│
│ arily reflect those of the WWIVNews staff. Reproduction in whole or in │
│ part is allowed provided credits are given. All rights reserved by │
│ WWIVNews, and all articles are copyright of their respective authors. │
├───────────────────────────────────────────────────────────────────────────┤
│ The source site for WWIVNews is the Sam's BBS (409-729-1319 or 729-1418) │
│ WWIVNet Node @4051. Requests for information regarding articles & other │
│ editorial submissions, as well as back issue requests and the WWIVNews │
│ Writer's Guide, can be sent E-Mail to the WWIVNews editor, c/o 1@4051 │
├───────────────────────────────────────────────────────────────────────────┤
│ WWIV and WWIVNet, copyright 1986,1995 by Wayne Bell │
│ Any product or company mentioned or reviewed herein are copyrighted of │
│ their respective owners, creators, and other corporate pseudoentities. │
└───────────────────────────────────────────────────────────────────────────┘
To be is to do. -Sartre
To do is to be. -Nietzche
Do be do be do. -Sinatra