home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
MODEM.MOD
< prev
next >
Wrap
Text File
|
1992-01-29
|
3KB
|
88 lines
MODEM OUTPUT RESTRICT MODIFICATION
By The Captain of the White Star Line (@2370)
With helpful advice from Shai-Hulud (@3101)
Quite simply, this mod will allow you to use your computer in privacy while a
user is on-line. By hitting Ctrl-F3, you will send a [WAIT] string to the user,
then the modem output will be cut off. You can then do whatever you want -
UEDIT, LOG, BOARDEDIT, etc. and the user will see nothing until you hit
Ctrl-F3 again.
In CONIO.C, look for void skey and add the following case block:
------------------------------------------------------------------------------
case 96: /* Ctrl-F3 */
if (outcom) {
pr_wait(1);
incom=0;
outcom=0;
} else {
outcom=1;
incom=1;
pr_wait(0);
}
break;
_______________________________________________________________________________
MODIFICATION FOR WWIVnet AND HAYES 9600 V-SERIES MODEMS
by Ed Dial - #1 @6550
This mod will clear the problem with the Hayes 9600 modems and networking.
Presently, when the network function finishes, it leaves the RTS line clear,
which stops any input from the modem on a high-speed login. This will fix
that along with giving you the function to toggle RTS from software.
-------------------------------------------------------
In COM.C Add the following lines:
void rts(int i)
{
int i1;
i1 = inportb(base + 4) & 0x00FD;
outportb(base + 4, (i || 0) ? (i1 + 2) : i1);
}
(This gives you the capacity to toggle RTS (i.e. rts(1) will set RTS,
rts(0) will clear RTS))
------------------------------------------------------
In FCNS.H add the line
void rts(int i);
------------------------------------------------------
In BBS.C position on void answer_phone()
Add rts(1); at the + sign.
= void answer_phone()
= {
= char ch,s[81],s1[81];
= int i,i1,done;
= double d;
=
= outs("Answering phone, 'H' to abort.\r\n");
= pr1(syscfg.answer);
= done=0;
= d=timer();
=
+ rts(1);
= do {
= if (fabs(timer()-d)>45.0) {
= pr1("AT{");
-------------------------------------------------------
Compile this, set Flow Control in the INIT setups to
YES, make sure the modem (Hayes) is set &K3, n' Rock n'
Roll!!
_______________________________________________________________________________