home *** CD-ROM | disk | FTP | other *** search
- Bull Ship #1 @11132
- Mon Jun 05 20:33:57 1995
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name : BS01.423 Mod Author: Bull Ship 1@1 SierraLink │
- │ Difficulty : █▒▒▒▒▒▒▒▒▒ 1@11132 WWIVnet │
- │ WWIV Version : 4.24 1@2932 IceNET │
- │ Mod Date : 6/5/95 1@2932 TerraNET │
- │ Files Affected: BBS.C 1@22901 WWIVLink │
- │ Description : Phone off hook, Net Pending list, change KB to 2400 │
- └────────────────────────────────────────────────────────────────────────────┘
- ══[ Description ]═════════════════════════════════════════════════════════════
-
- The below MOD's are the very first things I change on every new version of
- WWIV. They are mostly Sysop help items.. things that will make your life
- easier.
-
- Note: None of these changes are dependent on the other, you can add or
- ignore whichever changes you wish.
-
- Features:
- Option of taking phone off hook when you quit BBS. Also takes phone offhook
- when you view your daily logs, net logs and Z log. Worst thing for a sysop
- is for his users to reach a ringing phone.
-
- Add the "Net Pending" list to Wardial (" . ") and Callout (" / "). I have
- over 75 connects, no way I can remember all those node numbers <grin>.
-
- Change the local modem speed in the last few callers from " KB " to " 2400 ".
-
- ══[ Legend ]══════════════════════════════════════════════════════════════════
-
- Add the lines indicated by the comment // added for BS01.424
- No existing lines of code deleted.
-
- ══[ Step 1 ]══════════════════════════════════════════════════════════════════
-
- Please back up your source code. Even the best programmers make mistakes.
-
- ══[ Step 2 ]══════════════════════════════════════════════════════════════════
-
- To take the phone offhook when you Quit the BBS.
- Open BBS.C and search for case 'Q'. (make sure the case 'Q' you found
- contains "end_bbs") Replace "case 'Q'" and "case 27:" with these case
- statements, or modify as shown:
-
- (case 27 is ESCAPE)
-
- case 'Q':
- outstr(get_string(1043)); // added for BS01.424
- if (ny()) { // added for BS01.424
- outstr(get_string(1650)); // added for BS01.424
- // string 1650 : Exit w/phone off hook?
- if (ny()) { // added for BS01.424
- holdphone(1); // added for BS01.424
- } // added for BS01.424
- end_bbs(QUIT_LEVEL);
- } else clrscrb(); // changed this line for BS01.424
- break;
- case 27:
- outstr(get_string(1043));
- if (ny()) { // added bracket for BS01.424
- outstr(get_string(1650)); // added for BS01.424
- // string 1650 : Exit w/phone off hook?
- if (ny()) { // added for BS01.424
- holdphone(1); // added for BS01.424
- } // added for BS01.424
- end_bbs(QUIT_LEVEL);
- } else clrscrb(); // changed this line for BS01.424
- break;
-
-
- Now for holding the phone for things like LISTing your daily log at WFC.
- in BBS.C search for "CASE 'L' and add as shown:
-
- case 'L':
- if (ok_local()) {
- holdphone(1); // added for BS01.424
- read_status();
- slname(date(), s);
- print_local_file(s,status.log1);
- holdphone(0); // added for BS01.424
- }
- break;
-
- Viewing your Network logs from WFC,
- Then search for CASE 'N' and again place as shown:
-
- case 'N':
- if (ok_local())
- holdphone(1); // added for BS01.424
- print_local_file("NET.LOG","NETDAT*.LOG");
- holdphone(0); // added for BS01.424
- break;
-
- Viewing Yesterdays log from WFC,
- Then search for CASE 'Y' and again place as shown:
-
- case 'Y':
- if (ok_local()) {
- holdphone(1); // added for BS01.424
- read_status();
- slname(date(), s);
- print_local_file(status.log1,s);
- holdphone(0); // added for BS01.424
- }
- break;
-
-
-
- Viewing your Zlog from WFC,
- Then search for CASE 'Z' and again place as shown:
-
- case 'Z':
- if (ok_local()) {
- holdphone(1); // added for BS01.424
- zlog();
- nl();
- getkey();
- holdphone(0); // added for BS01.424
- }
- break;
-
-
- ══[ Step 3 ]══════════════════════════════════════════════════════════════════
-
- Now to add a net pending list when doing a wardial (" . ") or when doing a
- callout (" / "), add the lines indicated below, and don't forget the bracket
- also indicated:
-
-
- case '/':
- if ((net_sysnum) && (ok_local()) && ok_modem_stuff &&
- ((instance==1) || (status.net_version>=34)) &&
- ((syscfgovr.com_ISR[syscfgovr.primaryport]<8) || (status.net_ver
- sion>=35))) { // added " { " for BS01.424 // wordwrap
- print_pending_list(); // added BS01.424
- force_callout(0);
- } // added BS01.424
- break;
- case '.':
- if ((net_sysnum) && (ok_local()) && ok_modem_stuff &&
- ((instance==1) || (status.net_version>=34)) &&
- ((syscfgovr.com_ISR[syscfgovr.primaryport]<8) || (status.net_ver
- sion>=35))) { // added " { " for BS01.424 //wordwrap
- print_pending_list(); // added BS01.424
- force_callout(1);
- } // added BS01.424
- break;
-
-
-
- ══[ Step 4 ]══════════════════════════════════════════════════════════════════
-
- When logging on from the local keyboard, the LASTON shows that the caller
- signed on from the keyboard. To change this, edit your BBS.STR using
- any string editor, go to string #1042. Change KB to whatever speed you'd
- to have shown. I change mine to read 2400.
-
- ══[ Step 5 ]══════════════════════════════════════════════════════════════════
-
- Done.. compile.
-
- ══[ Disclaimer ]══════════════════════════════════════════════════════════════
-
- Works on mine... I'm not responsible... if you have problems email me at the
- net addresses above and I'll try to help.
-