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 >
Text File  |  1990-03-27  |  3KB  |  86 lines

  1. Parker Prospect #1 @9964
  2. Fri Mar 23 23:35:09 1990
  3.           +---------------------------------------------------------+
  4.           +             List Logs While User Is OnLine              +
  5.           +---------------------------------------------------------+
  6.  
  7. I have always wanted to view the sysop log as soon as I walk into my
  8. room, but unfortunately sometimes a user on.  Well, this mod will
  9. allow ANYBODY at the local keyboard to hit Alt-L and call up the
  10. LIST.COM utility and view the logs.
  11.                                     - PP March 23, 1990
  12.  
  13.                      ************************************
  14.                      ************** Legend **************
  15.                      ************************************
  16.                      * %% Delete Line                   *
  17.                      * -- Search for Line, DON'T CHANGE *
  18.                      * ++ Add Line                      *
  19.                      * -+ Modify Line                   *
  20.                      ************************************
  21.  
  22.  
  23. ------------------------------------------------------------------------
  24. Step #1 <CONIO.C>: Add/edit the following code in void skey.
  25.  
  26.  
  27. -- void skey(char ch)
  28. -- /* skey handles all f-keys and the like hit FROM THE KEYBOARD ONLY */
  29. -- {
  30. ++   char s[255],s1[81];
  31. --   int i,i1;
  32.  
  33. --   if (((syscfg.sysconfig & sysconfig_no_local) ==0) && (okskey)) {
  34. --     if ((ch>=104) && (ch<=113)) {
  35. --       set_autoval(ch-104);
  36. --     } else
  37. --       switch ((unsigned char) ch) {
  38. ++         case 38: /* Alt-L */
  39. ++           pr_wait(1);
  40. ++           savescreen(&screensave);
  41. ++           i=topline;
  42. ++           topline=0;
  43. ++           curatr=0x07;
  44. ++           clrscrb();
  45. ++           sl1(3, s1);
  46. ++           sprintf(s, "LIST %s%s %s%s %sNET.LOG", syscfg.gfilesdir, s1,
  47. ++                   syscfg.gfilesdir, status.log1, syscfg.gfilesdir);
  48. ++           do_remote(s, 0);
  49. ++           restorescreen(&screensave);
  50. ++           topline=i;
  51. ++           pr_wait(0);
  52. ++           break;
  53. --         case 59: /* F1 */
  54. --           val_cur_user();
  55. --           break;
  56.  
  57. ------------------------------------------------------------------------
  58. Final Step
  59.  
  60. Compile the BBS... and look for more mods by Parker Prospect!
  61.  
  62. ------------------------------------------------------------------------
  63. Disclaimer
  64.  
  65. I, Jeff Garzik, claim no liability for this mod, or for any damage that
  66. may have resulted from the use of this mod.  I also attach no
  67. warranty, expressed OR implied, to this product.
  68.  
  69. BTW, if you like this mod, PLEASE send me a donation of $5 or more. I am
  70. trying to save up for a USR 9600 HST, and being a 15-year-old high
  71. school sophomore, I need all the support I can get.
  72.  
  73. Send donations to:
  74.  
  75.   Jeff Garzik
  76.   117 Harrell St
  77.   Greenville, NC 27858
  78.  
  79. or call my board
  80.  
  81.   The East Carolina Connection
  82.   919-756-2939 :::: 2400 baud MNP level 4
  83.   24hrs
  84.   Autovalidation of WWIV sysops (first call)
  85.  
  86. Thanks to Wayne Bell for writing such great software!