home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
TWIRPAUS.MOD
< prev
next >
Wrap
Text File
|
1990-09-01
|
2KB
|
92 lines
Harley Man #1 @8855
Tue Aug 28 17:36:54 1990
3----====From:7The BIKER'S BBS .7Phone #: 818-338-31303====----
/******************/
/* Double Twirly */
/* Cursor */
/* mod */
/******************/
/* What this mod does is it makes a < >PAUSE< > message with a twirly cursor
in each bracket thing... */
/* STEP ONE */
/* Load up COM.C and replace VOID PAUSESCR() with the following fuction... */
void pausescr()
/* This will pause output, displaying the <|>PAUSE<|> message, and wait for
a key to be hit. */
{
int i,pause;
if (okansi()) {
i = curatr;
setc((thisuser.sysstatus & sysstatus_color) ? thisuser.colors[3] :
thisuser.bwcolors[3]);
outstr(" \x1b[11D");
ansic(3);
outstr("< >Pause< >\x1b[2D");
do {
if (inkey()!=0)
break;
ansic(1);
outstr("|\x1b[9D");
outstr("|\x1b[7C");
if (inkey()!=0)
break;
ansic(1);
outstr("\\\x1b[9D");
outstr("\\\x1b[7C");
if (inkey()!=0)
break;
ansic(1);
outstr("-\x1b[9D");
outstr("-\x1b[7C");
if (inkey()!=0)
break;
ansic(1);
outstr("/\x1b[9D");
outstr("/\x1b[7C");
}
while(inkey()==0);
setc(i);
outstr(" \b\b\b\b\b\b\b\b\b\b\b \x1b[44D");
/*The rest of this is for the non-color users*/
} else {
outstr(" < >PAUSE< >\x1b[2D");
do {
if (inkey()!=0)
break;
outstr("|\x1b[9D");
outstr("|\x1b[7C");
if (inkey()!=0)
break;
outstr("\\\x1b[9D");
outstr("\\\x1b[7C");
if (inkey()!=0)
break;
outstr("-\x1b[9D");
outstr("-\x1b[7C");
if (inkey()!=0)
break;
outstr("/\x1b[9D");
outstr("/\x1b[7C");
}
while(inkey()==0);
outstr(" ");
for (i = 0; i < 44;i++)
backspace(); /*new end*/
}
}
/* This idea originally came from Golden Dragon, Remote Sysop of Phantasy
Zone 3, but his original mod didn't work, so I re-wrote it and I came up with
this...I probably wouldn't have ever finished this mod woothout Golden
Dragon's idea of using escape sequences to move the cursor, which I had
absent-mondedly forgot about...Oh well, Here's the mod