home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / PLST_132.PZH / PLST-132.DOC < prev   
Text File  |  1991-04-13  |  3KB  |  96 lines

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