Ŀ
   SLUSHOW and SLUSERS                             (c) Jim Davis   


        THIS IS FREEWARE.  Enjoy.  Send money if you want to, I won't
      argue.  However, he would like to know if you've found a good
      use for these programs -- he uses them a lot, but he also likes
      VMS.  Yuck!

       Created with Searchlight Programmer's Library
       Portions Copyright (c) 1994 Searchlight Software, Inc.
       (c) 1994 Jim Davis.

        THE AUTHOR GUARANTEES NOTHING EXCEPT THAT THIS PROGRAM WILL TAKE
      UP SPACE ON YOUR DISK.


   Explanation


        SLUSERS simply dumps the contents of the Searchlight USER file
      standard output, so you can either view it or redirect it to a file
      or another utility.

        SLUSHOW takes the output of SLUSERS and displays certain fields
      from it.


   Brief Syntax


        SLUSERS [/L] [//] [/D]
          /L - Display a header that explains what each field is, so long
               as /D isn't used.
          // - Uses the `/' character in dates instead of the `-' character.
          /D - Outputs strings surrounded by quotes, and each field
               delimited by commas.

        SLUSHOW [/list]
        SLUSHOW <field> [field [field [...]]]
          /list - Displays a list of fields that can be used.


   Examples of Output


        Running SLUSERS by itself will dump the entire user list like this,
      in a big 342-column line.  Here's what it'll look line in DOS:

------------------------
CHAD ROBERTS              TRASHMAN                  06-16-94 02-22-95 19:39   20
5 Cookeville, TN       Cray X          615-526-8120          J               S
00-00-00                                          F ZModem RPG        4 N  24 IF
 ABC EFGHIJKLMNOPQRSTUVW  254 254   0 1440  240 00-00-00 1425   637     0  3342
    0 PP   0 DEFAULT
------------------------
        Used with the /L switch, SLUSERS displays the list headed by 34
      lines of text that label the columns.  The bottom part of it looks
      like this:
Number of calls Ŀ
Last time on Ŀ     
Last date on Ŀ            
First date on Ŀ                    
Alias Ŀ                                        
Name Ŀ                                                               
                                                                         
     
------------------------
        Well!  Here's what the /D switch looks like.
------------------------
"CHAD ROBERTS","TRASHMAN","06-16-94","02-22-95","19:39",205,"Cookeville, TN",
"Cray X","615-526-8120","         J              ","S"," ","00-00-00","",
"F ","ZModem","RPG",4,"N",24,"I","F","ABC EFGHIJKLMNOPQRSTUVW ",254,254,0,
1440,240,"00-00-00",1425,637,0,3342,0,"P","P",0,"DEFAULT"
------------------------
        Kind of ugly, eh?  That's what SLUSHOW is for.  Here's a list of
      the fields it displays (from `SLUSHOW /list'):
------------------------
name                alias               firston             laston
lasttime            calls               location            systype
phoneno             pref                nosubprompt         nomsgprompt
lastmaildate        netaddrdata         netaddrtype         inproto
subboard            fproto              logmail             scrnsize
help                ansimode            attrib              msglevel
filelevel           ratio               timelimit           sesslimit
expiredate          timeleft            uploads             ulcount
downloads           dlcount             listformat          msgpause
msgfont             language


   How to use SLUSHOW with SLUSERS


        The most basic way is to pipe SLUSERS through SLUSHOW.

C:\> slusers | slushow laston name alias msglevel > output.txt

        That will make OUTPUT.TXT look like this:
------------------------
02-14-95 AARON PIEPMEIER           THE FROG                   10
09-19-94 AL MAYNARD                PSYCHO                     10
01-10-95 ALAN KIRBY                                           10
               .
               .
    [lots of lines taken out]
               .
               .
02-11-95 WILLIAM JUDD              THE RAVEN                  10
09-28-94 WILLIAM MOREFIELD JR.     BILL                       10
10-12-94 WILLIAM RALPH                                        10
------------------------
        Pretty cool, eh?  You can use it for lots of things.  I use the
      above as a sysop-door, except I use `phoneno' instead of `msglevel'.

        It's also handy for searches:
------------------------
C:\> slusers | slushow name alias phoneno | find "YTTRIUM"
TREY PIEPMEIER            YTTRIUM                   615-555-1212
------------------------


   Author's Address

        Jim Davis                   Hippie Commune BBS
        PO Box 103                  (615) 528-1800
        Baxter, TN  38544           FidoNet: 1:3637/2 
                                      SLNet: 250:312/1005
                                   InterNet: jad7084@tntech.edu

Please, feel free to send me mail if you have any trouble understanding 
this... I just got off work and I'm not too hot at writing instructions
to begin with.

