home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
FRANK10A.MOD
< prev
next >
Wrap
Text File
|
1996-01-08
|
4KB
|
153 lines
╔════════════════════════════════════════════════════════════╗
║ Mod Name: FRANK10A.MOD Author: Frank 1@1 DigiNet ║
║ Mod Difficulty: 1 ▓░░░░░░░░░ 10 1@8339 WWIVnet ║
║ <simple> 1@4065 TerraNet║
║ Files affected: COM.C 1@4065 ICEnet ║
║ ║
║ Desc: Animated pause function; 2400 aware. ║
╚════════════════════════════════════════════════════════════╝
Revision A:
Fixes bug if user hangs up at pause prompt; would lock up.
(thanks to Tonedef #1@5479.WWIVnet)
Now uses animated pause for all Local logons or logons above 2400 bps.
(thanks to Tonedef #1@5479.WWIVnet)
STEP 1:
Back up yer source code! Although it's almost impossible to screw this
up, I dont need any of you interrupting my time with Ann. :)
STEP 2:
Load COM.C and replace the void pausescr(void) with this one:
/****************************************************************************/
void pausescr(void)
/* This will pause output, displaying the [PAUSE] message, and wait for
* a key to be hit.
*/
{
int i,i1,i2,oiia,a;
char *ss,ch;
if (x_only)
return;
oiia=iia;
setiia(0);
ss=str_pause;
i2=i1=strlen(ss);
for (i=0; i<i2; i++)
if ((ss[i]==3) && (i1>1))
i1-=2;
if (okansi()) {
if ((atoi(curspeed)>2400) || (live_user)) {
a=50;
do {
npr("\x1b[255D");
prt(1,"pause9 ∙7· ·9∙ \x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(1," pause9 ∙7· ·9∙\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(9,"∙ 1pause9 ∙7· ·\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(7,"·9∙ 1pause9 ∙7· \x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(7," ·9∙ 1pause9 ∙7·\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(7,"· ·9∙ 1pause9 ∙\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(9,"∙7· ·9∙ 1pause \x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(9," ∙7· ·9∙ 1pause\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(9,"1e 9∙7· ·9∙ 1paus\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(9,"1se9 ∙7· ·9∙ 1pau\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(1,"use9 ∙7· ·9∙ 1pa\x1b[255D");
delay(a);
ch=inkey();
if (!ch==0)
break;
npr("\x1b[255D");
prt(1,"ause9 ∙7· ·9∙ 1p\x1b[255D");
delay(a);
ch=inkey();
} while ((ch==0) && (!hangup));
prt(9," \x1b[255D");
} else {
npr("\x1b[255D");
prt(7,"·9∙ 1pause9 ∙7· \x1b[255D");
getkey();
prt(7," \x1b[255D");
}
} else {
outstr(ss);
if (in_extern)
getkey();
else
getkeymouse();
for (i = 0; i<i1; i++)
backspace();
}
setiia(oiia);
}
/****************************************************************************/
STEP 3:
Recompile and you're off!
Let me know how it goes.. I've got an email address, #1 on @1.DigiNet,
@8339.WWIVnet, @4065.TerraNet, @4065.ICEnet.
peace,
Frank.DigiNet.NC