home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
LISTLOG.MOD
< prev
next >
Wrap
Text File
|
1990-03-27
|
3KB
|
86 lines
Parker Prospect #1 @9964
Fri Mar 23 23:35:09 1990
+---------------------------------------------------------+
+ List Logs While User Is OnLine +
+---------------------------------------------------------+
I have always wanted to view the sysop log as soon as I walk into my
room, but unfortunately sometimes a user on. Well, this mod will
allow ANYBODY at the local keyboard to hit Alt-L and call up the
LIST.COM utility and view the logs.
- PP March 23, 1990
************************************
************** Legend **************
************************************
* %% Delete Line *
* -- Search for Line, DON'T CHANGE *
* ++ Add Line *
* -+ Modify Line *
************************************
------------------------------------------------------------------------
Step #1 <CONIO.C>: Add/edit the following code in void skey.
-- void skey(char ch)
-- /* skey handles all f-keys and the like hit FROM THE KEYBOARD ONLY */
-- {
++ char s[255],s1[81];
-- int i,i1;
-- if (((syscfg.sysconfig & sysconfig_no_local) ==0) && (okskey)) {
-- if ((ch>=104) && (ch<=113)) {
-- set_autoval(ch-104);
-- } else
-- switch ((unsigned char) ch) {
++ case 38: /* Alt-L */
++ pr_wait(1);
++ savescreen(&screensave);
++ i=topline;
++ topline=0;
++ curatr=0x07;
++ clrscrb();
++ sl1(3, s1);
++ sprintf(s, "LIST %s%s %s%s %sNET.LOG", syscfg.gfilesdir, s1,
++ syscfg.gfilesdir, status.log1, syscfg.gfilesdir);
++ do_remote(s, 0);
++ restorescreen(&screensave);
++ topline=i;
++ pr_wait(0);
++ break;
-- case 59: /* F1 */
-- val_cur_user();
-- break;
------------------------------------------------------------------------
Final Step
Compile the BBS... and look for more mods by Parker Prospect!
------------------------------------------------------------------------
Disclaimer
I, Jeff Garzik, claim no liability for this mod, or for any damage that
may have resulted from the use of this mod. I also attach no
warranty, expressed OR implied, to this product.
BTW, if you like this mod, PLEASE send me a donation of $5 or more. I am
trying to save up for a USR 9600 HST, and being a 15-year-old high
school sophomore, I need all the support I can get.
Send donations to:
Jeff Garzik
117 Harrell St
Greenville, NC 27858
or call my board
The East Carolina Connection
919-756-2939 :::: 2400 baud MNP level 4
24hrs
Autovalidation of WWIV sysops (first call)
Thanks to Wayne Bell for writing such great software!