home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / os2 / dwnsrs57.zip / DOWNSORT.SCR (.txt) < prev    next >
Microsoft Windows Help File Content  |  1993-06-27  |  104KB  |  2,396 lines

  1. :userdoc sec='Maximus Download File Sort and List Utility (OS/2 and DOS)'
  2. .* For printing: use Bookmaster profile.
  3. .* This file also compilable by IPFC (just ignore the errors!).
  4. :prolog.
  5. .* ==========================================================
  6. .* Translate macros for IBM host printing
  7. .dm on3270 on
  8. .if &$SYS ne pc .ti 
  9.   10 
  10.   13 
  11.   30 
  12.   31 
  13.   21 
  14. .if &$SYS ne pc .ti 
  15.   12 
  16.   22 
  17.   32 
  18.   33 
  19. .if &$SYS ne pc .ti 
  20.   10 
  21.   13 
  22.   30 
  23.   31 
  24.   21 
  25. .if &$SYS ne pc .ti 
  26.   12 
  27.   22 
  28.   32 
  29.   33 
  30. .if &$SYS ne pc .ti 
  31.   10 
  32.   13 
  33.   30 
  34.   31 
  35.   21 
  36. .if &$SYS ne pc .ti 
  37.   12 
  38.   22 
  39. .if &$SYS ne pc .ti 
  40.   10 
  41.   13 
  42.   30 
  43.   31 
  44.   21 
  45. .if &$SYS ne pc .ti 
  46.   12 
  47.   22 
  48. .if &$SYS ne pc .ti 
  49.   35 
  50.   25  
  51. .dm off
  52.   right arrow
  53.   left arrow
  54.   up arrow
  55.   down arrow
  56. .dm off3270 on
  57. .if &$SYS ne pc .ti 
  58. .if &$SYS ne pc .ti 
  59. .if &$SYS ne pc .ti 
  60. .if &$SYS ne pc .ti 
  61. .if &$SYS ne pc .ti 
  62. .dm off
  63. .* Bookmaster tags voor deze macro's:
  64. .aa on3270 on3270
  65. .aa off3270 off3270
  66. .* ==========================================================
  67. .nameit symbol=VERSION text='5'.
  68. .nameit symbol=SUBVERS text='7'.
  69. .nameit symbol=SUFFIX  text=' '.
  70. :revision id=57 run=yes.
  71. :title.DOWNSORT
  72. &rbl.
  73. Maximus CBCS DOWNload file SORT and List Utility
  74. &rbl.
  75. Version &VERSION..&SUBVERS.&SUFFIX. (OS/2 and DOS)
  76. :etitle.
  77. :author.Rob Hamerling
  78. :date.
  79. :address.
  80. Vianen, The Netherlands
  81. Phone: ++31-3473-72136 (voice)
  82. FIDO-net: 2&colon.512/4.1098
  83. :eaddress.
  84. :docprof rhrfrule=none
  85.          language=english
  86.          figlist=nopage
  87.          tlist=nopage
  88.          ftsep=no
  89.          layout=2
  90.          fbc=no
  91.          toc=12
  92.          ldrdots=yes.
  93. :eprolog.
  94. :frontm.
  95. :tipage.
  96. :toc.
  97. :body.
  98. .* ==============================================================
  99. :h1.About Downsort
  100. :p.Downsort was originated in 1987 as a program for my own use when
  101. I was SYSOP of the Bulletin Board PC-Square (2:512/4), to automatically
  102. generate daily overviews of my download material for the users.
  103. The program name is related to the SORTing of the collection of
  104. DOWNloadable files, in DOWNward time-stamp sequence and an online
  105. Bulletin was the only list that was produced at that time.
  106. PC-Square was running BinkleyTerm and OPUS under DOS, and
  107. file-requesting was not so popular then.
  108. :p.Now PC-Square runs with OS/2, BinkleyTerm and MAXIMUS CBCS.
  109. I'm not SYSOP anymore but still strongly involved.
  110. As a contribution to PC-Square and the large international Bulletin
  111. Board community of MAXIMUS CBCS boards, and in the highly appreciated
  112. spirit of BinkleyTerm, I decided to upgrade my Downsort program to the
  113. current software.
  114. During the past years a lot of improvements and extensions have been
  115. made&colon. many user-configurable options for many more output formats
  116. then the original Downsort.
  117. :p.The only dependency of Downsort on MAXIMUS CBCS is a parameter-file
  118. AREA.DAT, which is usually created with a MAXIMUS utility (SILT(P)),
  119. which itself can be used without actually running MAXIMUS!
  120. This is the way I work for testing of Downsort.
  121. :p.:hdref refid=ahis. gives an impression of recent history.
  122. :p.Downsort is now developed in an OS/2 environment, but it is
  123. distributed as 'family'-application: it runs under OS/2 and DOS.
  124. :rev refid=57.
  125. :p.Downsort is in its 6-th year of development and has entered a period
  126. where life becomes more and more complicated.
  127. While adding new features, I have tried to maintain compatibility.
  128. This is the main cause of complications.
  129. Maybe in one of the newer versions I have to leave this compatibility in
  130. favour of maintainability and user-friendliness.
  131. In anticipation of this, please do not use undocumented features, or
  132. styles of usage that are not described in this document.
  133. :erev refid=57.
  134. .* --------------
  135. :h2.Registration and Shareware Fee
  136. :p.Downsort is a $ 0.00 Shareware Program.
  137. This means (to me) that you respect the commonly known rules for
  138. shareware, but you don't have to pay me anything.
  139. :p.Registration is voluntary&colon. please send me a netmail message
  140. with your name and (net-)address if you are a regular user of Downsort
  141. as SYSOP.
  142. That gives me an impression of the usage and the impact of changes to
  143. Downsort.
  144. :p.If you tell me that you are running Downsort on your Bulletin Board
  145. as service to your users, and you appreciate to be mentioned, I'll add
  146. your name to the reference list in :hdref refid=ause..
  147. .* --------------
  148. :h2.Warranty
  149. :p.For this price?
  150. You must be kidding!
  151. But I'll listen to your complaints and suggestions, and if time permits,
  152. I'll work on the improvements you suggested.
  153. .* --------------
  154. :h2.Acknowledgements
  155. :p.I would like to thank all users that contributed with constructive
  156. remarks and encouraging appraisals.
  157. Without doubt Emmanuel Sandorfi of 2&colon.320/5 holds the record in
  158. number of suggestions and amount of additionally required programming
  159. effort.
  160. He also provided some additional title-fonts (2 and 3).
  161. :p.I also would like to thank the regular users (SYSOP's of Bulletin
  162. Boards) who made Downsort much more popular than I ever dreamed of!
  163. A collection of geographically dispersed Boards can be found in
  164. :hdref refid=ause..
  165. .* =============================================
  166. :h1.Overview
  167. :p.Downsort is a program to make lists of available download files
  168. for Bulletin Board Systems, especially MAXIMUS CBCS.
  169. The different types of lists are each for a specific audience
  170. (online bulletin board user, file-requestor, SYSOP) and purpose
  171. (all files, recent acquisitions).
  172. Within each type there are many ways to customise the contents
  173. (selection on user-privilege or user-interest), and format
  174. (sort-sequence of files, titles, logo, etc).
  175. :p.Downsort can produce the following report-types :fnref refid=usys.
  176. for you:
  177. :fn id=usys.For the target audience the distiction between 'user' and
  178. 'sysop' is strictly the author's view!
  179. :efn.
  180. (:hp2.all these can be produced in one run:ehp2.).
  181. :li.user-lists
  182. :ul compact.
  183. :li.BBS-list, a colorful overview for :hp2.online:ehp2. users of
  184. MAXIMUS CBCS
  185. :li.NEW-list of the most recent files
  186. (as a response to a file-request of 'NEWFILES')
  187. :li.ALL-list for a complete overview in a file-group per area
  188. (as a response to a filerequest of 'FILES' of 'ALLFILES')
  189. :li.IPF-list similar contents as ALL-list, but in a different
  190. presentation format (VIEW-able under OS/2)
  191. :li.GBL-list for a complete overview over the area-boundaries,
  192. as an alternative for ALL-list if you don't want to bother
  193. file-requestors with your area-structure
  194. :eul.
  195. :li.SYSOP lists:
  196. :ul compact.
  197. :li.ORPHAN-report as a help with management of the contents of your
  198. area's and directories, and to correct possible upload problems or
  199. inconsistencies
  200. :li.DUP-list for a list of duplicate filenames as a help to control your
  201. disk-space and with version management.
  202. :li.OKFile for (Binkley) File Requests.
  203. :li.EMI-list for a list of new file arrivals to be included in an
  204. announcement message.
  205. :li.Updated FILES.BBS files
  206. :eul.
  207. :eul.
  208. :p.The lists can be generated for different privilege levels,
  209. and be customised to a very high extend to present your system as you
  210. like it to be seen by your users (headers, log, etc).
  211. At the same time Maximus (and OPUS) conventions are reflected in the
  212. way the file information is presented.
  213. :p.A sample of most of these lists can be found in :hdref refid=lsmp..
  214. :p.In short: Downsort is a very versatile tool to manage your database
  215. of files, both in an OS/2 and DOS environment.
  216. .* ------------------------
  217. :h2.Purpose and Objectives
  218. :p.Downsort is designed for the following purposes:
  219. :li.Produce different overviews of files which are available for
  220. download by online users of the Bulletin Board and by File Requestors.
  221. QUICK and EASY file retrieval is the main goal for the lists.
  222. Therefore many lists-types and within a type several variations
  223. should be available for SYSOP and users.
  224. :li.Should not disclose files to users (file-requesters) without
  225. positive agreement by SYSOP.
  226. :li.Detect discrepancies between the contents of FILES.BBS and the
  227. corresponding download directory, such as:
  228. :ul compact.
  229. :li.The directory contains so called :hp2.orphan:ehp2.-files, which have
  230. no descriptive entry in FILES.BBS.
  231. :li.FILES.BBS contains entries of which the file in not in the directory
  232. (is 'offline').
  233. This may be on purpose!
  234. :eul.
  235. :li.Must be able to be run unattended (typically overnight).
  236. The file-access privilege system of a Bulletin Board System like Maximus
  237. CBCS should be respected by the reports.
  238. :eol.
  239. .* ==============================================
  240. :h1 id=guide.User's Guide
  241. :p.This chapter explains the possibilities of Downsort.
  242. Parameter specifications will be covered in :hdref refid=specs..
  243. .* --------------------------------
  244. :h2.Initial setup
  245. :p.When you are going to use Downsort for the first time, you have to
  246. make a number of decisions.
  247. Below you'll find a kind of check-list, which is setup to help you with
  248. a logical sequence of tasks to make the use of Downsort succesful.
  249. It does NOT give detailed specifications, these can be found in
  250. :hdref refid=specs..
  251. :p.The specifications will be put into a configuration file
  252. Downsort.CFG, which may contain information about:
  253. :li.Data Collection
  254. :p.File information will be collected from:
  255. :ul compact.
  256. :li.Privilege and download path-information from AREA.DAT
  257. :li.Actual file-information from download directories
  258. :li.FILES.BBS files for file descriptions
  259. :eul.
  260. :li.List Type Selection
  261. :p.Downsort can produce the following report types for you (all in one run).
  262. :ul compact.
  263. :li.ORPHAN-report for SYSOP use only
  264. :li.BBS-list for :hp2.online:ehp2. users of MAXIMUS CBCS
  265. :li.NEW-list(s) for a list of the most recent files
  266. :li.ALL-list(s) for a complete overview in a file-group per area
  267. :li.IPF-list(s) same as ALL-list, but in a different presentation format
  268. (VIEW-able under OS/2,
  269. there is a special IP2-list for OS/2 2.0).
  270. :li.GBL-list(s) for a complete overview over area-boundaries
  271. :li.DUP-list(s) for a list of possibly duplicate filenames
  272. :li.OKFile(s) for (Binkley) File Requests
  273. :li.EMIFile(s) to for a list of file arrivals over the last period
  274. :li.Updated FILES.BBS files
  275. :eul.
  276. :li.File selection
  277. :p.Reporting of file-information can be limited by:
  278. :ul compact.
  279. :li.Reporting privilege: only those files up to a certain privilege
  280. level will be listed
  281. :li.Area INclude or EXclude: for sub-selection for special interest
  282. groups
  283. :li.Number of files or period (days, weeks or months) to be reported
  284. :eul.
  285. :li.List Customisation
  286. :p.The layout of the lists can be jazzed-up with:
  287. :ul compact.
  288. :li.BLOCK-title and its font
  289. :li.TopTitle, SubTitle, BottomTitle, Include (logo-) file
  290. :li.Sorting sequence of area's in ALL-list (unsorted, name, include)
  291. :li.Sorting sequence of files (unsorted, date, filename)
  292. :li.Truncation or wrapping of file descriptions
  293. :li.Area- or file-privilege information
  294. :li.Message and Warning texts
  295. :rev refid=57.
  296. :li.Handling of Avatar codes in comment lines (strip or mimic).
  297. :erev refid=57.
  298. :eul.
  299. :p.All in the language which suites your audience best.
  300. :eol.
  301. :p.The sample Downsort.CFG file (see :hdref refid=acfg.) contains
  302. defaults and a brief information to help you with the
  303. parameter specifications.
  304. :p.Below you can find some more explanation.
  305. .* ----------------------------
  306. :h2.Data Collection
  307. :h3.AREA.DAT
  308. :p.A MAXIMUS file 'AREA.DAT' is absolutely required by Downsort.
  309. It is however not necessary to run MAXIMUS itself,
  310. the AREA.DAT file is created with SILT(P) from the MAXIMUS package.
  311. You can use this utility without the other MAXIMUS stuff.
  312. In fact I do that myself (NOT running a MAXIMUS board)!
  313. If you run Downsort in a directory without AREA.DAT, then you should use
  314. specify the filespec for AREA.DAT.
  315. It allows also to specify a different AREA.DAT file than the one that is
  316. used by your MAXIMUS.
  317. :p.With SILT(P) you may build a special AREA.DAT for exclusive use by
  318. Downsort, with different, less, or even more directories!
  319. Probably much more convenient is the use of AreaINclude or
  320. AreaEXclude in Downsort.CFG to limit the contents of the lists to
  321. a group of area's, that you want to report together, while you use the
  322. regular AREA.DAT.
  323. A combination of a 'special' AREA.DAT and AreaIN/EXcludes is another
  324. option to obtain areagroups.
  325. :p.Remember: The combination of area privilege in AREA.DAT and the
  326. report-privilege specification in Downsort.CFG may restrict the contents
  327. of reports.
  328. AreaINclude is subordinate to this and will work only for the collection
  329. of area's within these privilege limits.
  330. :p.If Downsort reports a memory constraint (see also :hdref refid=perf.),
  331. you may use these techniques as circumvention: exclude one or more of
  332. the file area's and rerun Downsort.
  333. :h3.FILES.BBS
  334. :p.Downsort uses the information in AREA.DAT to locate the description
  335. files, usually called FILES.BBS.
  336. So either the ListFile specification in AREA.DAT, or the download
  337. directory to locate them (Maximus default).
  338. .* -----------------------------------
  339. :h2.List Type Selection
  340. :p.Downsort can produce several types of output reports,
  341. indicated by type of list.
  342. The following list types are available:
  343. .* ---
  344. :h3 id=orphan.ORPHAN report
  345. :p.This is a list of all files in download directories for which
  346. there is no entry in any FILES.BBS file of all areas which have this
  347. directory specified as download path.
  348. The report contains date, area-name and area-path of the orphan.
  349. The entries are sorted on area and filename.
  350. Not reported are MAXIMUS system files like:
  351. FILES.*, *.BAK, DIR.?BS and SYSTEM*.?BS.
  352. :p.If you have more than 1 area pointing to the same download directory,
  353. but with different FILES.BBS files, the orphans are reported for the
  354. first of these areas only.
  355. :note.If there is an entry for a file in FILES.BBS without a
  356. description, the file is NOT considered to be an Orphan!
  357. .* ---
  358. :h3.BBS-list
  359. :p.This is a list of downloadfiles that became recently available
  360. on your system.
  361. File selection is on date, but for presentation the list may be sorted
  362. on date, newest first or on filename.
  363. :p.The list contains compiled MECCA control sequences, for direct use in
  364. MAXIMUS bulletins: a user-privilege sensitive list!
  365. It might be a good idea to put a translated &lbrk.onexit&rbrk. string,
  366. which translates into: &caret.OFpath.
  367. When a user exits from the BBS-list bulletin, it will fall back to the
  368. exit-bulletin.
  369. :p.The length of the file (number of file-entries) may be limited by
  370. parameters:
  371. :ul compact.
  372. :li.file-count
  373. :li.file age in days, weeks or months (30 days)
  374. :li.maximum privilege
  375. :eul.
  376. :p.(never more than available within the privilege limit).
  377. If neither specified it will contain all available files in all download
  378. directories.
  379. :p.To make it easy for you to build a complete MAXIMUS bulletin-file a
  380. user-provided header is included preceding the list and a trailer at the
  381. end of the list.
  382. Header and trailer can be built by SYSOP, and may contain any
  383. information and bulletin-control sequences (a sample is provided).
  384. .* ---
  385. :h3.NEW-list
  386. :p.Basically the same list as above, but in simple ASCII format.
  387. This list is suitable for regular file-requestors as brief overview
  388. of the latest additions, updates or replacements.
  389. .* ---
  390. :h3 id=emi.EMI-list
  391. :p.Basically the same as NEW-list, but more compact:
  392. :ul compact.
  393. :li.contains file also file-time and exact filesize in bytes.
  394. :li.Description wrapping (if used) is overlapping the file-details
  395. except filename.
  396. :eul.
  397. :p.The EMI-list is especially suitable to generate file-arrival messages
  398. (the output should be included by another program).
  399. .* ---
  400. :h3.ALL-list
  401. :p.A list of all downloadfiles by area.
  402. Files of the same area are listed in groups, separated by imbedded
  403. headers with area-name, -description, and -privilege.
  404. Actual status information is provided in the area-header as well:
  405. area-filecount and -bytecount, and latest acquisition (date and
  406. file-name).
  407. :p.At the end a SUMMARY report shows per area: area-title,
  408. file-count, byte-count, and totals.
  409. :p.The size of this list is limited only by the privilege parameter.
  410. The numbers in area-header and summary report show only what is
  411. available for the particular privilege.
  412. :p.You may generate several ALL-lists in one run!
  413. .* ---
  414. :h3.IPF- and IP2-list
  415. :p.Same contents as ALL-list but in a different format.
  416. Only useful for users that run OS/2 (OS/2 version 1.2+ under
  417. Presentation Manager).
  418. This file has the format of an input-file for the Information
  419. Presentation Facility Compiler (IPFC).
  420. :p.There is a separate form of this list (called IP2-list) for OS/2 2.0.
  421. It produces information that can be compiled only with the accompanying
  422. IPF Compiler of the OS/2 2.0 Toolkit.
  423. The result however can be VIEWed under OS/2 1.3!
  424. .* ---
  425. :h3.GBL-list
  426. :p.Similar to ALL-list,
  427. but where ALL-list gives the files in groups per area, the GBL-list
  428. ignores area-boundaries and gives a single group.
  429. It contains an extra column with the area-code for each file, there is
  430. no area-summary.
  431. :p.SYSOP may choose which of both is suitable to make available to
  432. users, and which to use for himself (or even both).
  433. :p.The GBL-list can be used in stead of the ALL-list if your users
  434. prefer searching in the list without having to bother about
  435. area-organisation.
  436. Although one of the original purposes of the GBL-list was checking for
  437. duplicate files, there is now also a special report for this particular
  438. purpose (see :hdref refid=dup.).
  439. .* ---
  440. :h3 id=dup.DUP-list
  441. :p.Simple report of :hp2.possibly:ehp2. duplicate files over the area's.
  442. The format is basically the same as the GBL-list, but only files with
  443. the :hp2.same filename:ehp2. are reported.
  444. 'Offline' files are included in the check, orphans are not!
  445. :p.Please note that the DUP-list may not always contain what you expect.
  446. :rev refid=57.
  447. It can be more or less, for example:
  448. :ul compact.
  449. :li.Downsort looks primarily at filenames only (extension is of second
  450. importance, path is completely ignored).
  451. :li.You may have explicitly excluded area's from the search.
  452. :li.You may have excluded area's by privilege: Downsort completely
  453. ignores area's with a higher privilege than any report asked for.
  454. :li.You have duplicates in 'orphan'-state.
  455. :eul.
  456. :p.These circumstances may give 'false' signals or hide duplicates!
  457. :p.All duplicate files within the privilige-range will be reported,
  458. even when a counterpart has a higher privilege or are orphan (and thus will
  459. not be reported in the DUP-list)!
  460. You may need a file-finder-utility to search for the 'partner'-file
  461. in one of the directories with a higher privilege.
  462. :p.There are very few other parameters applicable to this list.
  463. File descriptions may be specified as truncated or wrapped.
  464. All user-titles are left out and only a sort on filename is
  465. supported.
  466. :p.Suppression of reporting files with equal filenames and different
  467. extensions is possible with the "NonDupEXT" keyword in Downsort.Cfg.
  468. You specify pairs of extensions.
  469. Two files with equal filename and one of each having an extension specified
  470. as 'pair' will not be reported as duplicate.
  471. For example, if you specify:
  472. :xmp.
  473.    NonDupEXT  SDN  SDA
  474. :exmp.
  475. then file pairs xyz.SDN and xyz.SDA will not be reported in the DUP-list.
  476. :p.This pair-exclusion can also be used for more than 2 extensions, but
  477. the exclusion works only for pairs of files.
  478. So then you must specify as many pairs as can be formed.
  479. For example if you want to exclude file combinations like xyz.IDX
  480. xyz.DAT and xyz.EXT, then you should specify:
  481. :xmp.
  482.    NonDupEXT  IDX DAT  IDX EXT  DAT EXT
  483. :exmp.
  484. :warning.The check on duplicates by Downsort works only when you specify all
  485. possible pairs of extensions!
  486. If you fail to specify any possible pair, the Dup-list may contain false
  487. signals.
  488. :ewarning.
  489. :p.Multiple pairs may be specified on a line, and multiple lines are
  490. allowed.
  491. Up to 100 pairs of extensions will be accepted by Downsort in total.
  492. :erev refid=57.
  493. .* ---
  494. :h3 id=okf.OKFile
  495. :p.List filespecifications for file-requests in BinkleyTerm style.
  496. The generated paths in the list obey the following rules:
  497. :li.the area-privilege is within the privilege limit of the report
  498. :li.the area is not excluded (by areaEXclude)
  499. :li.the area has at least 1 file within the privilege limit of the
  500. report
  501. :eul.
  502. :p.The paths are sorted on area-name (although the area-name is not part
  503. of the list).
  504. There is no check on duplicate paths.
  505. :p.The list is not jazzed-up with titles, etc, but a file may be included in
  506. front of the list if specified on the OKFileList in Downsort.CFG (see :hdref
  507. refid=acfg.).
  508. This option allows you to insert a list of 'magic' names in the OKFile.
  509. :rev refid=57.
  510. :p.Two formats are available:
  511. :ul compact.
  512. :li.SHORT format with lines in the format "filepath\*.*".
  513. This is the regular format for BinkleyTerm and other mailers.
  514. :li.LONG format with lines in the format: "@filespec  filepath\filespec".
  515. All files have a 'magic'-name assigned and there are no generic file
  516. specifications in the OKFileList.
  517. This prevents directory searches for BinkleyTerm for each file request.
  518. :eul.
  519. :note.Some newer versions of BinkleyTerm can use the file base of Maximus
  520. to find a file even faster.
  521. :erev refid=57.
  522. .* ---
  523. :h3 id=filbbs.FIL-list
  524. :p.New "FILES.BBS" type of file may be (re-)created, one for every area.
  525. The contents of the file-information will be about the same as
  526. the original FILES.BBS, but with the following notes:
  527. :ul compact.
  528. :li.A header is generated with area-name, -title, and -privilege.
  529. Also the total amount of files and bytes and the most recently acquired
  530. new file in this area is part of the header information.
  531. :li.Files with a privilege up to and including the area-privilege
  532. are listed first.
  533. :li.Files can have a privilege other than the area-privilege when the
  534. original FILES.BBS file contains &caret.Pp-sequences ('p' being a
  535. privilege letter).
  536. This construction will be rebuilt by Downsort.
  537. Files with a higher privilege than the area-privilege will follow
  538. after a compiled MECCA-sequence (&caret.Pp) in the new FILES.BBS.
  539. Downsort respects these indicators when reading FILES.BBS,
  540. so all file-privilege information is retained.
  541. This ensures no accidental loss of file-information, and the regular
  542. user won't see more than he should.
  543. :li.Wild-card specifications in the original FILES.BBS are not
  544. propagated to the new FILES.BBS.
  545. :rev refid=57.
  546. :li.The file description is kept internally as a single string
  547. of about 2 KBytes (Maximus 2.0 supports up to 240 bytes!)
  548. When creating FILES.BBS files, this will be the file format (single
  549. record per file-entry).
  550. The original FILES.BBS may contain a (long) single string
  551. description, or multiple (short) multiline descriptions.
  552. When encountering multiline descriptions in input-FILES.BBS, Downsort
  553. concatenates the separate description lines with a single intermediate
  554. space up to a maximum of 2 KBytes.
  555. This will be the output format if the FIL-list is requested.
  556. :li.Comments in FILES.BBS will be preserved :hp3.only:ehp3.
  557. when the Keep-Sequence option is used (specify /K on the FilFileList
  558. line of Downsort.Cfg).
  559. :eul.
  560. :p.Special attention is requested for the following:
  561. :ul compact.
  562. :li.The first 8 lines, :hp2.if comments:ehp2. (starting with a
  563. '-'-character), are discarded,
  564. These are assumed to be the standard header for FILES.BBS of Downsort.
  565. :li.Downsort from version 5.7 on uses the 3 characters:
  566. <-><&delta.><backspace> for each of its header-lines, and will skip all
  567. lines starting with this sequence during the data collection phase, even
  568. when encountered after line 8.
  569. :li.You can include your own file with the /I-option on the FILFilePath
  570. line in Downsort.Cfg in the header of FILES.BBS.
  571. All lines in the include-file for FILES.BBS output will be prefixed by
  572. Downsort with the 3 character sequence mentioned above to make sure that
  573. these will also be 'refreshed' by Downsort.
  574. :eul.
  575. :erev refid=57.
  576. :p.The destination of FILES.BBS-files is not by definition the same as
  577. the origin!
  578. When specified with the "FIL&colon."-parameter (or in the configuration
  579. file), the output may be located in a different directory than the
  580. original input FILES.BBS.
  581. :rev refid=57.
  582. :p.When the output is directed to a separate directory, the files will
  583. be named as follows:
  584. :dl tsize=14 termhi=2.
  585. :dt.FILES.ac
  586. :dd.when :hp2.all:ehp2. areanames (areacodes) of the selected areas in a
  587. single run of Downsort are 3 bytes or less.
  588. :dt.areaname.BBS
  589. :dd.when :hp2.any:ehp2. areaname is longer than 3 bytes.
  590. :edl.
  591. :p.The format of the header will be slightly different.
  592. Font specification (/Fx in FILFileList) works for the second case only.
  593. :erev refid=57.
  594. :p.Manual checking or post-processing by some other program may follow
  595. Downsort, after which the files might be put back on the MAXIMUS
  596. specified position.
  597. .* ------------------------------
  598. :h2.Data Selection
  599. .* ---
  600. :h3.Privilege control
  601. :p.The default file privilege to be shown in the lists is SYSOP.
  602. All files with a higher privilege than the specified (or defaulted)
  603. report-privilege will not appear in the report.
  604. :p.Files without a matching filename-entry in FILES.BBS are treated as
  605. Hidden.
  606. That means that by default these files will not be listed,
  607. unless the 'H' privilege is used on the report-request specification.
  608. :p.If you run a mailer like BinkleyTerm and support file-requests, you
  609. lack the extensive privilege system like Maximus.
  610. The only distiction BinkleyTerm makes with file-request is
  611. 'unknown', 'known' and 'password-protected'.
  612. You may generate multiple download lists with different privilege
  613. indictor, depending if you allow these categories to request different
  614. file collections a sample of this kind of environment is given in
  615. :hdref refid=sampl..
  616. :p.This is not needed for Downsort.BBS, since this file has imbedded
  617. privilege control sequences for MAXIMUS users.
  618. But you should specify a sufficiently high privilege for the BBS-list to
  619. satisfy your most valuable users!
  620. .* ---
  621. :h3.AREA selection
  622. :p.When you need file selections on subject, you can use AreaINclude or
  623. AreaEXclude to limit the lists to files that are part of certain
  624. area-groups.
  625. You should realise that this is the latest selection phase:
  626. privilege selection has taken place already before AreaINclude or
  627. AreaEXclude are processed.
  628. So make sure you specified a sufficiently high report-privilege to get
  629. the proper areas into the group.
  630. .* ---
  631. :h3.Report length
  632. :p.For lists that are meant to show the latest file-information only
  633. (BBS-list and NEW-list), the length of the list can be limited to
  634. a maximum number of file-entries or to file-age in days, weeks or
  635. months.
  636. .* ------------------------------
  637. :h2.List Customisation
  638. :h3.Headers, Titles and Include files
  639. :p.There are several ways to custimise the appearance of the lists for
  640. Downsort.
  641. All items in the following list are optional, but the sequence in the
  642. reports is fixed and as listed:
  643. :dl tsize=12 termhi=2.
  644. :dt.Pre-Title
  645. :dd.Up to 20 lines as very first lines of your lists.
  646. Any text may be specified.
  647. Leading '&tilde.'-characters (tilde) will be treated as full-size required
  648. blanks, mainly to manually align (center) the text in these lines.
  649. There is no automatic centering.
  650. You may have to experiment a little.
  651. :dt.TITLE
  652. :dd.A short title (8-12 characters), that will be magnified to big
  653. BLOCK-letters.
  654. There are 4 block-fonts to choose from.
  655. Not all characters are supported and lower-case will be translated to
  656. upper-case.
  657. The '&tilde.'-character (tilde) will be treated as full-size required
  658. blank, the '&grave.'-character (accent-grave) as half-size required
  659. blank.
  660. :p.If not specified, a default title is generated as Downsortxy, where
  661. xy stands for the current version of Downsort.
  662. :dt.TitleFont
  663. :dd.Number of the font to be used for the BLOCK title.
  664. If specified as 0, the BLOCK-title will NOT be generated at all.
  665. :dt.Include-file
  666. :dd.A text-file to be included.
  667. There will be no manipulation of the contents of this file.
  668. This include-file may be all you need to obtain a fully custimised list.
  669. For the IPF-list this include file will most likely have to contain IPF
  670. tags for proper formatting,
  671. for the OK-file it will be a list of 'magic' name entries.
  672. :dt.Sub-Title
  673. :dd.Up to 20 lines.
  674. These are treated like the Pre-Title lines.
  675. :dt.BottomTitle
  676. :dd.Up to 20 lines as very last lines of the lists.
  677. These follow my 'signature'.
  678. The lines follow the same treatment as Pre-Title lines.
  679. :edl.
  680. :p.The BLOCK-title and Pre-, Sub-, and Bottom-titles are used for all
  681. reports identically, there is no such thing as an 'individual' title
  682. specification for each report.
  683. However the Include-file may be different for each report.
  684. If you want to build more than 1 list but with different 'headings'
  685. or no headings at all, you better forget the Title-options.
  686. In stead make heading-files and use the Include option of the individual
  687. list specifications.
  688. :note.Exceptions:
  689. :li.None of the above does apply to the BBS-list.
  690. As it will generally be desirable to imbed (compiled) MECCA control
  691. sequences in this type of lists, this report will include dedicated top
  692. and bottom files (if available in the current default directory).
  693. These files must be called Downsort.HDR (header) and Downsort.TRL
  694. (trailer).
  695. :li.The ORPHAN report will not contain any user-titles.
  696. :li.The FILES.bbs files will not use any of the title-specifications,
  697. but may use an Include-file.
  698. :eol.
  699. :p.:hp2.Recommendation:ehp2.&colon. File-requestors appreciate a header
  700. with a clear indication of the source of the reports.
  701. Many Bulletin Boards use FILES or ALLFILES as 'magic' name,
  702. but that is not very distinctive if you collect lists of different
  703. boards!
  704. So use Downsort's facilities to generate a block-title with your
  705. system-name, or an include file with some kind of logo.
  706. :note.Specification details and samples can be found in Downsort.CFG.
  707. :p.Some SYSOPs do not like to confront their users with privileges.
  708. In most headers there will be a line with the reporting privilege.
  709. This may be suppressed.
  710. .* ---
  711. :h3.File Sorting
  712. :p.The file-entries in the lists can be sorted on different keys:
  713. :li.Filedate
  714. :li.Filename
  715. :li.Sequence of FILES.BBS
  716. :eul.
  717. :p.The default sorting sequence depends on the type of list.
  718. Some lists do not support some of these sorting keys.
  719. :note.File sorting has a local scope.
  720. It can be specified for to each listtype individually.
  721. .* ---
  722. :h3.Area Sorting
  723. :p.The order in which the areas are presented in the lists can be
  724. specified:
  725. :ul compact.
  726. :li.Order of AREA.DAT
  727. :li.Sorted alphabetically on areaname
  728. :li.Order of areaINclude statement in Downsort.Cfg
  729. :li.Groupname-order
  730. :eul.
  731. :p.The Groupname-order is a special order based on a popular naming
  732. convention for areas.
  733. Many SYSOPs use areanames with a group-name or -letter followed by a
  734. sequence number.
  735. With groupname sorting the areaname is split - if possible - into a
  736. groupname (if the first character is not be numeric) and a sequence number
  737. (if the last part of areaname is numeric).
  738. Primary sort key is groupname, secundary sortkey is sequence number.
  739. If the first character of the area-name is numeric, the groupname
  740. is empty, and if the last part of the areaname is not numeric, the
  741. second key is empty.
  742. :p.If the ordering does not match your more complicated area naming
  743. convention, you can always fallback on a properly sequenced AREA.DAT,
  744. or on areaINclude sequence.
  745. :p.If Include-order is specified, but AreaINclude is not, then the
  746. order falls back to Group-order.
  747. :p.The area-order specification has a global scope.
  748. It applies to every lists where the areaname is significant, including
  749. summaries in ALL- and IPF-lists.
  750. :p.Default sorting order is 'Group'.
  751. .* ---
  752. :h3.Warnings, Indications, Descriptions and Comments
  753. :li.There are two options for long file descriptions
  754. (those that do not fit on a 80-character line):
  755. :ul compact.
  756. :li.Truncation at end-of-line
  757. :li.Wrapping to multiple lines
  758. :eul.
  759. :p.Both options are available for all lists,
  760. but the defaults vary with the type of the report.
  761. :li.Orphan description:
  762. Text that will be reported in the description column of a file, when
  763. for this file no entry in FILES.BBS could be located.
  764. :p.Default: "--- Orphan ---".
  765. :li.Not-Found description:
  766. Text for the description column when the file-entry was found in
  767. FILES.BBS, but there was no description present.
  768. :p.Default: "--- no description available ---".
  769. :li.Offline description:
  770. Text that will replace file-size and file-date, when an entry for this
  771. file was found in FILES.BBS, but the file could not be located in the
  772. download directory.
  773. :p.Default: "** offline **".
  774. :li.Comments in FILES.BBS (mostly used for additional description for
  775. groups of files) will be listed when no sorting is specified (the /K
  776. option for ALL-, IPF- and FIL-lists).
  777. :rev refid=57.
  778. :p.When Downsort encounters Avatar screen handling codes in FILES.BBS
  779. these are stripped of or partially imitated in the output lists (unless
  780. AVAstrip&rbl.No is specified in Downsort.Cfg).
  781. Typical screen handling commands (cursor movement, color settings) are just
  782. stripped, ohers (repeating characters of patterns) are imitated.
  783. :erev refid=57.
  784. :li.Size of a VIEW-page in IPF-list:
  785. The IPF-list of area's with more than 250 file entries will be splitted
  786. into 'parts' to prevent the IPF-compiler message 'page size exceeded'.
  787. But if you have many long descriptions, or wish smaller parts, the
  788. page-size can be altered with a parameter on the IpfFileList line in
  789. Downsort.CFG.
  790. :p.Default: 250.
  791. :eul.
  792. .* ---------------------------
  793. :h2.Miscellaneous report information
  794. .* ---
  795. :h3.File Information in Lists
  796. :li.Dates are marked with a 'new'-indicator: a '*' if the file
  797. is only since a week on this system, and a '+' if it is since a month.
  798. Filedates later than the current system date are marked '-' (negative
  799. age).
  800. :li.In every outputfile the filename, MAXIMUS-area name, file-size and
  801. -date, and file-description from FILES.BBS is listed.
  802. A report-line will never display more than 79 characters.
  803. :p.The file-description will be multi-line in ALL-, IPF- and GBL-list
  804. if it is longer than would fit on the standard 79-position line, a
  805. word-wrapping technique is used for readability (line-split on word
  806. boundary).
  807. The description is truncated at end of line in BBS-list and NEW-list.
  808. :p.The -T option will force truncation of the description in all reports,
  809. the -W option will allow multi-line descriptions in all reports.
  810. :p.If a filename is found in FILES.BBS, but no accompanying description,
  811. a "--- no description available ---" will be put in place.
  812. An alternative text may be specified with Downsort.CFG.
  813. :p.Files for which there is no entry in the FILES.BBS (Orphans) are
  814. treated as Hidden files, which are only listed in the reports if the
  815. Hidden privilege is specified.
  816. :note.If you want the orphans to appear in FILES.BBS (or in any other
  817. report), you MUST also request an ORP-list!
  818. :li.'OFFLINE" in stead of file-size and file-date is reported if
  819. FILES.BBS contains an file-entry while the file is not in the
  820. corresponding directory.
  821. :li.The BBS-list contains MAXIMUS authorisation controls
  822. (&caret.PLp-sequences), corresponding to the privilege of the area or the
  823. individual file.
  824. So it is not necessary to make different files for different categories
  825. of MAXIMUS users, even with the default privilege-limit SYSOP a
  826. user will not see the files he/she is not supposed to know about.
  827. :p.Other lists do not contain any privilege information,
  828. the files (or complete area's) above the specified privilege are simply
  829. not listed, however multiple lists can be produced for different
  830. categories of users (based on privilege).
  831. :eol.
  832. .* ---
  833. :h3.File Dates
  834. :p.One of the function of Downsort is sorting on file date.
  835. Since the introduction of HPFS in OS/2 version 1.2, there is not one
  836. single file-date anymore!
  837. A file on an HPFS volume has different values for:
  838. :ul compact.
  839. :li.Creation date
  840. :li.LastAccess date
  841. :li.LastWrite date
  842. :eul.
  843. :p.The date you see normally in DIR-listings is the LastWrite date.
  844. Most SYSOPs will have noticed that ZMODEM uploads and file-attaches
  845. give file-dates corresponding to the (LastWrite-) date of the sending
  846. system.
  847. And most utilities handle only this 'single' date.
  848. That means that old ZMODEM-uploaded files are generally not on top
  849. of the acquisition lists.
  850. :p.But HPFS stores the date of arrival on your system (Creation) as
  851. well.
  852. Downsort handles the Creation date for sorting, but the lists (see
  853. below) contain the 'old fashioned' LastWrite date.
  854. This has the following consequences:
  855. :ul compact.
  856. :li.A new acquisition is on top of lists, if that list is sorted on
  857. date, and are marked in the lists as new by a flag for an 'age' of a
  858. week or a month.
  859. :li.The listed file-date is the 'ordinary' date.
  860. So users can judge for themselves if the file is 'new' for them as well.
  861. :eul.
  862. :note.The LastAccess date is not very relevant for the purposes of
  863. Downsort, although SYSOP may see when it was last downloaded.
  864. :p.Downsort is delivered with a simple DIR-like utility 'HPFSDATE' to
  865. show the three dates of a file on a HPFS volume.
  866. .* ---
  867. :h3.Duplicates
  868. :p.Duplicate filenames are checked if the DUP-list is requested,
  869. and they will be reported only in the DUP-list.
  870. So duplicates may appear in the regular user-lists, which means:
  871. :ul compact.
  872. :li.If a filename.ext is encountered more than once in different
  873. subdirectories of FILES.BBS files, it will appear that many times in the
  874. outputlist.
  875. The file-privilege reflects that of the area where the file belongs to,
  876. unless overridden by a &caret.Px modifier in FILES.BBS.
  877. :li.It may happen that a file is reported as orphan in one area,
  878. and as duplicate in another.
  879. It is likely that the file is found in a common download directory of
  880. more than one area but it is described in the FILES.BBS of a 'secundary'
  881. area, but with the wrong extension.
  882. :eul.
  883. .* ==============================================
  884. :h1 id=specs.Parameter Specifications
  885. :p.This chapter tells you how to customise the configuration file and
  886. what you might specify on the commandline.
  887. :p.A sample configuration file (in :hdref refid=acfg.) is part of the
  888. package.
  889. It contains a brief comments (in Binkley and MAXIMUS style) to help you.
  890. .* --------------------------
  891. :h2 id=hcmd.Commandline parameters
  892. :p.This paragraph deals only with the commandline parameters!
  893. :p.NOTE: Parameters from Downsort.CFG are processed first, commandline
  894. parameters may complete and (partly) override those in the configuration
  895. file.
  896. :p.An explanation of how to read the command syntax diagram can be found
  897. in the (online) OS/2 Command Reference manual.
  898. :xmp.
  899. :cgraphic scale='1.1'.
  900. :on3270.
  901.                                       
  902.                                       v                        
  903.  Downsort 
  904.  drive 
  905.  path 
  906.                
  907.  @filespec 
  908.                                         
  909.  BBS 
  910.                                         
  911.        
  912.  &colon.p 
  913.      
  914.                                         
  915.  NEW 
  916.                                         
  917.        
  918.  &colon.pp 
  919.                                         
  920.  EMI 
  921.                                         
  922.        
  923.  &colon.pp 
  924.                                         
  925.  ALL 
  926.                                         
  927.        
  928.  &colon.pp 
  929.                                         
  930.  IPF 
  931.                                         
  932.        
  933.  &colon.pp 
  934.                                         
  935.  IP2 
  936.                                         
  937.        
  938.  &colon.pp 
  939.                                         
  940.  GBL 
  941.                                         
  942.        
  943.  &colon.pp 
  944.                                         
  945.  DUP 
  946.                                         
  947.        
  948.  &colon.p 
  949.      
  950.                                         
  951.                                         
  952.        
  953.  &colon.p 
  954.      
  955.                                         
  956.  ORP 
  957.                                         
  958.  FIL 
  959.                                         
  960.        
  961.  &colon.fpath 
  962.                                         
  963.  nnn 
  964.                                         
  965.        
  966.  D|W|M 
  967.                                         
  968.                                         
  969.           
  970.                                         
  971.                                         
  972.           
  973.                                         
  974.           
  975.                                         
  976.                                         
  977.                                         
  978.           
  979.                                         
  980.           
  981.                                         
  982. :off3270.
  983. :ecgraphic.
  984. :exmp.
  985. :dl tsize=12 termhi=2.
  986. :dt.@filespec
  987. :dd.The character '@' followed by a complete
  988. :hp2.file specification:ehp2. of the
  989. :hp2.Downsort configuration file:ehp2.
  990. (see :hdref refid=hcfg. for details).
  991. This file will be used to specify processing parameters.
  992. If the file cannot be read, only the commandline parameters are used.
  993. :p.NOTE: The use of a configuration file is mandatory when the file
  994. AREA.DAT is not in the default directory when running Downsort.
  995. :p.Default: Downsort.CFG in current default directory.
  996. :dt.BBS
  997. :dd.Create the BBS-list: Downsort.BBS.
  998. :p.Default: Downsort.BBS will not be created.
  999. :dt.NEW
  1000. :dd.Create NEW-list(s): Downsort.N&tilde.p,
  1001. where 'p' is the appropriate privilege class (see below).
  1002. :p.Default: Downsort.N&tilde.p will not be created.
  1003. :dt.EMI
  1004. :dd.Create EMI-list(s): Downsort.E&tilde.p,
  1005. where 'p' is the appropriate privilege class (see below).
  1006. :p.Default: Downsort.E&tilde.p will not be created.
  1007. :dt.ALL
  1008. :dd.Create ALL-list(s): Downsort.A&tilde.p,
  1009. where 'p' is the appropriate privilege class (see below).
  1010. :p.nnn-limit does not apply to ALL-list.
  1011. :p.Default: Downsort.A&tilde.p will not be created.
  1012. :dt.IPF
  1013. :dd.Create IPF-list(s): Downsort.I&tilde.p,
  1014. where 'p' is the appropriate privilege class (see below).
  1015. :p.nnn-limit does not apply to IPF-list.
  1016. :p.Default: Downsort.I&tilde.p will not be created.
  1017. :dt.IP2
  1018. :dd.Create IP2-list(s): Downsort.I&tilde.p,
  1019. where 'p' is the appropriate privilege class (see below).
  1020. :p.nnn-limit does not apply to IP2-list.
  1021. :p.Default: Downsort.I&tilde.p will not be created.
  1022. :dt.GBL
  1023. :dd.Create GBL-list(s): Downsort.G&tilde.p,
  1024. where 'p' is the appropriate privilege class (see below).
  1025. :p.nnn-limit does not apply to GBL-list.
  1026. :p.Default: Downsort.G&tilde.p will not be created.
  1027. :dt.DUP
  1028. :dd.Create DUP-list(s): Downsort.DUP.
  1029. :p.Only the privilege-specification and WRAP/TRUNC flag apply to
  1030. DUP-list.
  1031. :p.Default: Downsort.DUP will not be created.
  1032. :dt.OK
  1033. :dd.Create OKFile(s): Downsort.O&tilde.p.
  1034. :p.Only the privilege(s) and include-file specifications apply to the
  1035. OKFile.
  1036. :p.Default: Downsort.O&tilde.p will not be created.
  1037. :dt.ORP
  1038. :dd.Create ORP-list: Downsort.ORP (orphan report, if any orphans).
  1039. :p.If an orphan report is not requested, no other report will contain
  1040. any orphan information, even when 'Hidden' is specified as reporting
  1041. level.
  1042. :p.Default: Downsort.ORP will not be created.
  1043. :dt.FIL
  1044. :dd.Create FILES.BBS type of files for each area.
  1045. :p.The specification does not apply to FILES.BBS, a privilege-limit
  1046. cannot be specified and defaults to SYSOP.
  1047. Another privilege limit can be specified however by means of the
  1048. configuration file.
  1049. :p.For each individual area the following convention will be used
  1050. for the name and place of the FILES.BBS list (in this sequence):
  1051. :ol compact.
  1052. :li.If the "FIL&colon." parameter specifies a directory-path, then the
  1053. :rev refid=57.
  1054. :hp2.output:ehp2.-'FILES.BBS'-files of all areas are put in this directory
  1055. with the following naming convention:
  1056. :ol compact.
  1057. :li.When the length of any :hp2.reported:ehp2. areaname is longer than 3
  1058. characters, :hp2.all:ehp2. outputfiles will be called 'areaname.BBS',
  1059. where "areaname" is the name of the area according to Maximus' AREA.DAT.
  1060. :li.Otherwise the outputfile will be called "FILES.ac", where 'ac' is the
  1061. areaname.
  1062. This is the 'old' naming convention (before version 5.7) of Downsort.
  1063. :eol.
  1064. :p.In other words: only one of both naming conventions will be used during a
  1065. single run of Downsort, and if none of the reported area's has a name longer
  1066. than 3 characters it will be the 'old' convention for :hp2.all:ehp2..
  1067. :erev refid=57.
  1068. :p.Previous files in this directory with the same name will be discarded.
  1069. :li.If "ListFile" is specified in Maximus' AREA.CTL file, then that name and
  1070. path will be used.
  1071. :li.Otherwise the file FILES.BBS: will be put in the directory with the
  1072. download files.
  1073. :eol.
  1074. :p.For situations 2 and 3 existing files will be renamed to .BAK
  1075. (older .BAK files will be discarded).
  1076. :p.Default: FILES.BBS-type of files will not be generated.
  1077. :dt.fpath
  1078. :dd.Optional directory path specification for FILES.BBS-output.
  1079. See the "FIL&colon." parameter for usage.
  1080. :p.Default: none
  1081. :dt.nnn&lbrk.P&rbrk.
  1082. :dd.If 'nnn' is specified sec (without a trailing letter), then it is
  1083. the maximum :hp3.number:ehp3. of files to be reported in the BBS- and
  1084. NEW-list(s).
  1085. When followed by a character (only D, W and M are allowed), then
  1086. 'nnn' specifies the maximum age of the files in number of
  1087. :hp3.D:ehp3.ays, :hp3.W:ehp3.eeks or :hp3.M:ehp3.onths, to be included
  1088. in NEW- and BBS-lists.
  1089. A maximum value of 32767 can be specified.
  1090. :p.Default: all files up to and including the (specified or default)
  1091. privilege class will be listed..
  1092. :dt.p
  1093. :dd.Single privilege character.
  1094. :p.Lists only download files with a privilege of up to and including
  1095. privilege 'p'.
  1096. The indicator must be the first character of an existing MAXIMUS
  1097. privilege level (T, D, L, N, W, P, F, E, C, A, S, H).
  1098. No error-message is given for an invalid privilege character,
  1099. there will simply be no file-list for an invalid character!
  1100. :p.For the BBS-list and DUP-list only a single privilege character is
  1101. allowed, the files lists will get the extension of BBS and DUP
  1102. respectively.
  1103. :p.Default: S  (SYSOP):  files of all privilege levels will be listed,
  1104. except HIDDEN files (with real Hidden privilege or files for which no
  1105. entry could be found in FILES.BBS).
  1106. :dt.pp
  1107. :dd.Multiple privilege characters (minumum 0, maximum 10).
  1108. :p.Make for every valid specified privilege level a download-list
  1109. with files of a privilege of up to and including privilege 'p'.
  1110. The indicator must be the first character of an existing MAXIMUS
  1111. privilege level.
  1112. No error-message is given for an invalid privilege character,
  1113. there will simply be no file-list for an invalid character!
  1114. :p.Applies to ALL-, GBL-, IPF-, NEW- and OK-lists, these are called
  1115. Downsort.A&tilde.p, Downsort.G&tilde.p, Downsort.I&tilde.p,
  1116. Downsort.N&tilde.p and Downsort.O&tilde.p
  1117. respectively, were 'p' represents the applicable privilege character.
  1118. :p.Default: S  (SYSOP):  files of all privilege levels will be listed,
  1119. except HIDDEN files (with real Hidden privilege or files for which no
  1120. entry could be found in FILES.BBS).
  1121. :dt./T /W
  1122. :dd.Action to be taken if the file description would cause the
  1123. reportline to exceed 79 characters:
  1124. :ul compact.
  1125. :li.T&rbl.-&rbl.:hp4.t:ehp4.runcate the description
  1126. :li.W&rbl.-&rbl.:hp4.w:ehp4.rap the description and provide as many
  1127. reportlines as needed to show the complete description.
  1128. :eul.
  1129. :p.Default: -T for NEW-list and BBS-list, -W for ALL-, IPF- and GBL-list.
  1130. :dt./A /D /K
  1131. :dd.Sorting method.
  1132. :ul compact.
  1133. :li.A&rbl.-&rbl.Sort the files :hp4.a:ehp4.lphabetically on filename.
  1134. :li.D&rbl.-&rbl.Sort the files on reversed :hp4.d:ehp4.ate sequence
  1135. (newest file on top of list).
  1136. :li.K&rbl.-&rbl.:hp4.k:ehp4.eep lines in sequence of FILES.BBS
  1137. and keep the interfile comment lines.
  1138. :eul.
  1139. :p.When the -A option is selected, an additional header-line will appear
  1140. in the BBS-list and NEW-list, indicating the latest acquisition.
  1141. This line is not needed and will not be done when these lists are sorted
  1142. on date, since the the latest acquisition will be on top of the list!
  1143. :p.The -K option is useful in situations where the files are
  1144. primarily grouped on AREA, i.c. ALL-, IPF- and FIL-list.
  1145. :p.If :hp2.and only if:ehp2. this option specified, any imbedded
  1146. comments in FILES.BBS are copied to the ALL-, IPF- and/or
  1147. FILES.bbs-files.
  1148. :p.Default: -K for FILES.BBS, -D for BBS- and NEW-files, -A for other.
  1149. :dt./L
  1150. :dd.Generate a LONG OKfile with explicit filenames,
  1151. rather than a list with generic file specifications (path\*.*).
  1152. :rev refid=57.
  1153. For FILES.BBS output it means that file size and file date will be included
  1154. for every file.
  1155. :erev refid=57.
  1156. :dt./H /Q /V
  1157. :dd.Operating mode
  1158. :ul compact.
  1159. :li.H&rbl.-&rbl.:hp4.h:ehp4.elp:  display screen with essential information
  1160. about running Downsort, such as the command syntax.
  1161. In that case the program will not undertake any other action.
  1162. :li.Q&rbl.-&rbl.:hp4.q:ehp4.uiet:  display only start and finish-message,
  1163. and error messages which prevent the program from proceeding normally.
  1164. :li.V&rbl.-&rbl.:hp4.v:ehp4.erbose:  display a lot of progress messages.
  1165. :eul.
  1166. If neither -Q nor -V is specified, than the number of console messages
  1167. will be 'intermediate': more than -Q, but less than -V.
  1168. :p.Default: none
  1169. :dt./X
  1170. :dd.Exclude Privilege Indications
  1171. :ul compact.
  1172. :li.X&rbl.-&rbl.e:hp4.x:ehp4.clude privilege indications in all list-types.
  1173. Some SYSOPs want to hide any kind of privilege-system for users and
  1174. file-requesters of their Bulletin Board System.
  1175. With the -X option specified all privilege indications will be
  1176. suppressed.
  1177. :note.This does not apply to the compiled MECCA privilege controls in
  1178. the BBS-list!
  1179. :eul.
  1180. :p.Default: none (privilege indications will be reported).
  1181. :edl.
  1182. .* ---------------------------------
  1183. :h2.Hints for specifications
  1184. :li.All commandline parameters are optional, may be specified in any
  1185. sequence and are case independent.
  1186. :li.Parameters from the configuration file are processed before those
  1187. from the commandline.
  1188. This has some side-effects, like:
  1189. :ul compact.
  1190. :li.If you specify a specific list in Downsort.Cfg, it will be created
  1191. anyhow, whatever you specify on the commandline.
  1192. :li.However, if you specify privilege values on the commandline, only
  1193. the commandline values will be used, and none from the configuration
  1194. file.
  1195. :li.Commandline parameters have a global meaning, and are applied to all
  1196. lists (if applicable).
  1197. For example: if you specify '-A' on the commandline, all lists will be
  1198. sorted alphabetically on filename.
  1199. :eul.
  1200. :li.Parameters that can be specified with the configuration file only,
  1201. and cannot be overridden with a commandline parameter are:
  1202. :ul compact.
  1203. :li.BLOCK title-text and -font
  1204. :li.Other titles
  1205. :li.Filename and individual list-options
  1206. :li.Privilege for FILES.BBS output
  1207. :li.Replacements of some warnings and messages that may appear in the
  1208. lists.
  1209. :eul.
  1210. :li.Even when specified on the commandline, or in Downsort.CFG,
  1211. the Orphan-report will be generated only if there are any orphans,
  1212. and then the specified parameters apply.
  1213. :li.The IPF-list has to be processed by the Information Presentation
  1214. Facility Compiler (IPFC).
  1215. This compiler is part of the IBM Programmers Development Toolkit version
  1216. 1.2 and 1.3. For the IP2-list the OS/2 2.0 or 2.1 toolkit is needed.
  1217. The following command has to be issued:
  1218. :xmp.
  1219.     IPFC  Downsort.IPF  /INF
  1220. :exmp.
  1221. :p.The option "/INF" is essential (but not documented!) to obtain
  1222. a viewable file.
  1223. Be also sure to have the file Downsort.BMP in your current default
  1224. directory, or in DPATH, as this will be imbedded by the IPF-compiler.
  1225. The result of the compilation is a file Downsort.INF, which can be
  1226. VIEWed with the following command:
  1227. :xmp.
  1228.     VIEW  Downsort
  1229. :exmp.
  1230. :note.
  1231. :ul compact.
  1232. :li.The names "Downsort", "IPF" and "INF" are used here as sample,
  1233. actually the filename depends on the specification in the Downsort
  1234. configuration file, the extensions are the IPFC defaults.
  1235. :li.If VIEW gives garbled columns and hardly readable block-titles,
  1236. then it is most likely that you did not install (or removed) the
  1237. standard fonts that are delivered with OS/2.
  1238. Start the 'control panel utility', select 'installation', 'add fonts'.
  1239. Specify in the 'from'-field C&colon.\OS2\DLL (see HELP of control panel).
  1240. Now choose at least 1 non-proportional font.
  1241. :eul.
  1242. :eol.
  1243. .* --------------------------
  1244. :h2 id=hcfg.Configuration file Parameters
  1245. :p.Almost all processing options may be specified in a configuration
  1246. file.
  1247. This is a somewhat more convenient way to specify processing parameters,
  1248. and provides even more customisation posibilities for the lists.
  1249. It is a good place for the more static parameters of your environment.
  1250. Commandline parameters are nice to create quickly 'another' list
  1251. or a different format (for example wrapped or truncated descriptions).
  1252. The parameters are only mentioned here for completeness,
  1253. see :hdref refid=acfg. for a documented specification sample
  1254. of a configuration file.
  1255. .* -----------
  1256. :h3.Parameters with global scope
  1257. :p.The parameters below influence the execution of Downsort,
  1258. or have impact on :hp2.every:ehp2. list (if it is applicable for that
  1259. list).
  1260. :ul compact.
  1261. :li.File Specification of the MAXIMUS CBCS file 'AREA.DAT'.
  1262. :li.Area Selection
  1263. :li.Sorting order of areas
  1264. :li.List title with BLOCK-characters.
  1265. :li.Font for the BLOCK title.
  1266. :li.Pre-titles, Sub-titles and Bottom-lines in 'text' format
  1267. :li.Descriptive text of orphans, files without a description
  1268. and files for which an entry is found in FILES.BBS, but could not
  1269. be found in the corresponding download directory.
  1270. :li.Maximum number of entries in NEW-list and BBS-list.
  1271. :eul.
  1272. .* -----------
  1273. :h3.Parameters with local scope
  1274. :p.The parameters below are sub-parameters of the xxxFileList keyword.
  1275. :ul compact.
  1276. :li.Up to 10 privileges for NEW-, GBL-, ALL- and IPF-list (each
  1277. resulting in a separate list).
  1278. :li.Alternate output filename (in stead of the default Downsort).
  1279. :li.Directory for the :hp2.output:ehp2. FILES.BBS-lists
  1280. :li.Maximum number of file entries in NEW-list and BBS-list
  1281. :li.File-entry sort sequence (filename or date).
  1282. :li.Wrap or Truncate long file descriptions.
  1283. :li.Title Font selection.
  1284. :li.Suppression of privilege indications in NEW-, ALL-, IPF- and
  1285. GBL-lists.
  1286. :li.Include textfile in NEW-, ALL-, IPF- and GBL-lists, and in FILES.bbs.
  1287. :eul.
  1288. :p.Downsort can generate several lists in a single run, but processes
  1289. only the specifications of a single xxxFileList of the same type.
  1290. If you need different layouts, for example an ALL-list with files sorted
  1291. on date, and another ALL-list with files sorted on filename, then
  1292. you would need 2 invocations of Downsort with different configuration
  1293. files.
  1294. :p.If you specify more than one xxxFileList line of the same type,
  1295. then the paramaters of each of the lines are 'mixed': some will be
  1296. overwritten, some others will remain there from previous specifications.
  1297. It will probably give unwanted effects!
  1298. :p.A sample configuration file is provided.
  1299. A listing of this file is imbedded as :hdref refid=acfg..
  1300. It contains a complete specification with comments on:
  1301. :ul compact.
  1302. :li.which options are available
  1303. :li.how to specify the options
  1304. :eul.
  1305. :p.Read and modify the file as you like.
  1306. Copy the sample file to a save place before you start modifying the
  1307. original Downsort.CFG!
  1308. :p.NOTE: The parameters from Downsort.CFG are processed first, then
  1309. commandline parameters, which may complete and will (partly) override
  1310. those in the configuration file.
  1311. .* =====================================================
  1312. :h1 id=sampl.Sample of Getting organised
  1313. :p.Assume you are runnung MAXIMUS with BinkleyTerm as front end mailer.
  1314. Suppose you make a distinction for file-requestors between Unknown, Known
  1315. and Password-Protected (e.g. corresponding to Disgrace, Normal and
  1316. Privileged MAXIMUS users).
  1317. .* ----------------------------------------------
  1318. :h2.Downsort
  1319. :p.You might have a specification like this:
  1320. :xmp scale='1.1'.
  1321.   Downsort bbs&colon.p new&colon.dnp all&colon.dnp 100
  1322. :exmp.
  1323. :p.In addition to or in place of the specifications in Downsort.CFG,
  1324. this specification produces the following lists:
  1325. :li.Orphan report (only if there are any orphans).
  1326. :li.Downsort.BBS with 100 entries for MAXIMUS users of category Privil.
  1327. Users with a lower privilege will actually see a shorter list
  1328. if the file contains Privil entries.
  1329. :li.For file requestors of the magic filename FILES a list,
  1330. a list with all files
  1331. (with optional titles via Downsort.CFG specifications):
  1332. :ul compact.
  1333. :li.Downsort.A&tilde.D for UNKNOWN file-requestors
  1334. :li.Downsort.A&tilde.N for KNOWN file-requestors
  1335. :li.Downsort.A&tilde.P for Password Protected file-requestors
  1336. :eul.
  1337. :p.Note that each list is a complete list of what is available to
  1338. the user of the specific privilege class,
  1339. but your system will generally contain more files than listed for
  1340. UNKNOWN and KNOWN users!
  1341. :li.For file requests of the magic filename NEWFILES a list
  1342. of the 100 most recent additions to your system
  1343. (with optional titles via Downsort.CFG specifications):
  1344. :ul compact.
  1345. :li.Downsort.N&tilde.D for UNKNOWN file-requestors
  1346. :li.Downsort.N&tilde.N for KNOWN file-requestors
  1347. :li.Downsort.N&tilde.P for Password Protected file-requestors
  1348. :eul.
  1349. :p.Note that each list is 100 entries long, but the contents will
  1350. generally not be quite the same
  1351. (depending on your privilege strategy).
  1352. :eul.
  1353. :p.In general: files, which the requestor is not supposed to know about
  1354. due to his privilege status, will not be on his/her list!
  1355. :note.The counters on top of the lists indicate what your system has
  1356. available in total (including higher privileges), so a clever
  1357. user/file-requester may come up with the question how that is possible:
  1358. explain that he/she has to earn a higher privilege level!
  1359. .* ------
  1360. :h2.BinkleyTerm
  1361. :p.In Binkley.Cfg you should specify for requests of FILES:
  1362. :xmp scale='1.1'.
  1363.   Avail        Downsort.A&tilde.d
  1364.   KnownAvail   Downsort.A&tilde.n
  1365.   ProtAvail    Downsort.A&tilde.p
  1366. :exmp.
  1367. :p.Furthermore you may need to specify different OKFILEs:
  1368. .cp 5
  1369. :xmp scale='1.1'.
  1370.   OKFile       Download.N
  1371.   KnownReqList Download.K
  1372.   ProtReqList  Download.P
  1373. :exmp.
  1374. .cp 16
  1375. :p.And in each of the appropriate filerequest authorisation files
  1376. you should specify the appropriate file-spec:
  1377. :xmp.
  1378. :cgraphic scale='1.1'.
  1379. :on3270.
  1380.        in: 
  1381.  OKFile       
  1382.  KnownReqList  
  1383.  ProtReqList   
  1384.            
  1385.  (Download.N) 
  1386.  (Download.K)  
  1387.  (Download.P)  
  1388.  for:      
  1389.               
  1390.                
  1391.                
  1392.  .....     
  1393.  .........    
  1394.  ...........   
  1395.   ........     
  1396.  @NEWFILES 
  1397.  Downsort.N&tilde.d 
  1398.  Downsort.N&tilde.n  
  1399.   Downsort.N&tilde.p 
  1400.  @FILES    
  1401.  Downsort.A&tilde.d 
  1402.  Downsort.A&tilde.n  
  1403.   Downsort.A&tilde.p 
  1404.  .....     
  1405.  .........    
  1406.  ...........   
  1407.   ........     
  1408. :off3270.
  1409. :ecgraphic.
  1410. :exmp.
  1411. :p.This will result in sending of the appropriate NEW-list to every
  1412. requester of the magic filename: NEWFILES.
  1413. If you use the second magic filename, then the Avail-lines in
  1414. Binkley.Cfg are not needed, and you might prefer this way.
  1415. :p.Of course if the privilege level of all download area's is the same,
  1416. this construction is not needed,
  1417. but in that case it is unlikely that you have specified KnownAvail and
  1418. ProtAvail!
  1419. :p.Downsort may create a set of OK-files for you.
  1420. The privilege system of MAXIMUS CBCS is used to select the download
  1421. paths in this list.
  1422. .* ===============================================
  1423. :h1.Packaging
  1424. .* ---------------------
  1425. :h2.Availability
  1426. :p.The most recent version of Downsort is always downloadable and
  1427. file-requestable from Bulletin Board "PC-Square" of the Dutch IBM
  1428. employee PC club.
  1429. Search or request DWNSRT??.* to be independent of the version and
  1430. compression method!
  1431. :p.FIDO-net address:  2&colon.512/4; phone:  31-79-424107 (USR HST-DS).
  1432. :p.Downsort is distributed in area SDSMAX of the international Shareware
  1433. Distribution System.
  1434. :p.There is a fair chance you may find a recent version on one of
  1435. the other bulletin boards, listed in :hdref refid=ause..
  1436. :p.Downsort is distributed in 2 archives:
  1437. :li.A file "DWNSRTxy.ZIP", containing all material you need to run
  1438. Downsort, including documentation, formatted for browsing or printing
  1439. (formfeed is the only printer-control).
  1440. :li.A file "DWNSRSxy.ZIP", containing all SOURCE material.
  1441. :eul.
  1442. :note.'xy' is the version indication,
  1443. for example DWNSRT&VERSION.&SUBVERS..ZIP is the version
  1444. &VERSION..&SUBVERS. runtime package.
  1445. .* -----------------
  1446. :h2.RUN-time material
  1447. :dl tsize=20 termhi=3 compact.
  1448. :dt.WHATSNEW.&VERSION.&SUBVERS.&SUFFIX.
  1449. :dd.Summary of amendments to version &VERSION..&SUBVERS. of Downsort.
  1450. :dt.DOWNSORT.EXE
  1451. :dd.Execution module for OS/2 and DOS (Family Application)
  1452. :rev refid=57.
  1453. :dt.DOWN386.EXE
  1454. :dd.32-bits execution module for OS/2 2.0 or 2.1.
  1455. :dt.DOWN386.ICO
  1456. :dd.ICON file for DOWN386.EXE.
  1457. :erev refid=57.
  1458. :dt.DOWNSORT.DOC
  1459. :dd.Documentation (this file!).
  1460. :dt.DOWNSORT.CFG
  1461. :dd.Sample configuration file.
  1462. This file contains comment lines with extensive instructions how to
  1463. specify the parameters in the file.
  1464. :dt.DOWNSORT.HDR
  1465. :dd.Sample BBS-list header.
  1466. You may use this header, which is only imbedded in the BBS-list,
  1467. to imbed text and/or MECCA-sequences.
  1468. A good candidate for the latter would be &lbrk.onexit&rbrk.,
  1469. which translates to &caret.OFpath.
  1470. See the sample Downsort.HDR file!
  1471. :dt.DOWNSORT.TRL
  1472. :dd.Sample BBS-list trailer.
  1473. :dt.DOWNSORT.BMP
  1474. :dd.Bitmap for the IPF-list, to be included by the IPF compiler.
  1475. :dt.DOWNSORT.INC
  1476. :dd.Sample Include-file for the reports, referenced in Downsort.CFG.
  1477. :dt.DOWNSORT.MAG
  1478. :dd.Sample list of magic names to be included in OKFile(s).
  1479. See BinkleyTerm documentation for details of its format and contents.
  1480. :dt.HPFSDATE.EXE
  1481. :dd.Program to display all three timestamps of a file on an HPFS volume,
  1482. and optionally reset the CREATION date to LASTWRITE date
  1483. (helpful after moving or copying of files).
  1484. Start the program without options to display command syntax and help.
  1485. :dt.PACKING.LST
  1486. :dd.The actual contents of the package (produced with PKUNZIP -V),
  1487. added to the ZIP-file after this was created with the foregoing files
  1488. of this archive.
  1489. This gives at least some authentication!
  1490. :edl.
  1491. .* ---
  1492. :h2.Source material
  1493. :dl tsize=20 termhi=3 compact.
  1494. :dt.DOWNSORT.C
  1495. :dd.Mainline.
  1496. :dt.DOWNCOL.C
  1497. :dd.Data collection functions.
  1498. :dt.DOWNFNT.C
  1499. :dd.Font definition and formatting functions.
  1500. :dt.DOWNPAR.C
  1501. :dd.Processing functions for commandline and Downsort.CFG parameters.
  1502. :dt.DOWNRPT1.C
  1503. :dd.Functions for NEW-, BBS- and EMI-list.
  1504. :dt.DOWNRPT2.C
  1505. :dd.Functions for the IPF-lists.
  1506. :dt.DOWNRPT3.C
  1507. :dd.Functions for the SYSOP-oriented lists, like ORPhan-, OK-, and
  1508. DUPlicate-lists, as well as FILES.BBS files.
  1509. :dt.DOWNRPT4.C
  1510. :dd.Functions for the ALL- and GBL-lists.
  1511. :dt.DOWNSRV.C
  1512. :dd.Miscellaneous services functions.
  1513. :dt.DOWNVARS.C
  1514. :dd.Constants and global variables.
  1515. :dt.DOWNSORT.H
  1516. :dd.Header file, with external definitions of global variables.
  1517. :dt.DOWNFPRO.H
  1518. :dd.Common (global) function prototypes.
  1519. :dt.DOWNSORT.SCR
  1520. :dd.Unformatted documentation file.
  1521. This file includes formatting tags in BOOKMASTER style for printing on
  1522. whatever devices are supported (like IBM page printers).
  1523. This format is compatible and can be formatted on an IBM host system
  1524. with DCF (SCRIPT) as well.
  1525. The file can also processed by the IPF-compiler (just ignore the
  1526. warnings and error-messages!).
  1527. :dt.DOWNSORT.DEF
  1528. :dd.LINK definition file for OS/2 (1.3 and 2.0)
  1529. :rev refid=57.
  1530. :dt.DOWN386.MAK
  1531. :dd.MAKE file for DOWN386.EXE for OS/2 2.0 or 2.1, C Set/2 compiler and
  1532. appropriate program development toolkit (OS/2 2.0 or 2.1)
  1533. :dt.DOWNSORT.MAK
  1534. :dd.MAKE file for Downsort.EXE OS/2 1.3, MS C-compiler 6.00a.
  1535. The program development toolkit (OS/2 1.2/1.3) is needed when using IBM C/2
  1536. 1.1 compiler.
  1537. :erev refid=57.
  1538. :dt.PACKING.LST
  1539. :dd.The actual contents of the package (produced with PKUNZIP -V),
  1540. added to the ZIP-file after this was created with the foregoing files
  1541. of this archive.
  1542. This gives at least some authentication!
  1543. :edl.
  1544. .* --------------------------
  1545. :h2 id=inst.Installation
  1546. :p.With the following directions you should be able to setup and run
  1547. Downsort in a very short time.
  1548. :li.Make a separate directory for Downsort, and make it the current
  1549. default directory every time you run Downsort.
  1550. The separate directory is a recommendation, not a requirement!
  1551. :li.Copy the files Downsort.EXE and Downsort.CFG
  1552. from the Downsort package into this directory.
  1553. :li.Modify (edit) the file Downsort.CFG to specify your environment and
  1554. list requirements.
  1555. The sample file contains comments to help you with this process.
  1556. Most specifications are obvious.
  1557. AreaDat is the most important parameter:
  1558. Downsort won't do anything useful if it cannot find this MAXIMUS
  1559. file.
  1560. See :hdref refid=acfg. for a printed sample.
  1561. :li.You may give Downsort a first shot by just using its name
  1562. on the commandline, with the parameter -H.
  1563. This will show a brief HELP-screen with the possible commandline
  1564. parameter specifications.
  1565. :li.All reports will be created in the Downsort directory
  1566. (unless you specified 'fpath' for the FILES.BBS output).
  1567. Browse the lists to see if you like the contents and titles, and modify
  1568. the CFG-file to your convenience.
  1569. :eol.
  1570. .* -----------------------------
  1571. :h2.Dependencies and restrictions
  1572. :li.Applies to MAXIMUS CBCS 2.01
  1573. :li.Requires OS/2 or DOS 3.0+.
  1574. :li.To convert the IPF-list into VIEW-able format, the IPF-Compiler of the
  1575. OS/2 Program Development Toolkit is required (for the IP2-list the
  1576. corresponding OS/2 2.0 version of this compiler)
  1577. :li.The input FILES.BBS files are assumed to contain only filename.ext
  1578. (the regular 8.3 format, no support for OS/2 1.2+ HPFS format),
  1579. the remainder of the line is considered as file description.
  1580. The filename should be left-aligned (start in position 1).
  1581. :p.If a privilege modifier (&caret.Px) is encountered in FILES.BBS
  1582. then 'x' will become the privilege of all subsequent files (it assumes
  1583. &caret.Px on a SEPARATE line, the REST OF THE LINE IS IGNORED!).
  1584. Heading, comments and blank lines in FILES.BBS are ignored,
  1585. unless /K is specified on the FilFileList line of Downsort.Cfg.
  1586. In that case comments following line 8 (the standard header created by
  1587. Downsort) are preserved.
  1588. The modified privilege might be higher (generally the case) or lower
  1589. than the area-privilege.
  1590. :eul.
  1591. .* -----------
  1592. :h2 id=perf.Storage and Performance
  1593. :p.As a rough estimate of the memory requirements of Downsort,
  1594. use sum of the following elements:
  1595. :li.Program: about 80KB
  1596. :li.Each area: 300 Bytes
  1597. :li.Each file: 48 Bytes for each download file (excluding file
  1598. descriptions and excluding orphans if no orphan-list requested)
  1599. :li.The sum of the file description texts (average 80 bytes/file?)
  1600. :li.The sum of the comments in FILES.BBS if -K option specified
  1601. :eul.
  1602. :p.The maximum number of area's for reporting is 217.
  1603. Your system may have more, but Downsort can currently not work properly
  1604. when more than 217 area's will have to be scanned for files.
  1605. :p.There is a limit on the number of files that can be processed by
  1606. Downsort: about 16350.
  1607. I suppose you'll reach other limits first, for example available memory
  1608. (under DOS).
  1609. But might you reach this limit, then you could do one or more of the
  1610. following:
  1611. :ul compact.
  1612. :li.Use AreaEXclude or AreaINclude to make a selection of groups
  1613. (for example make separate OS/2 and a DOS file-lists).
  1614. Downsort will not collect information of 'excluded' areas.
  1615. :li.If you have many orphans: get rid of them or do not generate an
  1616. orphan report.
  1617. Downsort releases orphan-memory during the data collection phase as soon
  1618. as it knows that a file is an orphan.
  1619. :li.If you have many comment-lines in your FILES.BBS: do not specify /K
  1620. for ALL- and IPF-lists AND do not activate the FILFilePath parameter in
  1621. Downsort.Cfg.
  1622. Downsort will skip comments in FILES.BBS when it does not need them
  1623. for reporting.
  1624. :eul.
  1625. Downsort has been built with a 'guess' about needed stack space.
  1626. The author would appreciate to receive a report for a better estimate.
  1627. :p.Processor performance was an issue for large file-area's before
  1628. version 4.5 of Downsort in the data-collection process.
  1629. That has been partly rewritten in version 4.5 and significantly improved.
  1630. Fastest execution will always be obtained when the input FILES.BBS is
  1631. already sorted on filename.
  1632. .* -------------------------------
  1633. :h2.Problems
  1634. :p.Although I try to prevent the cause of them, there are some
  1635. unresolved problems in the current version of Downsort:
  1636. :li.One user reported unidentified characters in titles.
  1637. :eul.
  1638. .* ---------------------------------------
  1639. :h2.Wishlist
  1640. :p.Downsort is not finished!
  1641. There are a number of wishes and requirements of users and myself to
  1642. include in future releases.
  1643. I list them below not in any particular order, but some seem to be more
  1644. important than others, that differs from SYSOP to SYSOP.
  1645. And some are more easy to implement than others, which depends mainly
  1646. on the author!
  1647. Some wishes don't even make it to be listed below and are implemented
  1648. immediately!
  1649. :ul compact.
  1650. :li.Follow the MAXIMUS development (changing AREA.DAT and other
  1651. structures), and support several versions simultaneously.
  1652. :li.User-configurable options for:
  1653. :ul compact.
  1654. :li.week and month indicators
  1655. :li.indicator for continuation lines in wrapped descriptions
  1656. :li.Avatar codes in FILES.BBS headers
  1657. :li.&lbrk.selectable&rbrk. MECCA control in FILES.BBS
  1658. :li.Private headers in FILES.BBS in stead of the standard headers
  1659. :li.Right margin (line length) and left margin for continuation lines of
  1660. long descriptions, and an optional 'indent' for a download counter.
  1661. :eul.
  1662. :li.Logging to file in stead of stdout to obtain a history file
  1663. of Downsort usage.
  1664. :li.File-selection with MAXIMUS CBCS key/lock parameters in addition to
  1665. or in stead of area privilege levels.
  1666. :li.Support for use of 'barricaded' areas and key/lock.
  1667. :li.List with the format of IPF-list but the contents of NEW-list.
  1668. :li.Automatic removal of 'bad' files (like .BAK-files, obsolete files,
  1669. files that are not in FILES.BBS), maybe move them to a special
  1670. BAD&us.FILE directory.
  1671. Entries in FILES.BBS should be removed accordingly.
  1672. :eul.
  1673. :p.Remember: Was there ever a time that all your wishes were fulfilled?
  1674. That was the most boring time of your life, wasn't it?
  1675. .* ===================================================================
  1676. :h1.Internals
  1677. .* ------
  1678. :h2.Development Environment
  1679. :rev refid=57.
  1680. :p.The family-version of Downsort (for OS/2 1.3 and DOS) is compiled with
  1681. MicroSoft C compiler version 6.00a, with the IBM OS/2 Programming Tools and
  1682. Information (generally called the OS/2 toolkit) under IBM OS/2 Extended
  1683. Edition 1.3 as COMPACT memory model.
  1684. The generated code is at 80286 level (Compiler option /G2), since I
  1685. believe that only very few Bulletin Boards do use an XT these days.
  1686. :p.The 32-bit OS/2 2.0+ only version of Downsort is compiled with IBM
  1687. C&rbl.Set/2 and the 2.0 Toolkit.
  1688. :p.There is only a single set of source files.
  1689. A compiler variable takes care of the selection between 1.3 and 2.0
  1690. calls where necessary.
  1691. :p.Downsort has been tested for MAXIMUS CBCS 2.0, with the following
  1692. Operating Systems:
  1693. :ul compact.
  1694. :li.IBM OS/2 versions 1.3, 2.0 and 2.1
  1695. :li.IBM PC/DOS version 5.0.
  1696. :eul.
  1697. :erev refid=57.
  1698. .* ---------------------------
  1699. :h2.Program Organisation
  1700. :p.The program is organised as follows:
  1701. :li.Initialisation:
  1702. :ul compact.
  1703. :li.Read configuration file.
  1704. :li.Process commandline parameters.
  1705. :eul.
  1706. :p.Commandline parameters may override configuration file parameters.
  1707. :li.Read AREA.DAT file to collect download pathnames
  1708. (only of those area's that will participate this time).
  1709. :li.For each file-area with a privilege not exceeding any list-request:
  1710. :li.Read subdirectory (with find-file-first/next function).
  1711. Take only Normal files: ignore directory entries, Hidden and System
  1712. files and volume labels.
  1713. Also ignore files with the following specifications: FILES.*,
  1714. *.BAK, DIR.?BS and SYSTEM*.?BS.
  1715. :li.For all regular file-entries found in subdirectory:
  1716. :ul compact.
  1717. :li.Get filename.ext, attribute, date, time, size.
  1718. :li.Get file-description from FILES.BBS file.
  1719. The path to the FILES.BBS file is (1) obtained from the "ListFile"
  1720. specification in MAXIMUS AREA.DAT file, or (2) if not specified from the
  1721. "DownLoad" specification (among the download files).
  1722. :rev refid=57.
  1723. :li.Add files with explicit path specifications.
  1724. :erev refid=57.
  1725. :li.Get file privilege 1) from area, 2) from FILES.BBS file if higher.
  1726. :li.When no orphan reporting is required, then drop orphan entries
  1727. area-by-area.
  1728. :eul.
  1729. :eul.
  1730. :li.For the ORP-list:
  1731. :p.If any orphan found, and the orphan-report is requested, create the
  1732. orphan report, with the file-entries sorted on (1) area and (2)
  1733. filename.
  1734. :li.For the BBS-list:
  1735. :ul compact.
  1736. :li.Sort the files primarily on descending file-timestamp (and secundary
  1737. on file-name and area-code).
  1738. :li.Resort the first files on filename if requested.
  1739. :li.Create output file for sorted list of filenames, -descriptions, etc.
  1740. The file is placed in the current subdirectory (which generally will be
  1741. the MAXIMUS directory) with the name Downsort.BBS.
  1742. :li.Copy a headerfile (for a customised MAXIMUS bulletin).
  1743. :li.Put files in formatted outputfile (filename, area#, date, size,
  1744. description), but only if description is found in FILES.BBS.
  1745. Skip files with privilege higher than commandline (or default)
  1746. parameter.
  1747. Precede each line with a privilege-control sequence (&caret.PLx string)
  1748. so that MAXIMUS users below the specified max-priv-level do effectively
  1749. see only the files they can download.
  1750. :li.Include a trailerfile in the outputfile (for a custimised Bulletin).
  1751. :li.Report non-listed files on standard output device (which might be
  1752. re-directed to printer or disk-file).
  1753. :eul.
  1754. :li.If requested, put the above file collection in Downsort.N&tilde.p
  1755. with similar contents and layout as Downsort.BBS, but without
  1756. BBS-control sequences, and without including a header and trailer file.
  1757. Produce a list for the default privilege (HIDDEN), or one for each
  1758. specified privilege.
  1759. :li.If requested, re-sort files on area and then filename or date, and
  1760. create Downsort.A&tilde.p, containing all files (respecting the
  1761. privilege restrictions!).
  1762. Area's with zero files within the applicable privilege limit will not
  1763. be listed at all (will seem non-existing!).
  1764. Produce a list for the default privilege (SYSOP), or one for each
  1765. specified privilege.
  1766. :p.At the end of the list, an area summary report is generated.
  1767. :li.If requested, re-sort files on filename or date only, and create
  1768. Downsort.GBL.
  1769. :li.If requested, re-sort files on area, privilege and filename, and
  1770. create for each area a FILES.BBS-type of file.
  1771. :li.If requested generate a list of probably DUPlicate files.
  1772. :li.If requested generate a list of download-paths: the OK-file
  1773. (not: it will contain only the paths that participated in this run.
  1774. :eul.
  1775. :p.NOTE: the program firstly reads a directory for existing files
  1776. (not Hidden- or System-files, and not Subdirectory or Volumelabel),
  1777. and then reads FILES.BBS to assign a description to each file.
  1778. This means:
  1779. :ul compact.
  1780. :li.If more than 1 matching file-specification in FILES.BBS of the
  1781. involved area is found (note that wild-card specifications in FILES.BBS
  1782. are supported!), than the :hp2.first matching description:ehp2. from
  1783. FILES.BBS will appear in the lists
  1784. (new in version 4.5, was 'last' in previous versions of Downsort).
  1785. :li.Files for which no description is found in FILES.BBS will get
  1786. "---no description available---"
  1787. (or the replacement string you specified in Downsort.CFG)
  1788. in the user reports.
  1789. :li.Files for which no matching filename in FILES.BBS is found will
  1790. be listed in the Orphan report (Downsort.ORP).
  1791. :p.Files for which there is an entry in FILES.BBS, but a corresponding
  1792. file is not found in the directory will be reported as 'offline'.
  1793. :p.In special cases this might become a very large list.
  1794. For example if you collect files in a single directory for different
  1795. area's, all the files of 'the other' areas are reported as orphan.
  1796. This will happen for every area, so each file might even be reported
  1797. many times as orphan!
  1798. Since the Orphan-list is now optional (from version 5.0 on), this list
  1799. can be suppressed.
  1800. :p.Filenames of Orphans appear only in the other reports when the
  1801. FileList request explicitly specifies the Hidden privilege.
  1802. :eul.
  1803. .* -----------
  1804. :h2.Main Data Organisation
  1805. :p.Data structure for access to file information via:
  1806. :ol compact.
  1807. :li.array of file-pointers (for file-sort!)
  1808. :li.pointerchain in file-info structures
  1809. :li.file structure contains pointer to file-description
  1810. :li.file-structure contains pointer to area-information
  1811. :li.Array of area-information
  1812. :eol.
  1813. :p.The structures are shown in the following figure.
  1814. :xmp.
  1815. :cgraphic scale='1.1'.
  1816. :on3270.
  1817.   dm  
  1818.          Array of pointers to structures with file info
  1819.       
  1820.  . . . 
  1821.  *file&lbrk.0&rbrk.  
  1822.   *file&lbrk.1&rbrk.  
  1823.  *file&lbrk.2&rbrk.                 
  1824.            
  1825.  . . . 
  1826.                  
  1827.            
  1828.             
  1829. (2)              v           v            v
  1830.      
  1831.      
  1832.      
  1833.   ca  
  1834.  next 
  1835.  next 
  1836.  next 
  1837. > . . .
  1838.      
  1839.      
  1840.      
  1841.  (first-     
  1842.  file-
  1843.      
  1844.  file-
  1845.      
  1846.  file-
  1847.  element)    
  1848.  info 
  1849.      
  1850.  info 
  1851.      
  1852.  info 
  1853.     . . .
  1854.              
  1855.  &lbrk.0&rbrk.  
  1856.      
  1857.  &lbrk.1&rbrk.  
  1858.      
  1859.  &lbrk.2&rbrk.  
  1860.              
  1861.      
  1862.      
  1863.                  
  1864.          
  1865. wildcards
  1866.                  
  1867.       
  1868.       
  1869.                  
  1870.       
  1871. (3)              v    
  1872.       v v   
  1873.              
  1874.              
  1875. file- 
  1876. file- 
  1877. (files of
  1878.              
  1879. descr 
  1880. descr 
  1881.  same area)   . . .
  1882.              
  1883.                       
  1884.             
  1885. (4)                   v            v v
  1886.               
  1887.  . . . 
  1888.   area&lbrk.0&rbrk.   
  1889.    area&lbrk.1&rbrk.   
  1890.                      
  1891.          
  1892.  . . . 
  1893.               array of structures of download info
  1894.  area 
  1895. :off3270.
  1896. :ecgraphic.
  1897. :exmp.
  1898. :p.Schematic overview of Downsort's in-storage database.
  1899. :note.The area-array cannot be sorted itself: this would invalidate the
  1900. pointers in the file-information records!
  1901. :p.The block character image is basically a 10x7 matrix
  1902. (10 vertical and 7 horizontal 'pixels').
  1903. The pixel-array takes two rows at a time, so that each character
  1904. can be represented with 5 rows of 7 horizontal 'double-pixels'.
  1905. Each pixel is displayed as a solid block.
  1906. :xmp.
  1907. :cgraphic scale='1.1'.
  1908. :on3270.
  1909.          1 2 3 4 5 6 7
  1910.         
  1911.         
  1912.    line 1    (lower + upper)
  1913.         
  1914.         
  1915.         2    (lower + upper)
  1916.         
  1917.         
  1918.         3    (lower + upper)
  1919.         
  1920.         
  1921.         4    (lower + upper)
  1922.         
  1923.         
  1924.         5    (lower + upper)
  1925.         
  1926. :off3270.
  1927. :ecgraphic.
  1928. :exmp.
  1929. :p.Each line is represented by a structure of seven 3-bit fields
  1930. Each 3-bit field represents a basic element:
  1931. :xmp scale='1.1'.
  1932.  value    char       description
  1933.    0                 (blank)
  1934.    1     &BOXBOT.           lower half
  1935.    2       &BOXTOP.         upper half
  1936.    3         &BOX.       lower+upper halves
  1937.    4       &box34.         gray pattern
  1938.    5     &BOXLEFT.           left part of upper and lower half
  1939.    6       &BOXRIGHT.         right part of upper and lower half
  1940.    7         &box14.       gray pattern
  1941.    8      &box12.          gray pattern for not-supported characters
  1942. :exmp.
  1943. :p.The pitch is variable ('proportional font': a variable number of
  1944. horizontal pixels).
  1945. Three fonts are provided with different character-image and size:
  1946. :ol compact.
  1947. :li.6x5 (three lines of max 5 characters)
  1948. :li.10x7 (five lines of max 7 characters)
  1949. :li.8x7 (four lines of max 7 characters)
  1950. :li.10x7 (reverse video image of the 8x7 font)
  1951. :eol.
  1952. :p.Not all ASCII characters are represented in the font tables!
  1953. .* --------------------------------
  1954. :appendix.
  1955. :h1 id=ahis.History of changes
  1956. :p.The paragraphs below show a brief history of changes in Downsort
  1957. (most recent revisions on top of list!).
  1958. :p.Downsort for MAXIMUS CBCS was developed from an OPUS equivalent
  1959. (by the same author).
  1960. Its pre-MAXIMUS history is not really important here and therefore has
  1961. been omitted.
  1962. However the name Downsort has been maintained, so to prevent confusion,
  1963. the version number is inherited (the last version for OPUS was 3.1).
  1964. :h2.Version 5.7
  1965. :ul compact.
  1966. :li.A 32-bit version (OS/2 2.0+ only) added to runtime package, no
  1967. functional differences with the family version.
  1968. :li.ICON file DOWN386.ICO added for the 32-bit version of Downsort.
  1969. :li.Long areanames (8 characters) are now supported in all reports.
  1970. :li.Changed naming convention of 'FILES.BBS' output files when area's
  1971. with 'long' (more than 3 character) names are used.
  1972. :li.The "FILES.BBS"-type of output (selected with FILFileList in
  1973. Downsort.Cfg) now produces a slightly different header.
  1974. Downsort recognises its own header and an included-file without
  1975. 'multiplication'-effects.
  1976. :li.Explicit path specifications of files in FILES.BBS are now supported.
  1977. As a consequence:
  1978. :ul compact.
  1979. :li.The long format of OK-FileList will contain this explicit path
  1980. in stead of the filearea path.
  1981. :li.It seems more appropriate to list the pathspec in the DUP-FileList
  1982. rather than the file description.
  1983. :eul.
  1984. :hp2.Generic filenames (wildcard specifications) are NOT supported
  1985. (yet)!:ehp2.
  1986. :li.File size and date can be included in FILES.BBS output with the '-L'
  1987. option on the FILFileList line in Downsort.Cfg.
  1988. :li.A new keyword 'NonDupEXT' allows suppression of reporting a file as
  1989. 'duplicate' when it is a member of a pair of files with specified
  1990. extensions.
  1991. Example xyz.SDN and xyz.SDA can be excluded from DupFileList.
  1992. :li.Doc-file now also included as provisional .INF file for OS/2 VIEW.
  1993. :li.Improved Avatar stripping.
  1994. :li.Bug fix for long 'new'-filelist periods (>32000 days).
  1995. :li.Separation between progress signals (stdout) and error messages (stderr)
  1996. and other 'internal' changes:
  1997. :li.Preparations made to remove most commandline parameters.
  1998. It has been redundant for a long time.
  1999. Every Downsort specification on the commandline can also be made via
  2000. Downsort.Cfg.
  2001. Exception: Specification of a configuration file will remain possible!
  2002. Good arguments may change this intention, so please object if I am
  2003. overlooking something.
  2004. :eul.
  2005. :h2.Version 5.6
  2006. :ul compact.
  2007. :li.In stead of the regular OKFile format (path\*.*), there is now also
  2008. an option (/L) to produce a LONG format of the OKFile, containing
  2009. explicitly all files within privilege with complete file-specification
  2010. (path\filename.ext).
  2011. Useful for file-requests at systems with large directories, and
  2012. especially with CDROM's.
  2013. With this option in effect, the *.* entries will not be generated, so
  2014. file requests are only honored with EXACT filenames: wildcard
  2015. specifications do not work anymore!
  2016. :li.Improved display of long areanames (>3 char) in ALL- and
  2017. IPF-lists.
  2018. :li.Avatar codes may be stripped from comment lines in reports.
  2019. :li.Missing include-files are now only reported when running Downsort in
  2020. -V(erbose) mode.
  2021. :li.Some bug fixes (some of them causing Trap 000D under OS/2):
  2022. :ul compact.
  2023. :li.If 'downsort.cfg' not found, return code 2 is reported, and
  2024. downsort.cfg now closed at end of file.
  2025. :li.Output of FILES.BBS could be erraneous when also IP2-list selected.
  2026. :li.Limit of 217 active area's now relieved (this limit was not
  2027. documented!).
  2028. :li.Improved handling of parameters of FILFilePath-line in the sample
  2029. Downsort.Cfg file.
  2030. Also the explanatory comments are revised.
  2031. :eul.
  2032. :li.'-'-character now precedes the formfeed character in newly created
  2033. FILES.BBS files (version 5.6h+).
  2034. :li.Downsort source is now compilable with IBM C-Set/2 compiler and IBM
  2035. OS/2 2.0 toolkit to obtain a real 32-bit version for OS/2 2.0+.
  2036. :eul.
  2037. :h2.Version 5.5
  2038. :ul compact.
  2039. :li.Finally(!) a sort capability for area-sequence.
  2040. Areas can now be presented in order of AREA.DAT ('K'eep original
  2041. sequence), sorted on areaname ('A'lphabetically), sorted in
  2042. alphanumeric ('G'roup) sequence or in order of areaINclude ('I').
  2043. The group-sequence is useful with a popular naming convention whereby the
  2044. areaname starts with one or more letters followed by one or more digits.
  2045. Names starting with a digit will be sorted as if it were all numeric,
  2046. and will be sorted accordingly.
  2047. :li.NEW-, BBS-list and EMI-list (see below) can now also be limited in
  2048. length by file-age (period specification in number of Days, Weeks or
  2049. Months).
  2050. :li.A new list-type introduced: EMI-list (new file EMIsions).
  2051. I is a simple list, comparable to NEW-list.
  2052. It has a more compact format, and gives also file-time and the file-size
  2053. (in exact bytes).
  2054. It is especially useful to generate messages with file arrivals
  2055. over the last period (in combination with a period specification).
  2056. :li.Readability improvements in IP2-list.
  2057. :li.Documentation extended with sample output for new users of Downsort.
  2058. :li.Some bug-fixes:
  2059. :ul compact.
  2060. :li.Compares of path- and area-names now case INdependent
  2061. :li.Memory allocation error during collection of comments in FILES.BBS
  2062. :li.Index out-of-range in report preparation phase
  2063. :li.Processing of /K-option for areas with FILES.BBS but otherwise empty.
  2064. :eul.
  2065. :eul.
  2066. :h2.Version 5.4
  2067. :ul compact.
  2068. :li.Inline comments in FILES.BBS will be reproduced now!
  2069. When AND ONLY WHEN the /K option is specified for All- or IPF-list, or
  2070. for FILFilePath, the original existing comments in FILES.BBS are
  2071. copied into All- or IPF-list or newly created FILES.BBS files.
  2072. So note: /K means now: Keep sequence of FILES.BBS
  2073. :hp2.and Keep comments in FILES.BBS:ehp2. and other lists that support
  2074. the /K option (ALL-, IPF and IP2-list).
  2075. :note./K is now the default sort parameter for FILFilePath, so that you do
  2076. not loose your comments accidently.
  2077. :li.Downsort's interpretation of the meaning of 'orphan' changed a
  2078. little: an 'orphan' is from now on defined as a file for which there is
  2079. no description in any FILES.BBS of all areas pointing to the same
  2080. directory.
  2081. This may reduce improper(?) orphan-reporting by previous versions of
  2082. Downsort considerably when you have physically a single large directory
  2083. of which the files are grouped logically in different areas with separate
  2084. FILES.BBS files.
  2085. :li.Duplicate download directories in OK-files will be suppressed.
  2086. :li.Area-summaries in ALL- and IPF-lists are again sorted alphabetically
  2087. on area-name.
  2088. :li.A check during the data collection phase on maximum supported file
  2089. entries (16350) has been added to prevent problems when exceeding this
  2090. limit.
  2091. :li.Orphan entries in FILES.BBS are now preceeded with '&caret.PS' in
  2092. stead of the unsupported '&caret.PH' (bug fix).
  2093. :li.Some specific adaptations for version 2.0:
  2094. :ul compact.
  2095. :li.All files conforming to filespec 'FILES.*' will not be reported
  2096. anymore.
  2097. :li.Area code will be handled as 9 character string: area-name!
  2098. But in some reports it will be truncated to the first 3 or 4 characters.
  2099. :li.AreaINclude and AreaEXclude are used as 'prefix'.
  2100. Area-name specifications will be treated as group-names:
  2101. you can include or exclude groups of areas starting with the same
  2102. characters.
  2103. :li.The /b, /t, /bt or /tb flag in FILES.BBS will not appear in the
  2104. lists, but only when it appears immediately after the filename.
  2105. It is not stripped from FILES.BBS.
  2106. :eul.
  2107. :li.As experiment a new list has been added: IP2FileList.
  2108. It is a copy if IPF-list, but uses some new formatting features offered
  2109. by the IPF-compiler of the OS/2 2.0-beta toolkit (i.c. &colon.table.).
  2110. The result is a faster generation, but above al a faster compilation
  2111. and a better VIEW.
  2112. VIEWing under OS/2 1.2 or 1.3 is still possible!
  2113. :eul.
  2114. :h2.Version 5.3
  2115. :ul compact.
  2116. :li.New report added: DUP-list, a simple list, for SYSOP-use only, that
  2117. shows (possibly) duplicate fileNAMES over the area's (the file-extension
  2118. is not considered in the comparison).
  2119. :li.Another new report: OKFile in BinkleyTerm style.
  2120. A list of download paths within privilege, with option to include magic
  2121. names.
  2122. :li.IpfFileList line in Downsort.Cfg now also allows specification of
  2123. the IPF pagesize (maximum number of file-entries per VIEW 'page' or
  2124. 'part').
  2125. :li.Progress signals streamlined, /Q is really silent now!
  2126. :li.Fixed bug which caused Trap 000D under OS/2 (protection violation)
  2127. under some rare conditions.
  2128. The restriction that first area may not be empty or not contain only
  2129. orphans has been removed with this change.
  2130. :li.Support for MAXIMUS CBCS 1.00 removed: only version 1.02 is
  2131. supported (and most likely 2.00 as well).
  2132. :li.Downsort's change-history before version 5.0 removed from
  2133. documentation.
  2134. :li.Use of MicroSoft C Compiler 6.00a: more free memory for DOS users
  2135. (also because of slightly improved program structuring).
  2136. :eul.
  2137. :h2.Version 5.2
  2138. :ul compact.
  2139. :li.Area selection is now possible within Downsort.
  2140. Two new keywords are provided in Downsort.CFG:
  2141. :hp2.AreaINclude:ehp2. to make reports for selected download area's,
  2142. :hp2.AreaEXclude:ehp2. to omit area's from the reports.
  2143. These keywords have only effect within the collection that would
  2144. otherwise have been reported completely (restricted by AREA.DAT and
  2145. report privilege).
  2146. :li.FILES.BBS has now a peer relation with the directory in stead of
  2147. being subordinate, in Downsort terms of course.
  2148. Filenames and their description in FILES.BBS for which there is no
  2149. corresponding file in the download directory, are now NOT ignored
  2150. anymore.
  2151. In stead the file is reported as 'offline' (on the columns for file-date
  2152. and -size).
  2153. You may replace the word 'offline' with an alternative text.
  2154. :li.Bug repaired that caused some files to be treated as orphan under
  2155. certain rare circumstances.
  2156. And a correction of an error in 'end-of-line' test/search on several
  2157. places.
  2158. :li.As already 'promised' in 5.1, the Area-summary in ALL-list is now in
  2159. order of AREA.DAT.
  2160. :li.Reorganised the documentation to obtain a more logical sequence of
  2161. subjects.
  2162. Due to the growing number of options of Downsort, it became more and
  2163. more difficult to see the trees through the wood.
  2164. I added a number of paragraphs, especially for new users.
  2165. It can be useful for YOU too!
  2166. :eul.
  2167. :h2.Version 5.1
  2168. :ul compact.
  2169. :li.Since the ORPhan report is optional (changed with version 5.0),
  2170. orphan entries could and now will be removed from internal storage
  2171. during the information collection phase of Downsort, but
  2172. :hp2.only when no orphan-list is requested:ehp2.!
  2173. This is especially useful for the situation where a single large
  2174. directory contains the files of several area's, and whereby the file
  2175. descriptions are contained in different FILES.BBS files.
  2176. Normally this will result in reporting lots of duplicate orphans
  2177. (according to the definition of 'orphan' in Downsort!).
  2178. With this change memory utilisation is lower and sorting faster.
  2179. :li.Another change of this kind: area's with a privilege exceeding
  2180. any reporting privilege are not scanned anymore.
  2181. Apart from lower memory utilisation, this might be useful for CDROM and
  2182. slow disk(ette) systems.
  2183. :li.The maximum number of Top-, Sub- and Bottom-Title lines has been
  2184. extended to 20.
  2185. :li.In addition all lists may now include a 'logo'-file with a new -I
  2186. parameter on the individual report request specification (see sample
  2187. Downsort.CFG).
  2188. The file will be copied into the list without any editing or
  2189. translation.
  2190. It will be positioned directly behind the block-title and before the
  2191. subtitle (if any).
  2192. For example: you may include your BBS-logo or a picture of your system
  2193. configuration, or anything else you want to tell the file-requestors of
  2194. FILES, ALLFILES and/or NEWFILES.
  2195. The IPF-list may also include IPF tags, with artwork, etc.
  2196. It may even include other files itself!
  2197. For FILES.BBS the contents of this Include-file will immediately follow
  2198. the 'standard' header.
  2199. :li.All block-fonts have now a new special character <`> (reversed
  2200. quote), which will be 'printed' as blank (space) with :hp2.half:ehp2.
  2201. the width of a normal character.
  2202. This is useful for fine-alignment (e.g. manually centering) the
  2203. BLOCK-title.
  2204. :li.The chapter on 'titles and headers' has been rewritten to clarify
  2205. the use of all title-options, :hp2.please read it!:ehp2..
  2206. :li.In the SUMMARY of ALL- and IPF-lists the areas themselves
  2207. are not sorted anymore, but presented in sequence of AREAS.CTL
  2208. specification.
  2209. This is based on the assumption that the file area's are in some kind of
  2210. 'natural' order in AREAS.CTL (or maybe it is time to do that now!).
  2211. :li.Descriptions in FILES.BBS are now (again) aligned on column 14 of
  2212. the FILES.bbs file records.
  2213. :li.IPF-list again a little more user-friendly (linking of area's).
  2214. :li.A number of improvements have been applied to the executiontime
  2215. messages (when running in VERBOSE mode).
  2216. :eul.
  2217. :h2.Version 5.0
  2218. :ul compact.
  2219. :li.Improved IPF-formatting: more colorful, builtin word-wrapping of
  2220. VIEW used for file descriptions (better VIEWable under OS/2 1.3!).
  2221. It should now also compile without errors/warnings.
  2222. Compiling (with IPFC) takes significantly longer however!
  2223. :li.The IPF-list of large filearea's (>200 files) split into parts of
  2224. 200 files to prevent files being left unlisted.
  2225. :li.Top-level title in FileLists shows file-count and byte-count as
  2226. available within the privilege of the list.
  2227. Thus it indicates what is really AVAILable to the user!
  2228. Area-count omitted in lists which are not area-oriented.
  2229. :li.ORPHAN report made OPTIONAL (must be specified to get it!).
  2230. :eul.
  2231. .* =============================
  2232. :h1 id=ause.World-wide use of Downsort
  2233. :p.PC-Square may be considered as the home-base of Downsort.
  2234. The most recent version is always available there
  2235. (file-requests honoured between 07:00 and 24:00 local time).
  2236. :xmp keep=off.
  2237. :hp2.
  2238. PC-Square               Marcel Stikkelman     Zoetermeer, Netherlands
  2239. 2&colon.512/4                                       31-79-424107
  2240. :p.The following SYSOPs have reported using Downsort on their respective board.
  2241. OS/2-MANiA              Emmanuel Sandorfi     Paris, France
  2242. 2&colon.320/5                                       33-1-64090640
  2243. OS/2 TASK BBS           Rene Carlsen          Skagen, Denmark
  2244. 2&colon.231/910                                     45-98451070
  2245. Grizzilus Maximus       Collin Adams          Preston, UK
  2246. 2&colon.250/121                                     44-772-828975
  2247. Paradigmus Maximus      John Taylor           London, UK
  2248. 2&colon.253/68                                      44-81-566-5393
  2249. Runnin' with the Devil  Roberto Sonzogni      Treviglio BG, Italy
  2250. 2&colon.331/205                                     39-363-302798
  2251. Fernwood                Emitt Dove            Branford CT, USA
  2252. 1&colon.141/209                                     1-203-483-0348
  2253. The Planet Earth        Joel Lambert          Bridgeport CT, USA
  2254. 1&colon.141/455                                     1-203-335-7742
  2255. Bell's Theorem          Jeremy Buhler         Houston TX, USA
  2256. 1&colon.106/7674                                    1-713-777-0633
  2257. OS/2 Shareware          Pete Norloff          Fairfax VA, USA
  2258. 1&colon.109/347                                     1-703-385-4325
  2259. Singing Bear            John Tarbox           Wilmington DE, USA
  2260. 1&colon.150/130                                     1-302-984-2238
  2261. La Jungle BBS           Stephane Seguin       Quebec, Canada
  2262. 1&colon.163/116                                     1-819-595-4917
  2263. 3M Australia            Graham Stair          Sydney, NSW Australia
  2264. 3&colon.711/409                                     61-2-498-9184
  2265. .* HCC FIDO Groningen-1  Johan Schaaphok  Groningen
  2266. .* 1:153/738             John Cathie      New Westminster, B.C. Canada
  2267. .* 2:245/8               Peter Kaszanics                 , Germany
  2268. .* 2:234/99              Iver Thuessen s                 , Denmark
  2269. :ehp2.
  2270. :exmp.
  2271. :p.I have received reports from others.
  2272. Too many for this list, which is just meant to point to a system
  2273. in your neighbourhood(?).
  2274. You may either logon to one of these boards, or perform a file-request
  2275. of 'FILES' or 'ALLFILES' to get an impression of Downsort's
  2276. capabilities.
  2277. .* =============================
  2278. :h1 id=lsmp.Sample Lists
  2279. :p.Below follow a number of samples of list layouts and contents.
  2280. Not shown are the BBS-, and IPF-lists, since these are screen- rather
  2281. than paper-oriented, with their specific formatting and color settings.
  2282. :p.The dates and sizes in these lists have been manipulated!
  2283. .* ---------
  2284. :h2.ALL-list
  2285. :xmp keep=on.
  2286. :on3270.
  2287.  OS/2 - Fernwood - New Acquisitions
  2288.  Available: 143 files (0.0 MB)
  2289.        
  2290.  Privilege: Disgrace
  2291.        
  2292.  Newest: XLIST233.ZIP  3-22-91  (avail:  7-26-91)
  2293. Filename      Size   Date    Description
  2294. AAFONTS.ZIP     1K  3-22-91  Text from IBM regarding Anti-aliased Fonts.
  2295. AFP_120.LZH     1K  3-22-91  Areafix 1.2 for OS/2.  Permits systems that do
  2296.                              echomail with yours to change their complement of
  2297.                              areas independently.
  2298. :off3270
  2299. :exmp.
  2300. .* ---------
  2301. :h2.GBL-list
  2302. :xmp keep=on.
  2303. :on3270.
  2304. (Sun Jan 05 15:05) Available: 508 files (0 MB)
  2305.                    Maximum privilege shown: Sysop
  2306.                    Newest: BIGBRO.ZIP  3-22-91 (avail:  7-26-91)
  2307.                    Date flag: new on this system since: * = 1 week, + = 1 month
  2308. Filename       Area    Size   Date    Description
  2309. 2COLDIR.ZIP        F3    1K  3-22-91  DoubleDir for OS/2
  2310. 2MONITOR.ZIP       F4    1K  3-22-91  Source and .EXE for running 2 monitors.
  2311. :off3270.
  2312. :exmp.
  2313. .* ---------
  2314. :h2.NEW-list
  2315. :xmp keep=on.
  2316. :on3270.
  2317. (Sun Jan 05 16:14) Last 10 months newest of a total of 508 files (0 MB)
  2318.                    Maximum privilege shown: Sysop
  2319.                    Newest: BIGBRO.ZIP dd  3-22-91 (avail:  7-26-91)
  2320.                    Date flag: new on this system since: * = 1 week, + = 1 month
  2321. Filename       Area    Size   Date    Description
  2322. 2COLDIR.ZIP        F3    1K  3-22-91  DoubleDir for OS/2
  2323. 2MONITOR.ZIP       F4    1K  3-22-91  Source and .EXE for running 2 monitors.
  2324. 8514.PAT           F4    1K  3-22-91  Patch to get 32x32 icons on 8514/a
  2325. :off3270.
  2326. :exmp.
  2327. .* ---------
  2328. :h2.EMI-list
  2329. :xmp keep=on.
  2330. :on3270.
  2331. (Tue Jan 14 21:55) Last 44 weeks newest emissions
  2332. --Filename-- --Date--  -Time-  -Bytes-  ---Description---
  2333. DUMMY.DAT    10-11-91   9:45p       31  Dummy file for Downsort tests +
  2334.              continuation line
  2335. PSOS2.ZIP     3-22-91  11:46p        2  View OS/2 Information on PM like
  2336.              Threads & Process, Memory used, and more.
  2337. :off3270.
  2338. :exmp.
  2339. .* ---------
  2340. :h2.FILES.BBS
  2341. :xmp keep=on.
  2342. :on3270.
  2343.  OS/2 - Fernwood - New Acquisitions
  2344.  Available: 143 files (0.0 MB)
  2345.        
  2346.  Privilege: Disgrace
  2347.        
  2348.  Newest: XLIST233.ZIP  3-22-91 (avail:  7-26-91)
  2349. -Filename      Size    Date     Description
  2350. AAFONTS.ZIP   Text from IBM regarding Anti-aliased Fonts.
  2351. AFP_120.LZH   Areafix 1.2 for OS/2.  Permits systems that do echomail . . . .
  2352. :off3270.
  2353. :exmp.
  2354. :note.File date and size are provided dynamically by Maximus CBCS!
  2355. .* ---------
  2356. :h2.OKfile
  2357. :h3.Short format (default)
  2358. :xmp keep=on.
  2359. @files G:\File\File01\allfiles.zip
  2360. @avail G:\File\File01\allfiles.zip
  2361. @newfiles G:\File\File01\newfiles.zip
  2362. G:\File\Fernwood\*.*
  2363. G:\File\Max\*.*
  2364. :exmp.
  2365. :h3.LONG format (-L)
  2366. :xmp keep=on.
  2367. @files G:\File\File01\allfiles.zip
  2368. @avail G:\File\File01\allfiles.zip
  2369. @newfiles G:\File\File01\newfiles.zip
  2370. :rev refid=57.
  2371. @DWNSRT55.ZIP G:\File\Fernwood\DWNSRT55.ZIP
  2372. @DWNSRT56.ZIP G:\File\Fernwood\DWNSRT56.ZIP
  2373. @MAXSRT10.ZIP G:\File\Max\MAXSRT10.ZIP
  2374. @MAXSRT11.ZIP G:\File\Max\MAXSRT11.ZIP
  2375. :erev refid=57.
  2376. :exmp.
  2377. .* ---------
  2378. :h2.ORPhan list
  2379. :xmp keep=on.
  2380. :on3270.
  2381.   Area    Filename      Date    FilePath
  2382.       F1 123R3UPD.ZIP  3-22-91  G:\File\Fernwood\
  2383.       F1 4019DRVR.ZIP  3-22-91  G:\File\Fernwood\
  2384. :off3270.
  2385. :exmp.
  2386. .* =============================
  2387. :h1 id=acfg.Sample Configuration File
  2388. :xmp keep=off
  2389. :cgraphic scale='0.9'.
  2390. :on3270.
  2391. .im downsort.cfg
  2392. :off3270.
  2393. :ecgraphic.
  2394. :exmp.
  2395. :euserdoc.
  2396.