home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_133.PZH / PLST-133.DOC < prev   
Text File  |  1991-09-20  |  4KB  |  105 lines

  1. OS/2 version of Parselst v1.33, ported by Bill Andrus, 1:109/301.
  2. Also available as an updated DOS version.
  3.  
  4.  
  5. Version 1.33:
  6. Note:   This program was modified on 09/20/91 to incorporate Ron Bemis'
  7.         updates to permit COMPACT compilation.
  8.  
  9.  
  10. Version 1.32:
  11. Note:   This program was modified on 04/13/91 to process the following
  12.         nodelist flags (exactly as shown) to create the specified MODEMTRANS
  13.         value for BinkleyTerm:
  14.         HST  =   1  (Already present)
  15.         PEP  =   2  (Already present)
  16.         V32  =   4
  17.         V32b =   8
  18.         H96  =  16
  19.  
  20.         These are NOT the exact same as the Beta 1.32, so be careful.
  21.  
  22.         Be careful with these, the values are accumulative, not exclusive.)
  23.  
  24.  
  25. Version 1.31:
  26. Note:   This program was modified on 05/08/90 to handle >9 consecutive
  27.         digits in phone number strings, and the version number was bumped
  28.         up at that time.)
  29.  
  30.  
  31. If FIDOUSER.LST is specified, then a program conforming to the following
  32. command line must be provided:
  33.  
  34. QSort FIDOUSER.$$1 /+1:41 /-61:5 /-41:13 /+55:6
  35.  
  36. Where each field is defined by /osc:nc where o=+ (ascending) or -
  37. (descending) and sc=starting col, nc=number of cols.
  38.  
  39. Numerous problems with the original code were discovered, especially
  40. with null pointers causing Trap 0D hits.  This code will now compile with
  41. -W4 with very few cranky and dubiously obvious warnings in PARSELST.C, and
  42. without the STDIO.C and LOWLEVEL.ASM actually generated a full Rev 6
  43. Nodelist on my system faster under OS/2 than the stock version under
  44. PC-DOS 4.01 does.  MUCH faster!
  45.  
  46. I still strongly recommend that DOS users use EDITNL before invoking
  47. PARSELST to perform NODELIST resolution.  For OS/2 users that don't have
  48. an EDITNL version available, here's how I use PARSELST.
  49.  
  50. Here's my LISTGEN.CMD using ARC2.EXE and this PARSELST.EXE for OS/2:
  51.  
  52. @Echo Here we go...
  53. @Echo off
  54. REM Start with Current NODELIST.A* in D:\Tmp, possible new NODEDIFF.A*
  55. REM in C:\Bink\Inbound.  Compile NODELIST.* in C:\Bink\Nodelist, then
  56. REM if new NODELIST, Archive it to D:\Tmp, and delete all NODELIST from
  57. REM C:\Bink\Nodelist, and any NODEDIFF.
  58. Set BBS=C:\Bink
  59. Set BINKLEY=C:\Bink\
  60. Set EXPMSG=2400
  61. Set FILE=C:\Bink\Inbound
  62. Set IN=C:\Bink\Inbound
  63. Set MAIL=C:\Bink\Mail
  64. Set OUT=C:\Bink\Outbound
  65. C:
  66. CD \Bink\Nodelist
  67. If Exist Node*.* Del Node*.* >Nul:
  68. If NOT Exist %FILE%\Nodediff.A* Goto Compile
  69. If Exist D:\Tmp\Nodediff.A* Del D:\Tmp\Nodediff.A* >Nul:
  70. CD %FILE%
  71. For %%D in (Nodediff.A*) Do Set ND=%%D
  72. Copy %FILE%\%ND% D:\Tmp >Nul:
  73. Del %FILE%\%ND% >Nul:
  74. CD \Bink\Nodelist
  75. >Nul: ARC2 EO D:\Tmp\%ND% Nodediff.*
  76. :Compile
  77. For %%L in (D:\Tmp\Nodelist.A*) Do Set ONLA=%%L
  78. >Nul: ARC2 EO %ONLA% Nodelist.*
  79. For %%O in (Nodelist.*) Do Set ONL=%%O
  80. REM Perform NODELIST 5/6 compile
  81. c:\Bink\ParseLst
  82. If Not ERRORLEVEL 0 Goto Exit
  83. :REM Now delete raw Nodelist
  84. Del %ONL% >Nul:
  85. If NOT Exist Nodediff.* Goto Exit
  86. Del Nodediff.* >Nul:
  87. For %%N in (Nodelist.0* Nodelist.1* Nodelist.2* Nodelist.3*) Do Set NNL=%%N
  88. >Nul: ARC2 A5 D:\Tmp\%NNL% %NNL%
  89. Ren D:\Tmp\%NNL% NODELIST.A*
  90. Del %NNL% >Nul:
  91. Del %ONLA% >Nul:
  92. :Exit
  93. Echo.
  94. Echo We're Out-ta Here!!!
  95.  
  96. I apologize to those that prefer highly commented batch files, but this is as
  97. good as it gets.  And, it works, nice and quietly.  I invoke it from my
  98. POINT.CMD file with the following line, located in the section for new mail:
  99.  
  100. If Exist %IN%\NODEDIFF.A* Call LISTGEN.CMD
  101.  
  102. I've tried to get this to compile and execute in Compact, but Medium is the
  103. best I could do.  Fortunately, Ron Bemis came up with the way to do it.
  104.  
  105.