home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / ISRIP.ZIP / ISRIP.DOC < prev    next >
Encoding:
Text File  |  1993-08-05  |  2.1 KB  |  60 lines

  1. ISRIP v1.0
  2. Copyright (c) 1993 Randy Culler
  3. Mayberry BBS (919)-786-5653
  4.  
  5. Permission is granted for you to use and distribute ISRIP. Please distribute 
  6. only the unmodified archive. 
  7.  
  8. DESCRIPTION
  9.  
  10.    ISRIP is a program that reads the DOOR.SYS dropfile to detect whether the 
  11.    caller is using a RIP terminal. ISRIP returns a DOS errorlevel that can 
  12.    be used by batch files to take special action for RIP or non-RIP callers 
  13.    before running door programs. If RIP is not detected, ISRIP sets the DOS 
  14.    errorlevel to 1. If RIP is detected, it sets it to 2. 
  15.  
  16.    I wrote ISRIP to provide my Wildcat 3.9 BBS a method for using a RIP 
  17.    graphics Doors menu (totally graphical...no text window) while still using 
  18.    older doors that are not RIP aware. Wildcat does not establish a text 
  19.    window when it shells out to run a door, so I used ISRIP to detect a caller 
  20.    in RIP mode and enable my batch file to send the POSTRIP.RIP file to 
  21.    establish the text window before running the door. 
  22.  
  23. COMMAND LINE
  24.  
  25.    ISRIP takes one command line parameter that specifies the path to the 
  26.    DOOR.SYS file. Example command line:
  27.  
  28.    ISRIP \wc30\wcwork\node1
  29.  
  30. SAMPLE BATCH FILE
  31.  
  32.    I call the following batch file from all DOORXX.BAT files that may need 
  33.    special handling for a RIP text window:
  34.  
  35. REM------------------FIXRIP.BAT-----------------------
  36. isrip \wc30\wcwork\node1
  37. if errorlevel 2 goto NORIP
  38. if errorlevel 1 goto RIP
  39. goto NORIP
  40.  
  41. REM------RIP detected. Send the POSTRIP.RIP file out the com port.
  42. REM------  NOTE: WCREAD is a utility available on the MSI HQ BBS that
  43. REM------        sends a file out the com port with proper handshaking.            
  44. :RIP
  45. cd\wc30
  46. wcread postrip
  47.  
  48. REM------No RIP detected. Just return to calling progrm.
  49. :NORIP
  50. REM------------------End of FIXRIP.BAT------------------
  51.  
  52.  
  53. DISCLAIMER
  54.  
  55.   ISRIP has been tested only with Wildcat v3.9. It's suitability for use with 
  56.   drop files created by other software is not recommended. Use this software 
  57.   at you own risk. The author shall not be help liable for any intended or 
  58.   non-intended effects of this software on your data or your hardware.
  59.   
  60.