home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DISK / WSSI501A.ZIP / WSSI501.DOC next >
Encoding:
Text File  |  1990-06-19  |  239.5 KB  |  5,810 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                     Wssindex 5.01
  14.  
  15.                          Disk Indexing Software for MS/PC-DOS
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                   Programs and documentation copyright (c) 1985-1990
  26.                      by Robert W. Babcock and WSS Division of DDC
  27.                                  All Rights Reserved
  28.  
  29.  
  30.  
  31.  
  32.                                     License Terms
  33.  
  34.           The demo version  of WSSINDEX and associated files  may be freely
  35.           distributed  provided that the  entire package is  made available
  36.           and only a reasonable copying fee  is charged.  The demo  version
  37.           is  functional and  fully documented,  except  that WSSINDEX  and
  38.           CUSTPRNT  display commercials on  start up and  WSSINDEX will not
  39.           save a  database with more  than 1000 files.   Purchasers  of the
  40.           complete  package will receive  the demo package  plus uncrippled
  41.           replacements  for WSSINDEX and CUSTPRNT and instructions for "un-
  42.           locking"  future demo releases.  These are  licensed for use by a
  43.           single user, or on one machine at a time, and are not  to be dis-
  44.           tributed.  Site license users may, of course,  use as many copies
  45.           as specified in  their license.   If there is any  question about
  46.           multiple  machines or users,  the "like-a-book" rule  applies: it
  47.           should be impossible for more  than the licensed number of copies
  48.           to be used simultaneously.
  49.  
  50.                                30 Day limited Warranty
  51.  
  52.           The software  in the  complete package  is  warranted to  perform
  53.           substantially as  documented for  a period of  30 days  from your
  54.           date of receipt.  The media on which either the complete or eval-
  55.           uation version  of this software  is provided is warranted  to be
  56.           readable for the same 30 day period.  All other warranties relat-
  57.           ing  to this  software, whether  expressed or  implied,  are dis-
  58.           claimed.  Determination of the suitability of this software for a
  59.           particular  purpose is  the responsibility  of the  user.   In no
  60.           event shall WSS  Division of DDC or  Robert W. Babcock be  liable
  61.           for damages exceeding the price paid to license this software.
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.                                   Table of Contents
  75.  
  76.           Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   1
  77.  
  78.           Installation  . . . . . . . . . . . . . . . . . . . . . . . .   1
  79.  
  80.           Unlocking Demo Releases . . . . . . . . . . . . . . . . . . .   2
  81.  
  82.           Overview and Tutorial . . . . . . . . . . . . . . . . . . . .   3
  83.  
  84.           Setup and General Information . . . . . . . . . . . . . . . .   6
  85.  
  86.           Starting up . . . . . . . . . . . . . . . . . . . . . . . . .   7
  87.  
  88.           Command Defaults  . . . . . . . . . . . . . . . . . . . . . .   8
  89.  
  90.           Aborting commands . . . . . . . . . . . . . . . . . . . . . .   8
  91.  
  92.           The Dreaded Abort, Retry, Ignore? . . . . . . . . . . . . . .   8
  93.  
  94.           Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   9
  95.  
  96.           Archive Files . . . . . . . . . . . . . . . . . . . . . . .    10
  97.               Archive Formats Supported . . . . . . . . . . . . . . .    11
  98.  
  99.           Main Menu . . . . . . . . . . . . . . . . . . . . . . . . .    13
  100.               Quick Find  . . . . . . . . . . . . . . . . . . . . . .    14
  101.               Print and other output menu . . . . . . . . . . . . . .    14
  102.               Display statistics  . . . . . . . . . . . . . . . . . .    14
  103.               Directory . . . . . . . . . . . . . . . . . . . . . . .    14
  104.               Push to DOS . . . . . . . . . . . . . . . . . . . . . .    15
  105.               Write database on disk  . . . . . . . . . . . . . . . .    15
  106.               Quit and return to DOS  . . . . . . . . . . . . . . . .    15
  107.               Quick Quit and return to DOS  . . . . . . . . . . . . .    16
  108.               Add or label disks  . . . . . . . . . . . . . . . . . .    16
  109.               Add/modify Comments . . . . . . . . . . . . . . . . . .    16
  110.               ReName a disk in the database . . . . . . . . . . . . .    16
  111.               ReName a disk with a mixed case label . . . . . . . . .    16
  112.               Remove a disk from the database . . . . . . . . . . . .    16
  113.               Remove all disks  . . . . . . . . . . . . . . . . . . .    16
  114.               Get a database from disk  . . . . . . . . . . . . . . .    16
  115.               Get configuration file and matching database  . . . . .    16
  116.               Change cOnfiguration  . . . . . . . . . . . . . . . . .    17
  117.  
  118.           Print menu  . . . . . . . . . . . . . . . . . . . . . . . .    17
  119.               Print (and sort)  . . . . . . . . . . . . . . . . . . .    17
  120.               Find a file in the database . . . . . . . . . . . . . .    21
  121.               Quick Find  . . . . . . . . . . . . . . . . . . . . . .    21
  122.               Zippy find  . . . . . . . . . . . . . . . . . . . . . .    21
  123.               List Duplicate files  . . . . . . . . . . . . . . . . .    21
  124.               List Unique files . . . . . . . . . . . . . . . . . . .    21
  125.               List files which are not Backed up  . . . . . . . . . .    22
  126.  
  127.           Wssindex 5.01                   i               Table of Contents
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.               List Volume names . . . . . . . . . . . . . . . . . . .    22
  141.               Quick list of Volume names  . . . . . . . . . . . . . .    23
  142.               Return to main menu . . . . . . . . . . . . . . . . . .    23
  143.  
  144.           Indexing Menu . . . . . . . . . . . . . . . . . . . . . . .    23
  145.               Start Indexing  . . . . . . . . . . . . . . . . . . . .    24
  146.               Add dummy entries . . . . . . . . . . . . . . . . . . .    25
  147.               List directory  . . . . . . . . . . . . . . . . . . . .    25
  148.               Label a disk on the labeling drive  . . . . . . . . . .    25
  149.               COnfiguration menu  . . . . . . . . . . . . . . . . . .    26
  150.               First indexing drive  . . . . . . . . . . . . . . . . .    26
  151.               Second indexing drive . . . . . . . . . . . . . . . . .    26
  152.               LaBeling drive  . . . . . . . . . . . . . . . . . . . .    26
  153.               Indexing sTarts from  . . . . . . . . . . . . . . . . .    26
  154.               Auto-category strinG  . . . . . . . . . . . . . . . . .    26
  155.               Ask before replacing  . . . . . . . . . . . . . . . . .    26
  156.               Auto-Comment  . . . . . . . . . . . . . . . . . . . . .    27
  157.               AUto-category . . . . . . . . . . . . . . . . . . . . .    27
  158.               Make .ID entries  . . . . . . . . . . . . . . . . . . .    27
  159.               DummY entries include subdirectory tree . . . . . . . .    27
  160.               Query archive extraction  . . . . . . . . . . . . . . .    27
  161.               Index Hidden files  . . . . . . . . . . . . . . . . . .    27
  162.               Extract archive comments  . . . . . . . . . . . . . . .    27
  163.  
  164.           Primary Configuration Menu  . . . . . . . . . . . . . . . .    28
  165.               Printer configuration . . . . . . . . . . . . . . . . .    28
  166.               SiZe limits . . . . . . . . . . . . . . . . . . . . . .    28
  167.               Indexing options  . . . . . . . . . . . . . . . . . . .    28
  168.               Screen, keyboard and Miscellaneous  . . . . . . . . . .    28
  169.               Default sorting/selection options . . . . . . . . . . .    28
  170.               Keyboard macros . . . . . . . . . . . . . . . . . . . .    28
  171.               Configured Exception list . . . . . . . . . . . . . . .    29
  172.               Which fields to print . . . . . . . . . . . . . . . . .    29
  173.               Output Format . . . . . . . . . . . . . . . . . . . . .    29
  174.               Load configuration file . . . . . . . . . . . . . . . .    29
  175.               Save configuration file . . . . . . . . . . . . . . . .    29
  176.               Return to previous menu . . . . . . . . . . . . . . . .    30
  177.  
  178.           Printer Configuration Menu  . . . . . . . . . . . . . . . .    30
  179.               Paper Width to right margin . . . . . . . . . . . . . .    30
  180.               Paper Length  . . . . . . . . . . . . . . . . . . . . .    31
  181.               Left Margin . . . . . . . . . . . . . . . . . . . . . .    31
  182.               Top margin  . . . . . . . . . . . . . . . . . . . . . .    31
  183.               Bottom margin . . . . . . . . . . . . . . . . . . . . .    31
  184.               Use Form feeds  . . . . . . . . . . . . . . . . . . . .    31
  185.               Pause at page breaks  . . . . . . . . . . . . . . . . .    31
  186.               Database Size Limits  . . . . . . . . . . . . . . . . .    31
  187.  
  188.           Indexing Configuration Menu . . . . . . . . . . . . . . . .    32
  189.               Indexing drive number . . . . . . . . . . . . . . . . .    33
  190.               Make .ID entries  . . . . . . . . . . . . . . . . . . .    33
  191.               Ask Before replacing  . . . . . . . . . . . . . . . . .    33
  192.  
  193.           Wssindex 5.01                   ii              Table of Contents
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.               Auto coMment  . . . . . . . . . . . . . . . . . . . . .    34
  207.               Auto caTegory . . . . . . . . . . . . . . . . . . . . .    34
  208.               Ask before eXtracting archive info  . . . . . . . . . .    34
  209.               Extract comments from archive files . . . . . . . . . .    34
  210.               Auto cateGory string  . . . . . . . . . . . . . . . . .    34
  211.               Extension for extraction  . . . . . . . . . . . . . . .    34
  212.  
  213.           Miscellaneous Configuration Menu  . . . . . . . . . . . . .    34
  214.               Perform automatic inteGrity check . . . . . . . . . . .    35
  215.               Function Key layout matching IBM  . . . . . . . . . . .    36
  216.               Inverted meaning for PgUp/PgDn  . . . . . . . . . . . .    36
  217.               Create .BAK files . . . . . . . . . . . . . . . . . . .    36
  218.               Enable Alarm sound  . . . . . . . . . . . . . . . . . .    37
  219.               Change Prompt in DOS shell  . . . . . . . . . . . . . .    37
  220.               Strip High-bit when viewing files . . . . . . . . . . .    37
  221.               Use color . . . . . . . . . . . . . . . . . . . . . . .    37
  222.               Use Mouse . . . . . . . . . . . . . . . . . . . . . . .    37
  223.               Mouse Sensitivity . . . . . . . . . . . . . . . . . . .    37
  224.               Set Colors  . . . . . . . . . . . . . . . . . . . . . .    37
  225.               Video board configuration . . . . . . . . . . . . . . .    37
  226.               Return to primary configuration menu  . . . . . . . . .    38
  227.  
  228.           Default Sorting and Selection Options Menu  . . . . . . . .    38
  229.               Selection list  . . . . . . . . . . . . . . . . . . . .    38
  230.               Sort Keys . . . . . . . . . . . . . . . . . . . . . . .    38
  231.               Return to previous menu . . . . . . . . . . . . . . . .    38
  232.  
  233.           Output Fields Configuration Menu  . . . . . . . . . . . . .    38
  234.               DuPlicate flag  . . . . . . . . . . . . . . . . . . . .    39
  235.               Size  . . . . . . . . . . . . . . . . . . . . . . . . .    39
  236.               Date  . . . . . . . . . . . . . . . . . . . . . . . . .    39
  237.               Time  . . . . . . . . . . . . . . . . . . . . . . . . .    39
  238.               Seconds . . . . . . . . . . . . . . . . . . . . . . . .    39
  239.               Volume  . . . . . . . . . . . . . . . . . . . . . . . .    39
  240.               SuBdirectory  . . . . . . . . . . . . . . . . . . . . .    39
  241.               Archive file name . . . . . . . . . . . . . . . . . . .    39
  242.               Comment . . . . . . . . . . . . . . . . . . . . . . . .    39
  243.               CateGory  . . . . . . . . . . . . . . . . . . . . . . .    39
  244.  
  245.           Output Format Configuration Menu  . . . . . . . . . . . . .    40
  246.               Number of Blank lines between headers . . . . . . . . .    40
  247.               Number of blank lines after Headers . . . . . . . . . .    40
  248.               File name style . . . . . . . . . . . . . . . . . . . .    40
  249.               Date style  . . . . . . . . . . . . . . . . . . . . . .    40
  250.               Field width for Subdirectories  . . . . . . . . . . . .    41
  251.               Field width for Archive name  . . . . . . . . . . . . .    41
  252.               Field width for Comment or category . . . . . . . . . .    41
  253.               Archive file delImiter  . . . . . . . . . . . . . . . .    41
  254.               Category deliMiter  . . . . . . . . . . . . . . . . . .    41
  255.               Print comments bEfore categories  . . . . . . . . . . .    41
  256.               Always start New line for comment/category  . . . . . .    41
  257.               Truncate to fit on one line . . . . . . . . . . . . . .    41
  258.  
  259.           Wssindex 5.01                  iii              Table of Contents
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.               Return to primary configuration menu  . . . . . . . . .    41
  273.  
  274.           Video Board Configuration . . . . . . . . . . . . . . . . .    41
  275.               Screen writing method . . . . . . . . . . . . . . . . .    42
  276.               Suppress snoW on CGA  . . . . . . . . . . . . . . . . .    42
  277.               Raw Mode on screen output . . . . . . . . . . . . . . .    42
  278.               Return to previous menu . . . . . . . . . . . . . . . .    42
  279.  
  280.           Color Selection Menu  . . . . . . . . . . . . . . . . . . .    42
  281.  
  282.           The Add-Comments Menu . . . . . . . . . . . . . . . . . . .    44
  283.  
  284.           WSSINDEX Utilities  . . . . . . . . . . . . . . . . . . . .    48
  285.               CUSTPRNT - Custom Print Utility . . . . . . . . . . . .    48
  286.                  Multi-column printing  . . . . . . . . . . . . . . .    49
  287.                  List files which are not Backed up . . . . . . . . .    49
  288.                  Disk Covers  . . . . . . . . . . . . . . . . . . . .    49
  289.                  Display statistics . . . . . . . . . . . . . . . . .    50
  290.                  Get a database from disk . . . . . . . . . . . . . .    50
  291.                  Disk Labels  . . . . . . . . . . . . . . . . . . . .    50
  292.                  Change cOnfiguration info  . . . . . . . . . . . . .    51
  293.                  Quit and return to DOS . . . . . . . . . . . . . . .    51
  294.                  Quick Quit . . . . . . . . . . . . . . . . . . . . .    51
  295.                  Read a printer definition file . . . . . . . . . . .    51
  296.                  Push to DOS  . . . . . . . . . . . . . . . . . . . .    51
  297.                  List Volume names  . . . . . . . . . . . . . . . . .    51
  298.                  Quick list of Volume names . . . . . . . . . . . . .    51
  299.                  Printer Definition Files . . . . . . . . . . . . . .    51
  300.               WSIMPORT Comment Import Routine . . . . . . . . . . . .    56
  301.               IDADD Conversion Utility  . . . . . . . . . . . . . . .    58
  302.               WSSMERGE Database Merging Utility . . . . . . . . . . .    59
  303.               SPLIT Database Splitting Utility  . . . . . . . . . . .    60
  304.               Database Conversion Utilities . . . . . . . . . . . . .    61
  305.  
  306.           Problems and Solutions  . . . . . . . . . . . . . . . . . .    62
  307.               Hard/software requirements  . . . . . . . . . . . . . .    62
  308.               Known incompatibilities with other software . . . . . .    62
  309.                  Disk Cache Warning . . . . . . . . . . . . . . . . .    62
  310.                  Incompatible TSR . . . . . . . . . . . . . . . . . .    62
  311.               Answers to Common Questions . . . . . . . . . . . . . .    63
  312.  
  313.           Command Line Parameter Summary  . . . . . . . . . . . . . .    66
  314.  
  315.           Support . . . . . . . . . . . . . . . . . . . . . . . . . .    67
  316.  
  317.           The Distribution Package  . . . . . . . . . . . . . . . . .    68
  318.  
  319.           Ordering Information  . . . . . . . . . . . . . . . . . . .    69
  320.               WSSINDEX Price schedule . . . . . . . . . . . . . . . .    69
  321.               WSSINDEX ORDER FORM . . . . . . . . . . . . . . . . . .    72
  322.  
  323.           Appendix A - ANSI.SYS screen driver . . . . . . . . . . . .    73
  324.  
  325.           Wssindex 5.01                   iv              Table of Contents
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.           Appendix B - Expanding the DOS Environment  . . . . . . . .    75
  339.  
  340.           Appendix C - WSSINDEX Database Format . . . . . . . . . . .    76
  341.  
  342.           Appendix D - Character Code Conversion Table  . . . . . . .    78
  343.  
  344.           Appendix E - WSSINDEX for DEC Rainbow . . . . . . . . . . .    79
  345.  
  346.           Appendix F - WSSINDEX for TI Professional . . . . . . . . .    80
  347.  
  348.           Appendix G - WSSINDEX for WANG PC . . . . . . . . . . . . .    81
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.           Wssindex 5.01                   v               Table of Contents
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.                                      Introduction
  405.  
  406.           Have you  ever had to  search through  dozens of disks  trying to
  407.           find  a program or  data file which  you knew  you had somewhere?
  408.           WSSINDEX.EXE is  a program designe  to help keep track  of MS-DOS
  409.           files  stored on  floppy or  hard disks.   A database  is created
  410.           which contains, for all of  your disks, the information  normally
  411.           available from the DOS DIR  command, as well as optional comments
  412.           and categories  describing each  file.   The  information in  the
  413.           database may be  printed with various sorting options,  or may be
  414.           searched  for specific  file names  with wild  cards in  case you
  415.           don't remember  the exact name of  the file you  are looking for.
  416.           Additional functions include listing files without current backup
  417.           copies and extracting directory information from archive files of
  418.           various types.   The program is menu driven and easy to use with-
  419.           out referring to the documentation,  but please read it once any-
  420.           way.  If you  are a new user, you should  first read the Overview
  421.           and Tutorial section.
  422.  
  423.                                      Installation
  424.  
  425.           Before  you do  anything else,  make  sure that  the disk(s)  you
  426.           received are write  protected, and then make at  least one backup
  427.           copy.  The disks  are not copy protected.   WSSINDEX and  related
  428.           routines,  including this documentation file, are shipped as com-
  429.           pressed, self-extracting files.  This lowers the number of  disks
  430.           required, and also provides an automatic check during the instal-
  431.           lation that  the disk(s) have  not been damaged.   The steps  re-
  432.           quired for program extraction  may vary from release  to release;
  433.           you will find an instruction sheet packaged with the distribution
  434.           disks.
  435.  
  436.           All purchasers receive the evaluation  demo version which is com-
  437.           plete except for limited database size and  an opening commercial
  438.           in the two main programs WSSINDEX and CUSTPRNT.  If you purchased
  439.           the complete package,  an additional self-extracting file  is in-
  440.           cluded  which contains replacements for the two limited routines.
  441.           The demo routines  have a "D" as  the last character of  the file
  442.           name, i.e. WSSI501D.EXE  (Note  that the file names vary slightly
  443.           for the non-standard versions.  Generally, a single letter is ap-
  444.           pended, and where this makes the  file name longer than 8 charac-
  445.           ters, another letter is dropped.)
  446.  
  447.           The extracted files generally include the version number as  part
  448.           of the  file name.   For example,  the main  program WSSINDEX.EXE
  449.           becomes  WSSI501.EXE.   To avoid  confusion, I  suggest that  you
  450.           rename  the executable files to WSSINDEX, CUSTPRNT, IDADD, SPLIT,
  451.           WSSMERGE  and WSIMPORT (.EXE  in all cases).   If you are running
  452.           DOS 2.x,  you must rename the program files  this way if you want
  453.           to use the  virus checking code.   Of course,  you can name  them
  454.           whatever you like,  but this is how  they will be referred  to in
  455.  
  456.  
  457.           Wssindex 5.01                   1                    Introduction
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.           the documentation.   This documentation  file can be  printed and
  471.           removed from your working disk, or kept online for reference.
  472.  
  473.                                Unlocking Demo Releases
  474.  
  475.           Demo releases  sent to various  online and disk  copying services
  476.           are compressed  using  PKWare's PKZIP.   These  files include  an
  477.           authenticity check which is believed to be extremely difficult to
  478.           defeat.   When such files  are extracted using PKZIP,  you should
  479.           see the message "Authentic files Verified!  # RLQ256  Software by
  480.           WSS Division of  DDC."  If there  is any change in  this message,
  481.           particularly in the serial number  RLQ256, it means that the file
  482.           has been  modified and should  be treated with caution.   Various
  483.           BBS's may add a ZIPfile comment; this will not change the authen-
  484.           ticity check.
  485.  
  486.           The acknowledgement  letter sent  to full  purchasers includes  a
  487.           personal  password which  can be  used to remove  the limitations
  488.           from the evaluation demo.  The DOS SET command is used  to define
  489.           two environment variables, WSSUSER and WSSPASS, whenever the demo
  490.           version is run.  The first  of these is typically the user  name,
  491.           the second an 8-digit number.  For example, John Q. Public  might
  492.           include the lines
  493.  
  494.               SET WSSUSER=JPublic
  495.               SET WSSPASS=12345678
  496.  
  497.           in his AUTOEXEC.BAT file.  The program retrieves the value of the
  498.           WSSUSER  variable, does  some arithmetic  operations  on it,  and
  499.           checks to see whether the result matches the value of the WSSPASS
  500.           variable.  If so, the opening commercial screen is suppressed and
  501.           the database size limit is removed.  The WSSUSER variable must be
  502.           entered  exactly as specified in your registration letter; chang-
  503.           ing  the case  or including  spaces around  the equal  signs will
  504.           cause the  program to either  not recognize the password  or will
  505.           change  the expected  value of  WSSPASS.  Purchasers  of versions
  506.           released before the  password scheme was implemented  may contact
  507.           WSS/DDC to receive a password.  The maximum database size will be
  508.           slightly  reduced by the memory used by the code which checks the
  509.           password;  otherwise an unlocked  demo version will  be indistin-
  510.           guishable from  the standard  release.   This password scheme  is
  511.           probably not very hard to defeat;  if you do so, please keep  the
  512.           technique to yourself.
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.           Wssindex 5.01                   2                    Introduction
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.                                 Overview and Tutorial
  537.  
  538.           This section  is an introduction to  WSSINDEX for new users.   It
  539.           contains  enough information to  get you started,  but eventually
  540.           you should read the Setup and Command Reference sections.
  541.  
  542.           What is it?  WSSINDEX creates  and maintains a database with  all
  543.           the information about your disks available from the DIR  command,
  544.           plus  optional  descriptive  comments and  categories.    You can
  545.           search the database interactively, or you can print it with vari-
  546.           ous sorting and selection  options.  An auxiliary  routine allows
  547.           printing disk labels and disk covers.  The most common use of the
  548.           program  is to  keep track  of files  on a  collection  of floppy
  549.           disks, but you can index anything which looks like a disk to DOS,
  550.           including hard disks,  RAM disks and some tape  cartridges.  (Un-
  551.           fortunately, most tape systems use special formats which Wssindex
  552.           cannot read.)  One option allows hard  disk users to make a list-
  553.           ing  of all files on a hard disk  which do not have backup copies
  554.           on another disk.
  555.  
  556.           What hardware  and software do  I need?  An  IBM-PC or moderately
  557.           compatible  MS-DOS machine (versions  for the Dec  Rainbow, Texas
  558.           Instruments Professional, and Wang PC are also available or under
  559.           development), DOS-2 or higher and either a video board compatible
  560.           with an IBM monochrome display or color graphics adapter, or sup-
  561.           port for ANSI  escape sequences.  If  you lack all of  these, the
  562.           screen  display will be  hopelessly garbled; more  details below.
  563.           The program  will run in  256K of memory,  but the database  size
  564.           will be limited; 640K is recommended.  A mouse may be used.
  565.  
  566.           How many disks  can I index?   There is a hard limit  (set by the
  567.           64K segment size of the Intel 80x8x series CPU's) of approximate-
  568.           ly 16K files (or disks, or subdirectories), and a practical limit
  569.           of 10-12K files if you have 640K of memory.  Extended or expanded
  570.           memory is not  used, but DOS memory  beyond 640K is used  if your
  571.           system supports it.
  572.  
  573.           How do  I run the  program?  Start it  up by typing  WSSINDEX (or
  574.           WSSInnn if you  haven't renamed the executable file  and it still
  575.           includes the version  number).  You will  get a message  that the
  576.           configuration file  was not  found; hit return  and you  will get
  577.           into the configuration section of the program.
  578.  
  579.           "Help! my screen is  all messed up.  I see  funny numbers, square
  580.           brackets and  other garbage mixed in with normal text."  Did this
  581.           happen to you?  If  so, it means that your system  is not config-
  582.           ured  to recognize  ANSI escape  sequences  for highlighting  and
  583.           cursor positioning.   Appendix  A gives  instructions for  adding
  584.           this capability to your system,  but for most machines, there's a
  585.           better (faster) alternative.   If you  have a monochrome  display
  586.           adapter (MDA) or  color graphics adapter (CGA),  or another video
  587.           board (EGA,  MCGA, VGA, etc.) which  can be made to  respond like
  588.  
  589.           Wssindex 5.01                   3                           Setup
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.           one of these, you can tell WSSINDEX to do screen output  by writ-
  603.           ing directly to video  memory.  As part of the standard distribu-
  604.           tion package,  you should  find configuration  files MDA.CNF  and
  605.           CGA.CNF.  Figure out which  one is appropriate for your hardware,
  606.           and invoke WSSINDEX by
  607.  
  608.                WSSINDEX CGA
  609.           or   WSSINDEX MDA
  610.  
  611.           (note that  the extension .CNF  is supplied automatically  if you
  612.           leave it off.   You can  specify a drive  or path if  necessary.)
  613.           Alternatively, before starting you can issue the DOS command
  614.  
  615.                SET WSSDISP=monochrome
  616.             or SET WSSDISP=color
  617.  
  618.           as  appropriate to set the default screen writing method.  If you
  619.           select  the wrong  display type,  you will find  yourself "flying
  620.           blind" and a reboot will likely be necessary.
  621.  
  622.           If you did not specify a configuration file on  the command line,
  623.           the program  will tell you that it did  not find one, and it will
  624.           initialize with default options.   You can change options at this
  625.           point or later; simply select  the change cOnfiguration option on
  626.           the main menu.  If you did not use one of the supplied configura-
  627.           tion files listed  in the previous  paragraph, you will  probably
  628.           want to change the  video output method to CGA or MDA.  This will
  629.           increase  the screen writing  speed by a  factor of 5  or so, and
  630.           will enable boxes around the menus.  (Drawing the menu boxes with
  631.           DOS calls would  be painfully slow.)   To get to the  menu screen
  632.           which sets this  option from the primary configuration  menu, se-
  633.           lect M and then V.  This menu option is buried several menus deep
  634.           because you only  need to set it  once, and you lose  your screen
  635.           display if you accidentally change it to the wrong value.
  636.  
  637.           When  you exit  from  the configuration  menu,  the program  will
  638.           prompt you  for the name of an existing  database to load.  Since
  639.           you have not  yet created a  database, just hit escape  to bypass
  640.           this prompt.  This brings you to the main menu.  Hit A to move to
  641.           the indexing menu.   If necessary, hit F and S to enter the first
  642.           and second  indexing drives.   If  you have  two drives,  you can
  643.           select A  and B and  use then alternately; otherwise  just select
  644.           the same drive twice.  Hit I to start indexing.  You will be told
  645.           to  insert a disk and hit the space  bar; do so.  If the disk was
  646.           previously labeled (by the /V  option of FORMAT or by  some other
  647.           utility),  the label  will be  displayed and  the disk  directory
  648.           information will be added  to the database.  If the  disk was not
  649.           labeled, you will  be given the options  to write a label  on it,
  650.           enter a label to use (but not write on the disk), list the direc-
  651.           tory on screen, or return to the menu.  WSSINDEX will spend a few
  652.           seconds reading  the disk,  and will then  prompt you to  hit the
  653.           space bar to index the next disk.   Feed in a few disks this way,
  654.  
  655.           Wssindex 5.01                   4                           Setup
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.           then hit return instead of space to stop indexing, and then  R to
  669.           return to the main menu.
  670.  
  671.           Now you can try some of the  program options.  Hit D and see  how
  672.           many  files and  disks you have  entered.   Hit P to  move to the
  673.           File/volume listing menu, and then P again to print the database.
  674.           When  asked for selection/rejection  options, just hit  return to
  675.           select everything.  When asked for sorting options, enter 1,2 and
  676.           hit return.   And when asked to  select printer, screen, disk  or
  677.           export output, hit S.  You should now get a  listing of all files
  678.           in the database, sorted by name and extension.  If the list does-
  679.           n't  fit on  a single screen,  you can page  forward and backward
  680.           with the  PgDn and  PgUp keys.   At the top  of the list  will be
  681.           dummy entries for each disk and  subdirectory.  Later on you will
  682.           find  out how  to control whether  or not  these appear.   If you
  683.           don't  want to  see the entire  listing you  can interrupt  it by
  684.           hitting ^C (control-C) while the  screen is being painted, or hit
  685.           Q  after the  screen fills.   When  the listing finishes  and you
  686.           return  to the  menu  display, enter  ^F for  quick  find.   When
  687.           prompted  for file specs,  enter wildcard specifications  one per
  688.           line, ending  with an empty  line.  For example,  *.COM and *.EXE
  689.           will match  all executable  files.  All  files which  match these
  690.           specs will be displayed on screen in the same format as before.
  691.  
  692.           There are four different types of disk files which can be written
  693.           by WSSINDEX: (1) configuration  files (default name WSSINDEX.CNF)
  694.           which contain setup information and are short, (2) database files
  695.           (default  name  WSSINDEX.DIR) which  contain  the  disk directory
  696.           information and can be quite  large, (3) printer files which con-
  697.           tain output which could have been sent to the screen or a printer
  698.           instead, and (4) export files which can  be read by database pro-
  699.           grams.  Only the first two of these can be read by WSSINDEX.
  700.  
  701.           From  the main  menu, select option  W to write  a database file.
  702.           You will be prompted with a default name of d:\path\WSSINDEX.DIR.
  703.           You can hit  return to accept this  default, or you can  edit it:
  704.           use the cursor keys, insert,  delete, control-arrow for word tab-
  705.           bing, etc.
  706.  
  707.           Select option Q (or ^Q) and return to DOS.  Verify that the data-
  708.           base file was written where you expected.
  709.  
  710.           Restart the program.  If you saved a configuration  file with the
  711.           default name (the instructions above  didn't tell you to do this,
  712.           but you might have done  so anyway if you were  adventurous), no-
  713.           tice that it  is automatically restored and you  are prompted for
  714.           the name of a database file  to read.  Otherwise, after configur-
  715.           ing, select the G option to  get a database from disk and  reload
  716.           the database you just saved.  Use  the V option to list the  vol-
  717.           umes in the database, sorted by name, free space, date indexed or
  718.           unsorted.
  719.  
  720.  
  721.           Wssindex 5.01                   5                           Setup
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.           Now you  have a feel for how the  program operates and you should
  735.           read  at least  up until  the detailed  menu descriptions.   Some
  736.           important things you will find are instructions for  changing the
  737.           default  names for the configuration and database files, detailed
  738.           explanation of  all the program options, and  how to use the add-
  739.           comments section.  Also look  at the Problems and Solutions chap-
  740.           ter for the  answers to some commonly asked questions, and at the
  741.           Utilities  chapter for descriptions  of the various  utility rou-
  742.           tines.  If you want  to print disk labels or disk covers, see the
  743.           documentation for the utility CUSTPRNT.
  744.  
  745.                             Setup and General Information
  746.  
  747.           Before  running WSSINDEX, there are several DOS environment vari-
  748.           ables  which you may  want to set  to establish  defaults for the
  749.           configuration file name, the database  name, and your video  dis-
  750.           play type.   Doing this  is optional, but recommended  for smooth
  751.           operation.
  752.  
  753.           The DOS environment  is just a list  of character strings of  the
  754.           form
  755.  
  756.                  VARIABLE=value
  757.  
  758.           You make, view  or delete entries in  this list with the  DOS SET
  759.           command.  Type SET to view your current settings.  You should see
  760.           something like  COMSPEC=d:COMMAND.COM, and  probably other  items
  761.           used  by other software packages or the PROMPT command.  You will
  762.           probably  find  it  convenient  to  put   SET  commands  in  your
  763.           AUTOEXEC.BAT file.  If you get an error message that you have run
  764.           out of environment space, see appendix B.
  765.  
  766.           When issuing SET commands, do not include any blank spaces around
  767.           the equals signs.  The four commands:
  768.  
  769.               SET X=Y
  770.               SET X =Y
  771.               SET X= Y
  772.               SET X = Y
  773.  
  774.           mean different things.
  775.  
  776.           The environment variables used by WSSINDEX are
  777.  
  778.               WSSDISP = default display type
  779.               WSSICNF = default configuration file name
  780.               WSSIDIR = default database name
  781.               WSSPRINT = default printer definition file (CUSTPRNT only)
  782.  
  783.           WSSINDEX and  the utility  routines do  not make any  assumptions
  784.           about your video card, you must specify what you have.  This is a
  785.           little less convenient than if the video  type were automatically
  786.  
  787.           Wssindex 5.01                   6                           Setup
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.           sensed, but it prevents confusion  on machines with more than one
  801.           video board or  when smart  hardware trys to  sense what type  of
  802.           video board the software is trying to address.  The video type is
  803.           saved in  configuration files,  but you can  also use  WSSDISP to
  804.           specify this; legal  values are D,  C or M  for DOS calls,  color
  805.           graphics adapter, or monochrome display adapter.  (Actually, only
  806.           the first  character is used, so you can  be more mnemonic.)  Two
  807.           reasons why you should set WSSDISP:  first, if you don't, you may
  808.           notice an ANSI  escape sequence leaking  out at  start up and  on
  809.           exit, and second, if an error is encountered when  reading a con-
  810.           figuration file, the program will  assume the worst and drop back
  811.           to  using the  video type specified  by WSSDISP, or  DOS calls if
  812.           WSSDISP is not defined.
  813.  
  814.           If you  do not  specify the configuration  file or  database file
  815.           names on  the  command line,  they  default to  WSSINDEX.CNF  and
  816.           WSSINDEX.DIR on the current drive  in the current directory.  You
  817.           can  change these defaults with the environment variables WSSICNF
  818.           and WSSIDIR.   Even if you use multiple  databases and configura-
  819.           tions, you can still use these variables to specify the drive and
  820.           path.   For example,  if you keep  the program  and configuration
  821.           files in  subdirectory C:\WSSINDEX, and databases in subdirectory
  822.           C:\WSSINDEX\INDEXES, you might specify
  823.  
  824.               SET WSSICNF=C:\WSSINDEX\
  825.               SET WSSIDIR=C:\WSSINDEX\INDEXES\
  826.  
  827.           (Remember, no spaces  around the equal signs.)   The startup code
  828.           will use the  specified paths and fill in the default file names.
  829.           If WSSICNF is defined, you are  assumed to be an experienced user
  830.           and  the opening screen  with the copyright  message is displayed
  831.           for a shorter period of time.
  832.  
  833.           The  WSSPRINT  environment  variable specifies  the  name  of the
  834.           printer definition file which is used by CUSTPRNT.  See the util-
  835.           ities chapter for more details.
  836.  
  837.  
  838.                                      Starting up
  839.  
  840.           Type
  841.                     WSSINDEX <config name> <database name>
  842.  
  843.           where the angle  brackets indicate optional  parameters.  If  the
  844.           configuration file (first command line argument or default or de-
  845.           fined by WSSICNF) is read  successfully, the program will immedi-
  846.           ately ask for the name of an  existing database to read, and will
  847.           prompt  you with the default  name.  If you  don't want to read a
  848.           database, you can  hit escape to cancel.   On the other  hand, if
  849.           you specify  the database name  as the second command  line argu-
  850.           ment, it is read without confirmation.  If the configuration file
  851.           and database have  the same name (but the  usual extensions), you
  852.  
  853.           Wssindex 5.01                   7                           Setup
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.           can specify  = (an  equal sign)  for the database  name.   Either
  867.           command line name can be replaced by an * (asterisk) as an abbre-
  868.           viation for the default name.
  869.  
  870.                                    Command Defaults
  871.  
  872.           In many places, WSSINDEX gives you  a default which will be  used
  873.           if you just hit enter.  For text input, you can edit the  default
  874.           with normal editing  keys: left, right cursor  arrows, backspace,
  875.           insert,  delete, control-arrows  for word  tabbing.   File  names
  876.           generally have  default drive, subdirectory,  name and  extension
  877.           components which are established at program startup and change to
  878.           match the last user input.
  879.  
  880.                                   Aborting commands
  881.  
  882.           At most points  you can hit ESCAPE  (CANCEL on a Dec  Rainbow) to
  883.           abort a command  when you are prompted  for text strings  such as
  884.           file name,  disk name, etc.   ESCAPE  will not stop  print opera-
  885.           tions, use  control-c instead.   If you  hit ESCAPE  when numeric
  886.           input is  expected, you will  still see a "command  aborted" mes-
  887.           sage, but all this means is the the default value has been used.
  888.  
  889.                           The Dreaded Abort, Retry, Ignore?
  890.  
  891.           Certain disk errors will produce a DOS error message, followed by
  892.           an "Abort, Retry,  Ignore?" prompt, possibly in  an inappropriate
  893.           screen location if  you are using direct video  writes for screen
  894.           output.   To minimize  the chance of  triggering such  a message,
  895.           WSSINDEX now has an error  handler which will intercept such mes-
  896.           sages, if  they are triggered on the first  access of a disk, and
  897.           give you  the opportunity  to correct the  problem or  cancel the
  898.           operation. The usual problems which  can be detected this way are
  899.           disk not  ready or not formatted.   Disk full  errors are handled
  900.           properly, but at a different level.  In future releases the error
  901.           handling will be extended to catch all disk errors.
  902.  
  903.           The current  coding will not  detect a write protected  disk, nor
  904.           the various failures which can occur in the middle of a file even
  905.           if the disk is properly loaded.  If you do get the "Abort, Retry,
  906.           Ignore?" message,  you must be careful  how you respond.   If you
  907.           respond "A", you return to DOS and lose whatever you were working
  908.           on.   But, that's not  the worst thing that  can happen.   If the
  909.           failure  happens on  a write  operation, say  the wrong  disk was
  910.           inserted and it had a write  protect tab, and you swap disks  be-
  911.           fore responding  "R", DOS will  probably write the  directory and
  912.           file  access table  of the  original disk  onto the  second disk.
  913.           This is really a design  flaw in MS-DOS, not a WSSINDEX  problem,
  914.           and most any program can suffer from it.  It is generally safe to
  915.           fix the problem  and retry  with the  same disk.   The result  of
  916.           ignoring an error  will depend on exactly  what operation failed,
  917.  
  918.  
  919.           Wssindex 5.01                   8                           Setup
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.           but for read  operations you can usually recover  by ignoring the
  933.           error, although you may have to do it several times.
  934.  
  935.  
  936.                                    Acknowledgements
  937.  
  938.           WSSINDEX started out as an exercise to learn C for my  "real job"
  939.           and to fill  my needs for a  disk indexing package, and  ended up
  940.           growing into a  major project.  Two special  software tools which
  941.           have  proved invaluable  in producing  various  releases of  this
  942.           package are OPUS MAKE (D. G. Kneller & J. F. Thomason, Opus Soft-
  943.           ware, 1032  Irving St. Suite 439,  San Francisco, CA   94122) and
  944.           the PD M4 macro preprocessor (Ozan S. Yigit with modifications by
  945.           John Levine).  Special thanks  to Paul St. George, Nate Horowitz,
  946.           Don  Wetzel, and  other members  of the  Sanyo New  England Users
  947.           Group  for  encouraging  me  to distribute  my  early  efforts as
  948.           shareware.   Also thanks to those who  voluntarily registered the
  949.           shareware  version, and to  those who suggested  program enhance-
  950.           ments.   And  finally,  thanks to  the  countless bulletin  board
  951.           sysops who  provide the  distribution network  for shareware  and
  952.           demo programs.
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.           Wssindex 5.01                   9                           Setup
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.                                     Archive Files
  999.  
  1000.           The idea of combining files into  an archive or library, and pos-
  1001.           sibly compressing  them at the  same time, is older  than MS-DOS.
  1002.           WSSINDEX can peer into certain types of archive files and extract
  1003.           directory information.  Note that it is only the directory infor-
  1004.           mation  which is extracted;  file viewing and  extraction are not
  1005.           implemented.
  1006.  
  1007.           Archive files are  identified by their file extension.   Since it
  1008.           is possible for a non-archive file to  have a name which makes it
  1009.           appear to  be an archive, you may get warnings when indexing that
  1010.           such files  are either not archives or are  corrupted.  If such a
  1011.           message is given  for a file  which you think  is a archive,  you
  1012.           should use the appropriate archive  utility to test the integrity
  1013.           of the file.
  1014.  
  1015.           In most but  not all cases, extraction of information from an ar-
  1016.           chive file is noticeably slower  than reading a directory because
  1017.           the information  is scattered  throughout the  file, rather  than
  1018.           being concentrated in one place.  You will probably  notice a lot
  1019.           of disk activity when extracting archive information.
  1020.  
  1021.           Some of  the archive  formats may be  used on  non-MS-DOS systems
  1022.           which  allow file  names which  are illegal  under MS-DOS.   When
  1023.           WSSINDEX extracts information from such an archive, the two  com-
  1024.           ponents of the  file name are truncated to 8 and 3 characters but
  1025.           retain their original  case.  If you transfer  archive files from
  1026.           another operating system to MS-DOS, remember that these are bina-
  1027.           ry files  and improper character  translations can make  them un-
  1028.           readable.  Some  of the archive formats can  include subdirectory
  1029.           information; WSSINDEX will  ignore this information.  Some of the
  1030.           archive formats allow  entries to be marked  as deleted; WSSINDEX
  1031.           will ignore such entries.   If an archive format allows inclusion
  1032.           of comments, and  the WSSINDEX configuration selects  comment ex-
  1033.           traction, the  64 leading characters of the comment (after remov-
  1034.           ing any  leading or  trailing blanks,  unprintable characters  or
  1035.           strings of more than two  consecutive blanks) are included in the
  1036.           database.
  1037.  
  1038.           Archive files introduce two complications in the operation of re-
  1039.           placing a commented  disk in the database.   First, which comment
  1040.           should be  used if a  comment has been extracted  from an archive
  1041.           and the  file already  had a comment  in the  database?   Current
  1042.           choice is to  accept the comment extracted from  the archive, but
  1043.           I'm  not certain  that this  is the  best choice.    Second, what
  1044.           should be done if a member of an archive file matches the name of
  1045.           an  ordinary, commented  file  in the  same subdirectory?   Quite
  1046.           probably  the files are  identical, but they  could be completely
  1047.           different,  and WSSINDEX has no reliable way to tell which is the
  1048.           case.  The  current program version uses  the following algorithm
  1049.           to decide whether  to copy a comment after it  has found matching
  1050.  
  1051.           Wssindex 5.01                   10                  Library Files
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.           file and subdirectory  names: if both files  are archive members,
  1065.           the archive file names must match, and if only one of the pair is
  1066.           in an archive file, the size and  date must match.  I am not com-
  1067.           pletely satisfied with this algorithm  and am open to any sugges-
  1068.           tions for a better technique.
  1069.  
  1070.                               Archive Formats Supported
  1071.  
  1072.           ARC, ARK, PAK, PKA - As  far as WSSINDEX is concerned, these  ex-
  1073.           tensions all  refer to the  same type of archive.   An extraction
  1074.           program might not be able to handle  all of these because some of
  1075.           them may  use unrecognized  compression methods,  but the  header
  1076.           information  has the same format in all  four.  The ARC extension
  1077.           is used with the archive format which is currently the most popu-
  1078.           lar.  ARC files may be created by  ARC (Systems Enhancement Asso-
  1079.           ciates, 21 New  Street, Wayne, NJ  07470)  or PKARC/PKPAK (PKWare
  1080.           7545 N.  Port Washington Road,  Suite 205, Glendale, WI   53217).
  1081.           ARK is the extension used by a CP/M port of  ARC.  The PAK exten-
  1082.           sion is  used by  PAK (NoGate Consulting,  P.O. Box  88115, Grand
  1083.           Rapids, MI  49518).  When a version of PKARC was introduced which
  1084.           had a compression method not recognized by ARC, some users recom-
  1085.           mended changing the extension to PKA.
  1086.  
  1087.           LBR - This format was defined by Gary Novosielski for use on CP/M
  1088.           and MS-DOS systems and many  programs exist which can create this
  1089.           type of archive.  Although  no longer popular, this format allows
  1090.           quick access to any archive member because the directory informa-
  1091.           tion  is all in  one place  at the beginning  of the file.   Time
  1092.           stamps stored in a LBR file are  relative to 1/1/76, but are con-
  1093.           verted to the MS-DOS standard by WSSINDEX.  This means that files
  1094.           dated before 1/1/80 will  appear to be dated 1/1/80.   There also
  1095.           exist LBR utilities which do not fill in the date and time infor-
  1096.           mation; these will also produce file dates of 1/1/80.  
  1097.  
  1098.           LZH, LZS  - Files with these extensions  are created respectively
  1099.           by the Japanese programs  LHARC (Haruyasu Yoshizaki) or LARC  (K.
  1100.           Miki, H. Okumura, K. Masuyama).
  1101.  
  1102.           ZIP -  ZIP files are  created by PKWare's PKZIP  (address above).
  1103.           ZIP files  extending across  multiple volumes  are not  currently
  1104.           supported by WSSINDEX (or by the  current release of PKZIP).  ZIP
  1105.           files  may be created  on non-MS-DOS operating  systems; WSSINDEX
  1106.           should be  able to handle  such files, except for  the above men-
  1107.           tioned truncation of  file names.  A volume  name stored by PKZIP
  1108.           will appear as a zero-byte file.
  1109.  
  1110.           ZOO - The ZOO archive utility (by Rahul Dhesi) is available under
  1111.           many different operating systems, and the file format is supposed
  1112.           to be the same on all of them.
  1113.  
  1114.  
  1115.  
  1116.  
  1117.           Wssindex 5.01                   11                  Library Files
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.                              Navigating through the menus
  1131.  
  1132.           Wssindex  is controlled  by  a  series of  menus  and data  entry
  1133.           screens.   The overall  structure is shown  in the  figure below.
  1134.           For the most part, related functions are put on the same menu.  A
  1135.           few items which might logically be used in different contexts are
  1136.           repeated on multiple menus.   The appearance of the menus depends
  1137.           on whether  screen writing is done  by DOS calls or  direct video
  1138.           writes.  In DOS-calls mode, menus are not surrounded by boxes and
  1139.           there is no  highlight bar because displaying these  in this mode
  1140.           is very time consuming.
  1141.  
  1142.           Operation of the menus is fairly straightforward.  A menu item is
  1143.           selected by either hitting a  trigger key which is highlighted in
  1144.           the  menu, or by  hitting return or space  when the highlight bar
  1145.           and cursor are positioned on the desired item.  The highlight bar
  1146.           can be moved with  the cursor keys or with a  mouse; HOME and END
  1147.           move the selector  bar to the first  and last menu  items respec-
  1148.           tively; ESCAPE  returns to  the previous  menu, or  refreshes the
  1149.           screen if at the top-level menu.  The left mouse button is equiv-
  1150.           alent to the  space bar, the right button to the  return key.  If
  1151.           you  hit a key  which is not  the trigger for  any displayed menu
  1152.           item, it is assumed that you are entering a value for the current
  1153.           item.   The area below a menu box is used for message display and
  1154.           user entry of items such as file names.
  1155.  
  1156.           After a menu item has been selected, and any processing  for that
  1157.           item  is completed,  an attempt  is made  to make  an intelligent
  1158.           choice whether to leave the cursor positioned on the same item or
  1159.           to advance to the next item.   The method used to select the menu
  1160.           item affects  the decision whether to advance to  the next.  If a
  1161.           menu  item is selected by hitting  return or the right mouse but-
  1162.           ton, the cursor  will always advance to  the next menu item.   On
  1163.           the other hand, if a menu item is selected by hitting the trigger
  1164.           key, the space  bar or  left mouse button,  the cursor will  only
  1165.           advance to the  next menu item if it seems unlikely that the cur-
  1166.           rent item will be reselected.  For example, if you have toggled a
  1167.           YES/NO value or  typed in a  numeric value for  a parameter,  you
  1168.           probably want to advance to the next item.
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.           Wssindex 5.01                   12                      Main Menu
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.                            Structure of Wssindex menu tree
  1197.  
  1198.                 +---------------------------------------------------+
  1199.                 | Main menu                                         |
  1200.                 |     Listing menu                                  |
  1201.                 |     Add disks menu                                |
  1202.                 |     Add comments menu                             |
  1203.                 |     Primary configuration menu                    |
  1204.                 |          Printer configuration                    |
  1205.                 |          Database size configuration              |
  1206.                 |          Indexing options menu                    |
  1207.                 |              Default sorting/selection options    |
  1208.                 |          Screen, keyboard, miscellaneous          |
  1209.                 |              Video board                          |
  1210.                 |          Keyboard macros                          |
  1211.                 |          Exceptions list                          |
  1212.                 |          Fields to print                          |
  1213.                 |          Output format                            |
  1214.                 |                                                   |
  1215.                 +---------------------------------------------------+
  1216.                                        Figure 1
  1217.  
  1218.  
  1219.                                       Main Menu
  1220.  
  1221.           The top level menu provides immediate access to  some of the more
  1222.           commonly used functions, as well as entry to the output, indexing
  1223.           and configuration menus.
  1224.            +-------------------------------------------------------------+
  1225.            |                    Wssindex Main Menu                       |
  1226.            |                                                             |
  1227.            | Output                       Database maintenance options   |
  1228.            |   ^F quick find                Add or label disks           |
  1229.            |   Print and other output menu  Add/modify Comments          |
  1230.            |                                ReName a disk in database    |
  1231.            | Other options                  ^N rename with mixed case    |
  1232.            |   Display statistics           Remove disks                 |
  1233.            |   ^D - DIR                     ^R remove all disks          |
  1234.            |   Push to DOS                                               |
  1235.            |   Write database to disk     Configuration options          |
  1236.            |                                Get database                 |
  1237.            | Program termination            ^G get database and CNF file |
  1238.            |   Quit                         Change cOnfiguration info    |
  1239.            |   ^Q quick quit                                             |
  1240.            +-------------------------------------------------------------+
  1241.                                        Figure 2
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.           Wssindex 5.01                   13                      Main Menu
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.           ^F - Quick Find (control-f)
  1263.               This is the option to use if you are looking for a particular
  1264.               file by  name and want unsorted  screen output.  You  will be
  1265.               prompted to enter  one or more wildcard  file specifications.
  1266.               This option  is duplicated  on the  Print sub-menu (page  17)
  1267.               where it is discussed in more detail.
  1268.  
  1269.           P - Print and other output menu
  1270.               This option leads to the print sub-menu.
  1271.  
  1272.           D - Display statistics
  1273.               This  option displays the number of files, subdirectories and
  1274.               disks  in the database,  and the amount  of contiguous memory
  1275.               remaining for additional  entries.  There  will always be  at
  1276.               least  one subdirectory listed, since the root directories of
  1277.               all disks  are treated as  one subdirectory.  Also  listed is
  1278.               the  current database name,  either from the  last read/write
  1279.               operation or the default name.
  1280.  
  1281.               Some  points about the reported memory remaining: this number
  1282.               will only decrease when the number of subdirectories increas-
  1283.               es, or  when comments  and categories are  added.   Space for
  1284.               other information  is  allocated during  the  initial  setup.
  1285.               (This was not  true in versions older than 3.30.)  It is only
  1286.               the contiguous space remaining which  is reported.  If a disk
  1287.               with subdirectories  or comments  is removed  or replaced,  a
  1288.               "hole" may created in the memory space which will be used for
  1289.               comments, etc.  which are added  later.  Some  operations may
  1290.               create fragments of memory too  small to be useful, hence the
  1291.               space remaining may change slightly if you save  the database
  1292.               on disk and  then reload it.   You will receive a  warning if
  1293.               the available  space drops  below 4K.   The program  tries to
  1294.               recover gracefully  from out  of memory  errors, but  doing a
  1295.               save to disk  is strongly recommend if you  get this warning.
  1296.               Also note that opening  a file requires at least 2K for buff-
  1297.               ers, so  you may not  even be able  to save your  database if
  1298.               there is too little memory free.
  1299.  
  1300.           ^D - Directory (control-d)
  1301.               This  command lists  the directory  of a  disk to  the screen
  1302.               (file names only).   There are two options  after hitting ^D:
  1303.               either hit return and the  complete subdirectory tree is dis-
  1304.               played  for the disk in the  first indexing drive, or enter a
  1305.               wildcard file specification  including disk and path  and see
  1306.               everything  which matches that  specification.  Note,  if you
  1307.               enter a file  specification without specifying the  disk, the
  1308.               default  is  the  currently logged  drive,  not  the indexing
  1309.               drive, and to see all  files on a disk (in one  subdirectory)
  1310.               you must use the *.* wildcard, not just d:.  The  listing can
  1311.               be terminated  by hitting control-c.   You might want  to use
  1312.               this option to find out what's on a disk before you label it,
  1313.  
  1314.  
  1315.           Wssindex 5.01                   14                      Main Menu
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.               or to  refresh your  memory of the  names of  your databases.
  1329.               This option is duplicated on the Indexing menu (page 23).
  1330.  
  1331.           S - Push to DOS
  1332.               Load a secondary copy of COMMAND.COM (or alternate processor)
  1333.               and temporarily  pass control to  it.  Return to  WSSINDEX by
  1334.               typing EXIT at the DOS prompt.  To remind you that you are in
  1335.               a secondary shell, the configuration can be set to change the
  1336.               DOS prompt to "EXIT to return>".  You can do anything you can
  1337.               normally do at DOS level, but you will have  less free memory
  1338.               to work  with.  It is  best not to load a  terminate and stay
  1339.               resident program  here because  it will  fragment the  memory
  1340.               space.  The  DOS environment variable COMSPEC is  used to lo-
  1341.               cate the command processor, so  this option will work even if
  1342.               you  have   renamed,  or   are  using   a  replacement   for,
  1343.               COMMAND.COM.  COMSPEC is normally set up correctly during the
  1344.               boot  process and you don't need to worry about it unless you
  1345.               have done something to change it. 
  1346.  
  1347.               You must have some free memory to use this option, and insuf-
  1348.               ficient space is the usual cause when this command fails.  On
  1349.               my DOS 2.11 system,  I need about  17.5K (as reported by  the
  1350.               "D" option); later  DOS's are larger  and will require  more.
  1351.               Of course,  if you  want to  run a  program in the  secondary
  1352.               shell, you must also consider its memory requirements.
  1353.  
  1354.           W - Write database on disk
  1355.               The in-memory  database is saved  on disk.  The  default file
  1356.               name is the first of
  1357.  
  1358.               1. The last file name used in a Get or Write command
  1359.               2. The second command line argument
  1360.               3. The  DOS environment  variable  WSSIDIR  (DOS command  set
  1361.                  WSSIDIR=filespec)
  1362.               4. WSSINDEX.DIR
  1363.  
  1364.               which is defined.  The default file name is displayed and may
  1365.               be edited in the usual way.  A previously existing  file with
  1366.               the same name will either be renamed with a .BAK extension or
  1367.               overwritten (with verification),  depending on which configu-
  1368.               ration option you  have selected.  If creation  of .BAK files
  1369.               is enabled, you  will not be allowed to use a filename with a
  1370.               .BAK extension.
  1371.  
  1372.           Q - Quit and return to DOS
  1373.               You will be warned if the in-memory database has been changed
  1374.               without being saved, and in any case you must verify that you
  1375.               really want to exit.  For your protection, the default option
  1376.               is  N (don't  quit) if  the in-memory  database has  not been
  1377.               saved.
  1378.  
  1379.  
  1380.  
  1381.           Wssindex 5.01                   15                      Main Menu
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.           ^Q - Quick Quit and return to DOS (control-q)
  1395.               If the in-memory  database has not  been changed since  being
  1396.               saved, this option returns to DOS without asking  for verifi-
  1397.               cation, otherwise it's the same as option "Q".
  1398.  
  1399.           A - Add or label disks
  1400.               This option leads to the indexing menu.
  1401.  
  1402.           C - Add/modify Comments
  1403.               This options leads to the add-comments screen.
  1404.  
  1405.           N - ReName a disk in the database
  1406.               You are  prompted for old and new names  and the disk name in
  1407.               the database is changed.  Names are  forced to upper case.  A
  1408.               carriage return aborts back to the main menu.
  1409.  
  1410.           ^N - ReName a disk with a mixed case label (control-n)
  1411.               This is the same as option  "N" except that it accepts  lower
  1412.               case characters.
  1413.  
  1414.           R - Remove a disk from the database
  1415.               The volume name to remove may be either typed in or read from
  1416.               disk.   When  typing in a  name, you can  either let WSSINDEX
  1417.               force your input to upper case or use mixed case.
  1418.  
  1419.           ^R - Remove all disks (control-r)
  1420.               This option clears the database currently in memory.  A warn-
  1421.               ing is  given if the  database has not  been saved since  the
  1422.               last modification.
  1423.  
  1424.           G - Get a database from disk
  1425.               Enter  the name of a file  previously saved with the "W" menu
  1426.               option. The default name is the first of
  1427.  
  1428.               1. The last file name used in a Get or Write command
  1429.               2. The second command line argument
  1430.               3. The DOS  environment  variable WSSIDIR  (DOS  command  set
  1431.                  WSSIDIR=filespec)
  1432.               4. WSSINDEX.DIR
  1433.  
  1434.               which is defined.  The default file name is displayed and may
  1435.               be  edited in the usual way.  You will be warned and given an
  1436.               opportunity to escape if you  have a database in memory which
  1437.               has been changed without being saved.  
  1438.  
  1439.           ^G - Get configuration file and matching database (control-g)
  1440.               This option prompts for the  name of a configuration file and
  1441.               loads it without displaying the configuration menu.  If there
  1442.               are no  problems configuring,  the default  database name  is
  1443.               changed to  be the same  as the configuration file  name, but
  1444.               with a DIR extension, and  a get-database function is execut-
  1445.               ed.  This same function can also be executed from the command
  1446.  
  1447.           Wssindex 5.01                   16                      Main Menu
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.               line  when starting up  by specifying the  configuration file
  1461.               name as the first argument and an  equal sign (=) as the sec-
  1462.               ond.
  1463.  
  1464.           O - Change cOnfiguration
  1465.               This option leads to the primary configuration sub-menu.
  1466.  
  1467.                                       Print menu
  1468.  
  1469.           This is where most text output options are found.
  1470.  
  1471.                              +--------------------------+
  1472.                              | File/volume listing Menu |
  1473.                              |                          |
  1474.                              | Select/sort/Print        |
  1475.                              | Find a file              |
  1476.                              | ^F quick find            |
  1477.                              | Zippy text search        |
  1478.                              | Duplicate files          |
  1479.                              | Unique files             |
  1480.                              | List files not Backed up |
  1481.                              |                          |
  1482.                              | List Volumes             |
  1483.                              | ^V quick volume list     |
  1484.                              |                          |
  1485.                              | Return to main menu      |
  1486.                              +--------------------------+
  1487.                                        Figure 3
  1488.  
  1489.  
  1490.           P - Print (and sort)
  1491.               The print option  first allows you to select  what files will
  1492.               be listed.  Files  to be listed  may be selected by  combina-
  1493.               tions of
  1494.  
  1495.               1. names and extensions   7. size range
  1496.               2. subdirectory           8. exclude configured exceptions
  1497.               3. disk name              9. exclude archive file members
  1498.               4. comment                10. only archive files and members
  1499.               5. category               11. zippy search
  1500.               6. date range          or 12. select from previous subset
  1501.  
  1502.               You tell the  program which selection criteria to  use by en-
  1503.               tering a list  of numbers separated by commas.   Depending on
  1504.               which  options you  chose, further  prompts will be  made for
  1505.               file  names, etc.    Each  file in  the  database is  checked
  1506.               against all of the selection criteria, and is included in the
  1507.               listing only if it passes  all tests.  This means, for  exam-
  1508.               ple, that  while you can select files  in which are in subdi-
  1509.               rectory \ABCD and match *.DAT, you can not select files which
  1510.               are either in  the subdirectory or match the file spec.  This
  1511.               restriction does not interfere  with most selection requests;
  1512.  
  1513.           Wssindex 5.01                   17                      Main Menu
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.               the occassional odd request can often be built up with multi-
  1527.               ple passes.
  1528.  
  1529.               Files in the  database can also be excluded  from the listing
  1530.               by the first  5 options in this  list.  You indicate  this by
  1531.               using a negative selection option  number.  Option -1, rejec-
  1532.               tion by file name, is essentially  the same as option 8,  ex-
  1533.               clusion of configured exceptions, except that different lists
  1534.               of names are used.   The recommended mode of operation  is to
  1535.               put the file names which you always want to  exclude into the
  1536.               configured exceptions list (which is semi-permanent and  awk-
  1537.               ward to  revise), and use the option -1 list for special cas-
  1538.               es.  For example, depending on the sort order, you may or may
  1539.               not want  to see  the .ID entries  for volumes  and subdirec-
  1540.               tories.  The option -1  rejection list is the obvious way  to
  1541.               get  rid of  these entries, although  you can  also do  it by
  1542.               selecting only files larger than 0 bytes.
  1543.  
  1544.               Selection  option numbers  are entered  in a  comma-delimited
  1545.               list; the order is not significant.   All but options 8, 9,10
  1546.               and  12 lead to prompts for  more information.  Options -1, 1
  1547.               and 11  accept multiple  items, one per  line, ending  with a
  1548.               null line.  All selection  options are case insensitive.  The
  1549.               default list of options is configurable, and can be edited in
  1550.               the usual way.
  1551.  
  1552.               When  entering a list  of wild-card file  specifications, you
  1553.               can switch to  full-screen editing mode by hitting  tab.  You
  1554.               can make up to 100  entries (5 columns of 20 specifications).
  1555.               Normal  editing commands  are available.    Any cursor  arrow
  1556.               motion off the left  or right end of an entry  is interpreted
  1557.               as a move to the next column.   Hitting HOME moves the cursor
  1558.               to the beginning  of the current entry, or  if already there,
  1559.               to the first entry in the list.  Similarly, hitting END moves
  1560.               to either the end of the current entry or to the last item in
  1561.               the list.
  1562.  
  1563.               If you want  archive file members, but not  the archive files
  1564.               themselves,  include *.ARC, *.LBR, etc. in  one of the excep-
  1565.               tion lists.
  1566.  
  1567.               When character  string input is  required, you can  enter two
  1568.               different types  of wildcard.   The first is similar  to what
  1569.               the DOS  DIR command  accepts:  a question  mark matches  any
  1570.               character and an asterisk  matches all characters to the  end
  1571.               of the string.  A few examples:
  1572.  
  1573.                  * or *.*     matches any file.
  1574.                  *.           matches any file with no extension.
  1575.                  xy*          matches any subdirectory, disk name, comment,
  1576.                               or category which begins with the letters xy.
  1577.                  ???          matches anything 0 to 3 characters long.
  1578.  
  1579.           Wssindex 5.01                   18                      Main Menu
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.                  return       matches absence of comment or category.
  1593.  
  1594.               The second type of wildcard  allows you to search for charac-
  1595.               ters when you don't know  their position in the string.   Es-
  1596.               sentially, this  is a  keyword search,  except that parts  of
  1597.               words can also be  matched.  Simply begin the  string with an
  1598.               asterisk and put the text  immediately after it.  The primary
  1599.               use for this type of  wildcard is for searching comments, but
  1600.               it also works for other string items.  For example:
  1601.  
  1602.               *LOTUS     matches any string containing the substring LOTUS.
  1603.               *123.*     matches any  file name which includes  the charac-
  1604.                          ters 123.
  1605.               **         matches any string which contains an asterisk
  1606.               ?*123.*    doesn't work  because the asterisk isn't the first
  1607.                          character.  123 will be ignored and this is equiv-
  1608.                          alent to *.*.
  1609.  
  1610.               Option 11, the zippy search, is a wildcard search which looks
  1611.               almost  everywhere: file name, extension, comment and catego-
  1612.               ry.  A leading asterisk is assumed; you must not add another.
  1613.               The  more comprehensive search  options are slower  than just
  1614.               looking at the beginning of  each string, but they aren't too
  1615.               bad.  The name  zippy search is taken from a similar function
  1616.               in  the PC Board  bulletin board  program; it's  actually the
  1617.               slowest selection option.
  1618.  
  1619.               Option 12,  select from previous  subset, is only  offered if
  1620.               you have previously selected files and have not done anything
  1621.               to  invalidate the  selection list.    Possible uses  include
  1622.               editing the previous selection if it included too many files,
  1623.               printing  the same  set of  files  that were  just viewed  on
  1624.               screen, or re-viewing with different sort keys.
  1625.  
  1626.               The selected files are optionally sorted in ascending or  de-
  1627.               scending order by any combination of
  1628.  
  1629.               1. file name              6. date and time
  1630.               2. extension              7. category
  1631.               3. disk name              8. comment
  1632.               4. subdirectory           9. archive file name
  1633.               5. size                  10. archive file extension
  1634.  
  1635.               When prompted,  enter or edit a comma-separated  list of sort
  1636.               key numbers, changing the sign  of any you want in descending
  1637.               order.  (The default list is configurable.)  Most of the keys
  1638.               are self-explanatory, but the last two need a little explana-
  1639.               tion.   If you have  elected to extract information  from ar-
  1640.               chive files, the file name and extension used with keys 1 and
  1641.               2 for  members of an  archive file are  those of the  archive
  1642.               file member.   Thus, with only keys 1 and 2, the archive file
  1643.               members sort by  their own names.   Keys 9 and 10  select the
  1644.  
  1645.           Wssindex 5.01                   19                      Main Menu
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.               archive  file name  for members  of an  archive file,  or the
  1659.               usual name  for ordinary files.   In addition, there  are two
  1660.               special conditions checked:
  1661.  
  1662.               1. If sort keys  9 and 10  are used and have  higher priority
  1663.                  than 1 and 2,  the archive file itself will  sort ahead of
  1664.                  any of its members; 
  1665.               2. If keys 1 and  2 have higher priority than 9  and 10, then
  1666.                  archive members  (and other files) are sorted by their own
  1667.                  names.
  1668.  
  1669.               An interleaved  list of keys  such as 1,9,2,10  will probably
  1670.               not  do anything useful.  If there  are multiple copies of an
  1671.               archive file, you will probably  want to have the disk and/or
  1672.               subdirectory as  an intermediate  key when  sorting first  by
  1673.               archive  file name.   To  summarize,  9,10,3,4,1,2 will  list
  1674.               archive members following the  containing archive file, while
  1675.               1,2 will list all files alphabetically.
  1676.  
  1677.               Sorting by category  and comment  is case  insensitive.   Any
  1678.               votes  on whether  this should  also be  true for  disk name?
  1679.               There is a  noticeable time penalty for making  the sort case
  1680.               insensitive.
  1681.  
  1682.               The sort is done using  the Quicksort algorithm. The  sorting
  1683.               time for a randomly ordered file is O(N*logN), typically less
  1684.               than  30 seconds  for 2000  files.   If, however,  you should
  1685.               somehow manage to enter your files in alphabetical order, you
  1686.               will discover one  of the  quirks of  Quicksort: the  sorting
  1687.               time for an ordered file is  O(N*N), turning a 30 second sort
  1688.               into a 10 minute sort.
  1689.  
  1690.               If you elect not to sort (sort key equal zero or just hit re-
  1691.               turn), the selected  files will appear in the  order they are
  1692.               found in the database, unless  the files were selected from a
  1693.               previously sorted  subset, in  which case  the previous  sort
  1694.               order is preserved.
  1695.  
  1696.               When the sort is finished,  you can select whether the output
  1697.               goes to  your printer,  screen, a disk  file or export.   For
  1698.               disk output you will be given the options of suppressing page
  1699.               headers and margins.  Disk output might be massaged by a text
  1700.               editor to change the format, read by another program, printed
  1701.               by a background printing utility while you do something  else
  1702.               in  the foreground,  or transported  to  another machine  for
  1703.               printing; it is  not readable  by the "G"  menu option.   For
  1704.               printer or disk  output, you will be given the  option to in-
  1705.               sert a variable number of blank lines whenever the first sort
  1706.               key changes (for screen output one blank line is inserted).
  1707.  
  1708.               Export output  is in  "Mailmerge" format,  a standard  format
  1709.               which  can be  read by  many database  programs.   Fields are
  1710.  
  1711.           Wssindex 5.01                   20                      Main Menu
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.               separated  by a  user-selected character,  normally  a comma,
  1725.               hence  this format is  often called comma-delimited.   Fields
  1726.               which  contain  the  separator character  are  surrounded  by
  1727.               quotes,  and fields  which contain  a  quote receive  special
  1728.               handling.   For some  database programs, in  particular Lotus
  1729.               1-2-3, it may  be necessary to enclose all  fields in quotes;
  1730.               you are given the option to do this.
  1731.  
  1732.               Information in the configuration file is used to select which
  1733.               fields  are printed  for each  file, and  to control  paging.
  1734.               When  screen  output is  selected, you  can page  forward and
  1735.               backward with the  PgUp and PgDn keys,  go to the top  of the
  1736.               list with the HOME key (PF1 key for DEC Rainbow) or return to
  1737.               the main menu by hitting Q.   Control-s will pause any screen
  1738.               display; control-c will abort printing.
  1739.  
  1740.               For more printing  options, see the  routine CUSTPRNT in  the
  1741.               utilities section.
  1742.  
  1743.           F - Find a file in the database
  1744.               Find  is equivalent to Print (described  above) to the screen
  1745.               unsorted.
  1746.  
  1747.           ^F - Quick Find
  1748.               Quick find  is  equivalent to  Print with  screen output  and
  1749.               files selected by name only.
  1750.  
  1751.           Z - Zippy find
  1752.               This option is equivalent to Print, with selection option 11,
  1753.               unsorted,  with output  to  the  screen.   That  is, you  are
  1754.               prompted for a list  of strings to search for in  file names,
  1755.               extensions, comments and categories.
  1756.  
  1757.           D - List Duplicate files
  1758.               This option lists all files which match the selection  crite-
  1759.               ria and  have duplicates (which  also match).  Only  the file
  1760.               name and extension,  and optionally the time  stamp, are used
  1761.               to decide  whether two files  are duplicates.  The  dummy en-
  1762.               tries for  volumes and subdirectories  are automatically  ex-
  1763.               cluded.
  1764.  
  1765.           U - List Unique files
  1766.               This option lists all files which match  the selection crite-
  1767.               ria  and do not  have duplicates which  also match.   This is
  1768.               similar to the "B" option, but checks all files in a database
  1769.               rather  than just those on a single  disk.  The dummy entries
  1770.               for volumes  and subdirectories  are automatically  excluded.
  1771.               As  with the "D" option, you  can optionally require matching
  1772.               time stamps before two files are considered duplicates.
  1773.  
  1774.  
  1775.  
  1776.  
  1777.           Wssindex 5.01                   21                      Main Menu
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.           B - List files which are not Backed up
  1791.               This option is intended primarily for listing files on a hard
  1792.               disk which have not been backed  up, but can also be used  on
  1793.               floppies.   A file  is considered to be  backed up if another
  1794.               file with the  same name and  the same or  later time tag  is
  1795.               found on another  disk (possibly in an archive  file).  Exact
  1796.               time and  size  matches are  not required  because some  copy
  1797.               programs do not preserve the time stamp, or even the size for
  1798.               files which are not padded to a full disk sector.
  1799.  
  1800.               When you select  this option, you are given  the usual selec-
  1801.               tion options  (described under the  "P" option).   These  are
  1802.               applied to both the disk being checked for backups and to all
  1803.               other files  in your database.   Thus, selecting by  some op-
  1804.               tions, such as disk name,  doesn't make much sense.  However,
  1805.               to allow checking a subdirectory  rather than an entire  disk
  1806.               for backups, any subdirectory  selection criteria are applied
  1807.               only to files on the disk  being checked for backup.  On  the
  1808.               other hand,  subdirectory rejection  criteria are  applied to
  1809.               all files.  Since only files from a single disk will be list-
  1810.               ed, you might as well  set the configuration to skip printing
  1811.               the disk  name (it will be listed in  the title anyway).  You
  1812.               will almost  certainly want to  use an exception list  to ex-
  1813.               clude *.BAK (or  whatever your favorite word  processing pro-
  1814.               gram  names its  backup files).   The  dummy .ID  entries for
  1815.               volumes and  subdirectories are  automatically excluded.   If
  1816.               you are  using the configured exception list, don't forget to
  1817.               request selection  option 8  to use  the list,  otherwise you
  1818.               will have to  stop the listing and  try again.   After selec-
  1819.               tion, the database is sorted using an internally  defined set
  1820.               of sort keys.
  1821.  
  1822.               If you  have a  hard disk which  is logically  partitioned so
  1823.               that it looks like multiple disks, you probably don't want to
  1824.               consider a file to  be backed up just  because it appears  in
  1825.               two partitions.  To avoid this  problem you can either load a
  1826.               database with  only floppies  included, then  index a  single
  1827.               partition before checking it for  backups, or you can use the
  1828.               "R" option  to remove all  but one partition from  your data-
  1829.               base.
  1830.  
  1831.               See also the  U option for checking  backups on all disks  at
  1832.               once.
  1833.  
  1834.               If you use a backup utility which creates special files which
  1835.               only  it can read, you probably will  not find the "B" option
  1836.               useful.
  1837.  
  1838.           V - List Volume names
  1839.               The volumes in the database  are listed to printer, screen or
  1840.               disk, sorted by name, by  decreasing free space, backwards by
  1841.               date indexed,  or unsorted (which  will be about the  same as
  1842.  
  1843.           Wssindex 5.01                   22                      Main Menu
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.               forward by  date indexed unless  the database was  created by
  1857.               merging two databases).
  1858.  
  1859.               When sorting by volume name, you can either treat the name as
  1860.               a text string  or you can  extract any numerical part  of the
  1861.               name and use that as the  key.  As a text string, "DISK  100"
  1862.               would  sort before  "DISK 2",  but if  the numerical  part is
  1863.               extracted, "DISK 2" sorts first.
  1864.  
  1865.               The  printer configuration  information  is  used to  control
  1866.               paging for printer  output; for screen  output, you can  page
  1867.               forward and backward with the PgUp and PgDn keys, or hit Q to
  1868.               return to the  main menu.   The display  for each volume  in-
  1869.               cludes the volume  name, the number of free  bytes, the total
  1870.               number of  bytes available,  the number  of files  (excluding
  1871.               hidden  files), the number  of subdirectories other  than the
  1872.               root directory, the date the disk was last added to the data-
  1873.               base, whether or not the  disk is bootable and optionally any
  1874.               comments entered  describing the disk.   The disk  is assumed
  1875.               bootable if  it has a  COMMAND.COM file, the presence  of the
  1876.               hidden system files is not  verified.  You may abort printing
  1877.               by hitting control-c.
  1878.  
  1879.           ^V - Quick list of Volume names
  1880.               This option lists  the volume names to the  screen, sorted by
  1881.               name and without comments.
  1882.  
  1883.           R - Return to main menu
  1884.               Returns to previous menu.
  1885.  
  1886.                                     Indexing Menu
  1887.  
  1888.           Additions to the database are made from this menu.  Many  control
  1889.           options are found here, but a few are only available on  the con-
  1890.           figuration menus.
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.           Wssindex 5.01                   23                      Main Menu
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.            +-------------------------------------------------------------+
  1923.            |                    Wssindex Indexing Menu                   |
  1924.            |                                                             |
  1925.            | Start Indexing            Ask before replacing           NO |
  1926.            | Dummy entry index         Auto-Comment                   NO |
  1927.            | ^D list directory         AUto-category                  NO |
  1928.            | Label disk                Make .ID entries              YES |
  1929.            | COnfiguration menu        DummY Entries inc subdir tree  NO |
  1930.            | Return to main menu       Query archive extraction       NO |
  1931.            |                           Index Hidden files             NO |
  1932.            | First indexing drive   A  Extract archive comments       NO |
  1933.            | Second indexing drive  A                                    |
  1934.            | LaBeling drive         A                                    |
  1935.            | Indexing sTarts from   (none)                               |
  1936.            | Auto-category strinG   (none)                               |
  1937.            +-------------------------------------------------------------+
  1938.                                        Figure 4
  1939.  
  1940.  
  1941.           I - Start Indexing
  1942.               Insert the first  disk to be indexed into  the first indexing
  1943.               drive and hit the space bar when ready.  The processing  time
  1944.               is roughly proportional  to the number of files  on the disk,
  1945.               and  will typically be only a few  seconds for a floppy disk.
  1946.               If the  disk is not labeled, you will  be given the option to
  1947.               either  write a  label on  the  disk, enter  an 11  character
  1948.               string to be used in place of a label, list the disk directo-
  1949.               ry or abort back to the menu.  See the "L" option below for a
  1950.               discussion of  "legal" volume names.   If the Ask  before re-
  1951.               placing option  is YES,  you will be  informed if  the volume
  1952.               name matches a  volume already in the database  and given the
  1953.               option to  replace the previous  entry or not enter  the disk
  1954.               into  the database.   The  informative message  "NO FILES  IN
  1955.               d:\*.*" will be generated if  there are no files in  the root
  1956.               directory, along with similar messages for other empty direc-
  1957.               tories.  When prompted you may either insert another disk (in
  1958.               the  alternate  indexing  drive  if  configured to  alternate
  1959.               drives) and hit the space bar, or hit any other key to return
  1960.               to the menu.
  1961.  
  1962.               An important feature: if you  replace a disk in the database,
  1963.               any comments or categories which have been previously entered
  1964.               are not lost,  they are copied over  to the new entry  if the
  1965.               file and subdirectory names match.  Thus you should feel free
  1966.               to re-enter a disk into the database after even small changes
  1967.               have been made.  During  a replacement operation, the old and
  1968.               new entries are  temporarily in memory at the  same time, and
  1969.               both count  toward the limits  on the number of  files, disks
  1970.               and subdirectories.
  1971.  
  1972.               There is one  circumstance which could make  replacing a disk
  1973.               in the database  very time consuming.  The  code which copies
  1974.  
  1975.           Wssindex 5.01                   24                  Indexing Menu
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.               old comments to new entries is a straightforward doubly nest-
  1989.               ed loop, which means that the running time is roughly propor-
  1990.               tional to the square of the  number of commented files.  This
  1991.               is not a problem with floppy disks which seldom have even 100
  1992.               files,  but on  a hard disk  with a  few thousand  files, the
  1993.               processing time could stretch to  several minutes.  The obvi-
  1994.               ous solution is to sort both sets of names first, which would
  1995.               reduce the processing  time for commented  disks, at the  ex-
  1996.               pense of  increasing it  for non-commented  ones,  and I  may
  1997.               implement this in a future release.  Comments from registered
  1998.               users are solicited.  (Does anyone  actually comment files on
  1999.               their hard disk?)
  2000.  
  2001.           D - Add dummy entries
  2002.               This option is similar to the "I" option, but does not make a
  2003.               complete  database entry.   Instead, the database  entry will
  2004.               show that there is only the dummy zero-length file named .ID.
  2005.               (The volume name, free space  and total disk space will match
  2006.               the actual  disk directory.)   This allows you to  record the
  2007.               existence of a disk  when you don't want to include  the file
  2008.               names, say  for a program  master disk which  contains driver
  2009.               files  for many different printers, graphics cards, etc.  The
  2010.               .ID file is a place to hang a descriptive comment and catego-
  2011.               ry.  Older versions of  WSSINDEX used DUMMY_EN.TRY instead of
  2012.               .ID; the auxiliary routine IDADD will translate such entries.
  2013.               The Make .ID entries option  must be set to YES before  dummy
  2014.               entries can be made.
  2015.  
  2016.           ^D - List directory (control-d)
  2017.               This option  performs the same  way on  this menu as  it does
  2018.               from the main menu (page 14).
  2019.  
  2020.           L - Label a disk on the labeling drive
  2021.               A volume label is an optional entry in a disk directory which
  2022.               looks much like  a file name, but is  given special treatment
  2023.               by  DOS.  If present, it  can be displayed by  the DOS DIR or
  2024.               VOL  commands.   Labels are  usually written  when a  disk is
  2025.               formatted,  but  can  be added  later  by  various utilities.
  2026.               WSSINDEX uses the volume name to distinguish different disks.
  2027.  
  2028.               This option displays  the current volume  label, if any,  and
  2029.               prompts you for a  new label.  A carriage return  aborts back
  2030.               to the menu without changing  anything.  The labeling is done
  2031.               by a  DOS call,  so  DOS restrictions  on allowed  characters
  2032.               apply (in particular, your input will be forced to upper case
  2033.               because lower  case letters are  not allowed, but  blanks are
  2034.               ok).  If in doubt, try the label you want to use; an  illegal
  2035.               name will be rejected with  no harmful consequences.  I would
  2036.               suggest that  you not trust  a copy protected master  disk to
  2037.               any disk labeling program; who  knows what sort of games they
  2038.               might  have played  with  the directory.    I also  recommend
  2039.  
  2040.  
  2041.           Wssindex 5.01                   25                  Indexing Menu
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.               against writing  on a 360K disk in a  1.2 MB drive since this
  2055.               could make it unreadable on some 360K drives.
  2056.  
  2057.               Note: if  you have a disk with a  mixed case label (which you
  2058.               can easily  create with  the Norton  Utilities or some  other
  2059.               programs), WSSINDEX will not be able to change the label (DOS
  2060.               rename call fails).  If you need to change such a label while
  2061.               Wssindex is  running, you can  use the DOS Shell  option from
  2062.               the main menu to  run a labeling utility.  Disks  with labels
  2063.               differing only  in case are  considered to be  different when
  2064.               adding disks  to the  database, but  cannot be  distinguished
  2065.               when selecting  by volume name.  If you use really weird vol-
  2066.               ume labels,  such as  ANSI cursor  positioning commands,  you
  2067.               probably deserve whatever happens to you.
  2068.  
  2069.           O - COnfiguration menu
  2070.               This  option takes  you to  the  primary configuration  menu.
  2071.               From there, you can make changes or save a configuration file
  2072.               including the control settings from the indexing menu.
  2073.  
  2074.           R - Return to main menu
  2075.               This option returns you to the main menu.
  2076.            
  2077.           F - First indexing drive
  2078.           S - Second indexing drive
  2079.           B - LaBeling drive
  2080.               These three  options select the drive letters used for index-
  2081.               ing  or labeling disks.   If you only  have one floppy drive,
  2082.               the three drive letters  will usually be identical,  but they
  2083.               can be changed to index or label hard disk partitions.
  2084.  
  2085.           T - Indexing sTarts from
  2086.               This option allows  for partial indexing of a  disk.  Instead
  2087.               of starting from the root directory and  including all files,
  2088.               only files  in or below the specified  directory are indexed.
  2089.               (The disk  volume label  is read from  the root  directory as
  2090.               usual.)  The format of the subdirectory specification will be
  2091.               adjusted to  canonical form so  you need not worry  about de-
  2092.               tails like whether a leading or trailing backslash is needed.
  2093.               Making a partial index might be  useful as the first step  in
  2094.               checking  a critical subdirectory for  backups, or as a means
  2095.               of indexing a  CD ROM or very  large disk which contains  too
  2096.               many files to fit in a single database.
  2097.  
  2098.           G - Auto-category strinG
  2099.               This is the string  which is used for the category if config-
  2100.               ured to add categories automatically.
  2101.  
  2102.           A - Ask before replacing
  2103.               This flag  controls the action  taken when a volume  label is
  2104.               found which matches one already in the database.  If YES, you
  2105.               are asked whether to replace the existing  database entry; if
  2106.  
  2107.           Wssindex 5.01                   26                  Indexing Menu
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.               NO, the  entry is  replaced automatically.   Generally,  this
  2121.               flag should  be YES when  indexing a collection of  disks for
  2122.               the  first time  since duplicate  volume  names on  different
  2123.               disks are  easy to generate.  On the  other hand, if you have
  2124.               not kept track of which disks have been changed without being
  2125.               re-indexed and are re-indexing disks  you know are already in
  2126.               the database, you  can set the flag to NO and replace without
  2127.               verification.
  2128.  
  2129.           C - Auto-Comment
  2130.               If YES, you are transferred to  the add-comments screen after
  2131.               each disk is indexed.  All files on the disk just entered are
  2132.               selected for commenting.
  2133.  
  2134.           U - AUto-category
  2135.               If YES, all files on  disks indexed are assigned the category
  2136.               shown in the auto-category string.
  2137.  
  2138.           M - Make .ID entries
  2139.               In order to record the  subdirectory structure of a disk, and
  2140.               to allow comments to be assigned to disks and subdirectories,
  2141.               it  is necessary  to make  special  database entries  for the
  2142.               volume label and  each subdirectory.  These entries look like
  2143.               files with the  (illegal) name .ID.  These  entries count to-
  2144.               wards the limits on the number of files, so if you don't want
  2145.               to assign comments  to disks or  subdirectories, you can  set
  2146.               this option to NO and decrease the database size slightly.
  2147.  
  2148.           Y - DummY entries include subdirectory tree
  2149.               If this option  is set to YES, dummy entry  indexing will in-
  2150.               clude the  entire subdirectory tree;  if set to NO,  only one
  2151.               entry will be made for the volume id.
  2152.  
  2153.           Q - Query archive extraction
  2154.               You may  want to extract file information  only from selected
  2155.               archives.  If  this option is YES, you are  asked before file
  2156.               information is extracted  from any file with  an extension in
  2157.               the extraction list.
  2158.  
  2159.           H - Index Hidden files
  2160.               Bootable disks have  two hidden files which are  not shown by
  2161.               the DOS  DIR command.   If this option  is set to  YES, these
  2162.               files are included when a disk is indexed, otherwise they are
  2163.               ignored.   (Indexing of any  other hidden files is  also con-
  2164.               trolled by this flag.)
  2165.  
  2166.           E - Extract archive comments
  2167.               Some of the archive formats allow comments for the archive or
  2168.               members.  If this option is YES, such comments are extracted,
  2169.               filtered to  remove unprintable  characters, and assigned  to
  2170.               database files.
  2171.  
  2172.  
  2173.           Wssindex 5.01                   27                  Indexing Menu
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.                               Primary Configuration Menu
  2187.  
  2188.           Most of the  items in this menu  lead to sub-menus which  are de-
  2189.           scribed in detail below.  The exceptions are  the options to load
  2190.           or save  a configuration file, and, of  course, the option to re-
  2191.           turn to the previous  menu.  When loading or  saving a configura-
  2192.           tion file,  the prompt shows the file name  which will be used by
  2193.           default.  You  can accept this default by hitting  return, or you
  2194.           can edit the file name using cursor keys, insert/delete, etc.
  2195.  
  2196.                         +------------------------------------+
  2197.                         |    Primary Configuration Menu      |
  2198.                         |                                    |
  2199.                         | Printer configuration              |
  2200.                         | SiZe limits                        |
  2201.                         | Indexing options                   |
  2202.                         | Screen, keyboard and Miscellaneous |
  2203.                         | Default sorting/selection options  |
  2204.                         | Keyboard macros                    |
  2205.                         | Configured Exception list          |
  2206.                         | Which fields to print              |
  2207.                         | Output Format                      |
  2208.                         |                                    |
  2209.                         | Load configuration file            |
  2210.                         | Save configuration file            |
  2211.                         |                                    |
  2212.                         | Return to previous menu            |
  2213.                         +------------------------------------+
  2214.                                        Figure 5
  2215.  
  2216.  
  2217.           P - Printer configuration
  2218.               Leads to a menu describing printer characteristics.
  2219.  
  2220.           Z - SiZe limits
  2221.               Leads to a menu to set database size limits.
  2222.  
  2223.           I - Indexing options
  2224.               Leads to a menu of options controlling behavior when indexing
  2225.               disks.
  2226.  
  2227.           M - Screen, keyboard and Miscellaneous
  2228.               Leads to a menu of miscellaneous items.
  2229.  
  2230.           D - Default sorting/selection options
  2231.               Leads to  a menu for  entering default sorting  and selection
  2232.               options.
  2233.  
  2234.           K - Keyboard macros
  2235.               This option displays the 26 keyboard macros available by hit-
  2236.               ting Alt-letter in the add-comments section (or anywhere else
  2237.               that multi-character text input is allowed) and allows you to
  2238.  
  2239.           Wssindex 5.01                   28     Primary Configuration Menu
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.               change them.   These macros  are stored in  the configuration
  2253.               file,  not the database file.  If  you make any changes here,
  2254.               you will  be given the  option to save a  configuration file.
  2255.               (In earlier releases, keyboard macros were called  predefined
  2256.               categories  and  could  only  be  used  in  the  add-comments
  2257.               screen.)
  2258.  
  2259.           E - Configured Exception list
  2260.               The exception list  is list of up  to 100 special case  names
  2261.               which can be  excluded from printing.  By  default, this list
  2262.               consists of only COMMAND.COM, but  you might also want to add
  2263.               *.BAK, AUTOEXEC.BAT or anything else you have many copies of.
  2264.               Wild card names are  allowed.  List entries are made in full-
  2265.               screen mode (the same as is optionally used for entering file
  2266.               specifications when selecting files).  This list is only used
  2267.               if you  ask for  it as one  of the  selection options.   This
  2268.               semi-permanent list serves  the same purpose as  the one-shot
  2269.               rejection list which you can enter whenever selecting files.
  2270.  
  2271.           W - Which fields to print
  2272.               Leads to a menu for selecting what information to print.
  2273.  
  2274.           F - Output Format
  2275.               Leads to a menu for controlling output format.
  2276.  
  2277.           L - Load configuration file
  2278.           S - Save configuration file
  2279.               Configuration files hold  the option settings entered  in the
  2280.               various menus, including the  keyboard macros.  You  can save
  2281.               or load a configuration file at  any time, but a newly loaded
  2282.               configuration  file cannot change the database size limits if
  2283.               a database  is currently in  memory.   If you  attempt to  do
  2284.               this, you will be given the option to clear the loaded  data-
  2285.               base.  If you decline,  all configuration options except  the
  2286.               changed size limits will take effect.
  2287.  
  2288.               If you  read or save  a configuration file, the  default file
  2289.               name is the first of
  2290.  
  2291.               1. The last configuration file saved or read
  2292.               2. The first command line argument
  2293.               3. The  DOS  environment variable  WSSICNF  (DOS  command set
  2294.                  WSSICNF=filespec)
  2295.               4. WSSINDEX.CNF (with  drive  and path  whatever was  current
  2296.                  when the program was loaded)
  2297.  
  2298.               which is  defined.   The default  name can  be edited  in the
  2299.               usual  manner.   If an  error is  encountered when  reading a
  2300.               configuration file, WSSINDEX will assume the worst and revert
  2301.               to  using DOS calls for  screen output unless the environment
  2302.               variable WSSDISP is defined.
  2303.  
  2304.  
  2305.           Wssindex 5.01                   29     Primary Configuration Menu
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.               The format of the configuration  file often changes from ver-
  2319.               sion to version; compatibility is not  guaranteed.  Usually I
  2320.               try to  arrange things  so that most  information can  be ex-
  2321.               tracted  from an older configuration file before a read error
  2322.               occurs, but major  program upgrades always seem to require so
  2323.               many new  configuration items that  maintaining compatibility
  2324.               with older configuration files is not always  possible.  Gen-
  2325.               erally, Wssindex will realize that it is reading an  obsolete
  2326.               format before very  many garbage values have been  read.  One
  2327.               of the first  things you should do  with a new version  is to
  2328.               review your configurations settings.
  2329.  
  2330.           R - Return to previous menu
  2331.               Returns to either main or indexing menu.
  2332.  
  2333.  
  2334.                               Printer Configuration Menu
  2335.  
  2336.           Items in this  menu define the characteristics of  your printer. 
  2337.           They are also used for disk output,  but have no effect on screen
  2338.           output.  Distances on a  printed page are expressed in characters
  2339.           and lines.   Proportionally spaced fonts are not  supported; they
  2340.           will cause misaligned columns.
  2341.  
  2342.                       +---------------------------------------+
  2343.                       |      Printer configuration menu       |
  2344.                       |                                       |
  2345.                       | Page Width                         80 |
  2346.                       | Page Length                        66 |
  2347.                       | Left Margin                         0 |
  2348.                       | Top margin                          3 |
  2349.                       | Bottom margin                       8 |
  2350.                       | Use Form feeds                    YES |
  2351.                       | Pause at page breaks               NO |
  2352.                       |                                       |
  2353.                       | Return to primary configuration menu  |
  2354.                       +---------------------------------------+
  2355.                                        Figure 6
  2356.  
  2357.  
  2358.  
  2359.           W - Paper Width to right margin
  2360.               This is  the width of  the paper, less any  desired allowance
  2361.               for a right margin.  (The number entered here does not depend
  2362.               on the left margin setting.)   If your printer does  an auto-
  2363.               matic carriage return and linefeed when a character is print-
  2364.               ed in the rightmost column, you  should set the width to pre-
  2365.               vent using this column.   Page numbers are right justified to
  2366.               the page width setting.
  2367.  
  2368.  
  2369.  
  2370.  
  2371.           Wssindex 5.01                   30     Primary Configuration Menu
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.           L - Paper Length
  2385.               This is the length  of the paper, typically  66 lines for  11
  2386.               inch paper at  6 lines per inch, but slightly  smaller (60 or
  2387.               62) for laser printers which can't print on the first or last
  2388.               few lines of a page, or larger for A4 size paper.
  2389.  
  2390.           M - Left Margin
  2391.           T - Top margin
  2392.           B - Bottom margin
  2393.               The number of spaces or lines to leave blank  in each margin.
  2394.               Note that a right margin allowance is made by using a smaller
  2395.               paper width specification.
  2396.  
  2397.           F - Use Form feeds
  2398.               Most, but not all, printers respond to a form feed command to
  2399.               eject the current page.   For printers which do not recognize
  2400.               form  feeds, set this option  to NO and  page advance will be
  2401.               done by  inserting blank lines.  The disadvantage of enabling
  2402.               this option is that if some  glitch messes up the line count-
  2403.               ing, the error  will  propagate  to following pages,  whereas
  2404.               doing a line feed resynchronizes the program and printer line
  2405.               counting.   Depending on  your printer, if  you are  printing
  2406.               with  zero bottom  margin, it  may be  necessary to  set this
  2407.               option to NO to prevent printing every other page blank.
  2408.  
  2409.           P - Pause at page breaks
  2410.               If a  manual-feed sheet printer  is used, set this  option to
  2411.               YES so that output will pause for paper change.
  2412.  
  2413.  
  2414.                                  Database Size Limits
  2415.  
  2416.           The entire Wssindex database is kept in memory.  Thus, the  maxi-
  2417.           mum database size depends on  available memory, and under  MS/PC-
  2418.           DOS, that usually means  less than 640K.  The overhead for memory
  2419.           management is  greatly reduced if  space for certain  fixed sized
  2420.           items  is allocated in  a few large  chunks rather  than in small
  2421.           pieces as a database grows.  Also, the DOS Shell  option requires
  2422.           some  memory which  could  otherwise be  used  for the  database.
  2423.           These  considerations mean that the program must know the maximum
  2424.           database  size before  the database  is loaded.    However, these
  2425.           limits  can be  changed before  a database  loaded from  disk, so
  2426.           numbers entered here do not restrict future database growth.
  2427.  
  2428.           In this menu, the limits  on the numbers of files, subdirectories
  2429.           and disks are set.   Regardless of available memory, each must be
  2430.           less than 16,384.  In practice,  it's usually the number of files
  2431.           which  is most  constricting.   10-12,000  files  can usually  be
  2432.           accomodated in 640K, provided that a significant amount of memory
  2433.           is not also being used for comments  and categories.  If there is
  2434.           not enough memory for the requested size limits, an error message
  2435.           will appear when you attempt  to exit from the primary configura-
  2436.  
  2437.           Wssindex 5.01                   31     Printer Configuration Menu
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.           tion menu.  Insufficient memory for variable length items (subdi-
  2451.           rectory names, comments  and categories)  will be  detected as  a
  2452.           database is read or expanded.
  2453.  
  2454.           A maximum length comment or category takes up more database memo-
  2455.           ry  than 3 file   entries, so a  heavily commented database could
  2456.           run into memory space problems even at 3000 files.
  2457.  
  2458.                     +-------------------------------------------+
  2459.                     |           Database size limits            |
  2460.                     |                                           |
  2461.                     | Maximum number of Files              3000 |
  2462.                     | Maximum number of Subdirectories      600 |
  2463.                     | Maximum number of Disks               300 |
  2464.                     |                                           |
  2465.                     | Return to primary configuration menu      |
  2466.                     +-------------------------------------------+
  2467.                                        Figure 7
  2468.  
  2469.  
  2470.  
  2471.                              Indexing Configuration Menu
  2472.  
  2473.           Items in this menu control program behavior during disk indexing.
  2474.           Many of these items are duplicated on the indexing sub-menu.
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.           Wssindex 5.01                   32           Database Size Limits
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.               +-------------------------------------------------------+
  2517.               |             Indexing configuration menu               |
  2518.               |                                                       |
  2519.               | Indexing drive number 1                             A |
  2520.               | Indexing drive number 2                             B |
  2521.               | Make .ID entries (allows disk/subdir comments)    YES |
  2522.               | Ask Before replacing                               NO |
  2523.               | Auto coMment after disk indexed                    NO |
  2524.               | Auto caTegory for all files                        NO |
  2525.               | Ask before eXtracting archive info                 NO |
  2526.               | Extract comments from archive files               YES |
  2527.               |                                                       |
  2528.               | Auto cateGory string        (none)                    |
  2529.               |                                                       |
  2530.               | File extensions for archive information extraction    |
  2531.               |                                                       |
  2532.               |      ARC    YES          PAK    YES                   |
  2533.               |      ARK    YES          PKA    YES                   |
  2534.               |      LBR    YES          ZIP    YES                   |
  2535.               |      LZH    YES          ZOO    YES                   |
  2536.               |      LZS    YES                                       |
  2537.               |                                                       |
  2538.               | Return to primary configuration menu                  |
  2539.               +-------------------------------------------------------+
  2540.                                        Figure 8
  2541.  
  2542.  
  2543.  
  2544.           1,2 - Indexing drive number
  2545.               If you have  two drives, Wssindex will read  from them alter-
  2546.               nately when indexing so that you can be swapping disks in one
  2547.               drive while the  other is being used.   If you have  only one
  2548.               drive (or if  you only want to use one drive), just enter the
  2549.               same letter for both drives.
  2550.  
  2551.           I - Make .ID entries
  2552.               In order to record the  subdirectory structure of a disk, and
  2553.               to allow comments to be assigned to disks and subdirectories,
  2554.               it  is necessary  to  make special  database entries  for the
  2555.               volume  label and each subdirectory.  These entries look like
  2556.               files with the  (illegal) name .ID.  These  entries count to-
  2557.               wards the limits on the number of files, so if you don't want
  2558.               to  assign comments to  disks or subdirectories,  you can set
  2559.               this option to NO and decrease the database size slightly.
  2560.  
  2561.           B - Ask Before replacing
  2562.               If a  disk is encountered  while indexing which has  the same
  2563.               volume  label as  one already  in the  database, it  could be
  2564.               either a  different disk  with a duplicate  name or  the same
  2565.               disk  being re-indexed.   This  option  controls whether  any
  2566.               warning is given before a duplicate disk is replaced.
  2567.  
  2568.  
  2569.           Wssindex 5.01                   33    Indexing Configuration Menu
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.           M - Auto coMment
  2583.               If YES,  automatically go  to the  add-comments screen  after
  2584.               each disk is indexed, with all files from the disk selected.
  2585.  
  2586.           T - Auto caTegory
  2587.               If YES, assign the auto-category string to all files as disks
  2588.               are indexed.
  2589.  
  2590.           X - Ask before eXtracting archive info
  2591.               You may want  to extract file information  only from selected
  2592.               archives.  If  this option is YES, you  are asked before file
  2593.               information  is extracted from any file  with an extension in
  2594.               the extraction list.
  2595.  
  2596.           E - Extract comments from archive files
  2597.               Some of the archive formats allow comments for the archive or
  2598.               members.  If this option is YES, such comments are extracted,
  2599.               filtered to remove unprintable characters and excess  blanks,
  2600.               and assigned to database files.
  2601.  
  2602.           G - Auto cateGory string
  2603.               This is the string which is used for the category if  config-
  2604.               ured to add categories automatically.
  2605.  
  2606.           Extension for extraction
  2607.               Files with extensions  marked YES here  will be processed  as
  2608.               archive files when disks are indexed.
  2609.  
  2610.                            Miscellaneous Configuration Menu
  2611.  
  2612.           This  menu includes a  variety of miscellaneous  items, including
  2613.           the paths to  the color selection  and video board  configuration
  2614.           menus.
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.           Wssindex 5.01                   34    Indexing Configuration Menu
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.               +-------------------------------------------------------+
  2649.               |   Screen, keyboard and miscellaneous configuration    |
  2650.               |                                                       |
  2651.               | Perform automatic inteGrity check                  NO |
  2652.               | Function Key layout matching IBM                  YES |
  2653.               | Inverted meaning for PgUp/PgDn                     NO |
  2654.               | Create .BAK files                                 YES |
  2655.               | Enable Alarm sound                                YES |
  2656.               | Change Prompt in DOS shell                        YES |
  2657.               | Strip High-bit when viewing files                 YES |
  2658.               | Use color                                         YES |
  2659.               | Use Mouse                                          NO |
  2660.               | Mouse Sensitivity                                  50 |
  2661.               |                                                       |
  2662.               | Set Colors                                            |
  2663.               | Video board configuration                             |
  2664.               |                                                       |
  2665.               | Return to primary configuration menu                  |
  2666.               +-------------------------------------------------------+
  2667.                                        Figure 9
  2668.  
  2669.  
  2670.           G - Perform automatic inteGrity check
  2671.               A disk  indexing program infected  by a computer  virus could
  2672.               spread the infection to every write-enabled disk indexed.  To
  2673.               provide partial protection, Wssindex will read its executable
  2674.               file from disk and perform a checksum test.  If  the expected
  2675.               checksum is not found, a  warning will be displayed the first
  2676.               time  you enter  the main  menu.   Since  this test  requires
  2677.               reading the  program from disk,  it requires  about the  same
  2678.               amount of time  as loading  the program.   With  a fast  hard
  2679.               disk, this  time is negligible,  but on a floppy  it could be
  2680.               annoyingly long, hence the option of disabling the test.
  2681.  
  2682.               This type of integrity test is far from foolproof.  First, it
  2683.               only tests whether the program itself is infected, not wheth-
  2684.               er a virus from a previously run program  is active.  Second,
  2685.               a sophisticated virus  might well detect  that a program  was
  2686.               reading its  disk image and  feed back the  uninfected image.
  2687.               Finally,  a virus targeted  against a specific  program could
  2688.               remove the checksumming  code entirely.   I intend to  change
  2689.               the details of the integrity check from release to release in
  2690.               order to make this last attack more difficult.  There are now
  2691.               several programs available  which attempt to check  for virus
  2692.               infections by known viruses, or to block destructive actions.
  2693.               Since I  have never  actually encountered  a virus,  I cannot
  2694.               comment on how  effective such programs might be.   I do know
  2695.               that computer  scientists have  demonstrated  that writing  a
  2696.               "universal virus detector" is not possible.
  2697.  
  2698.               In order to perform the  checksum test, the program must know
  2699.               its name  and where  it was loaded  from.   Under DOS  3.0 or
  2700.  
  2701.           Wssindex 5.01                   35    Miscellaneous Configuration
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.               higher, this is  trivial, and under previous  DOS versions it
  2715.               is impossible.  When running  under DOS 2.x, the program name
  2716.               is assumed to be WSSINDEX.EXE, and the current  directory and
  2717.               the PATH are  searched for this name.   Thus, if you  wish to
  2718.               use the  integrity check under  DOS 2.x, you must  change the
  2719.               program name  from the  distributed name  which includes  the
  2720.               version number.
  2721.  
  2722.               There  are various utilities available which compress an exe-
  2723.               cutable  file on disk  and automatically decompress  when the
  2724.               program is loaded.   If such a utility is used,  the disk im-
  2725.               age, and  hence the checksum,  is changed,  so the  integrity
  2726.               check will  fail.   However, such a  compression utility  may
  2727.               provide an equivalent checksum test.  Except for this consid-
  2728.               eration, WSSINDEX has been tested  and found to be compatible
  2729.               with the  program LZEXE  version 0.91  (Fabrice Bellard,  451
  2730.               chemin  du  mas de  Matour,  34790 Grabels,  France)  and the
  2731.               LZESHELL program (Pete Petrakis, 1236 River Bay Road, Annapo-
  2732.               lis, Maryland  21401) which translates LZEXE's  messages into
  2733.               English.   LZEXE compresses the unpacked WSSI501.EXE by about
  2734.               50% and  the reduced disk  access time more  than compensates
  2735.               for the decompression overhead.
  2736.  
  2737.           K - Function Key layout matching IBM
  2738.               The function key help in the add-comments  screen is arranged
  2739.               in two columns, just as  the function keys on many keyboards.
  2740.               If you have an unusual keyboard which has F2 below  F1 rather
  2741.               than beside it, such  as is found on your  author's old Sanyo
  2742.               555, set  this option to  NO and the help  screen arrangement
  2743.               will match  the key arrangement.   If your function  keys run
  2744.               across  the top of  the keyboard, pick  whichever arrangement
  2745.               seems best.
  2746.  
  2747.           I - Inverted meaning for PgUp/PgDn
  2748.               Your author  became accustomed to an hp  terminal long before
  2749.               he ever saw a PC keyboard.   The hp keyboard had NEXT  SCREEN
  2750.               and PREVIOUS  SCREEN keys in  the same positions as  PgUp and
  2751.               PgDn, but the positions were interchanged relative to meaning
  2752.               most programs  assign to the  PC keyboard keys.   Your author
  2753.               sets this option  to YES and goes through  contortions to get
  2754.               other programs  to do  the  equivalent translation;  probably
  2755.               everyone else will set it to NO.
  2756.  
  2757.           B - Create .BAK files
  2758.               When a  database is saved, and  an existing file  of the same
  2759.               name  is found,  the old  file can  be either  overwritten or
  2760.               renamed with  a .BAK extension.   The latter option  is obvi-
  2761.               ously safer since the old file remains if the save fails, but
  2762.               the output disk might not have enough room for two databases.
  2763.               If you  elect not to  create .BAK files,  you will be  warned
  2764.               that an  old file  of the same  name exists and  must confirm
  2765.               that  you really  want to  overwrite  it.   If creating  .BAK
  2766.  
  2767.           Wssindex 5.01                   36    Miscellaneous Configuration
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.               files, a  two generation old .BAK file will be erased so that
  2781.               the previous database file can be renamed.
  2782.  
  2783.           A - Enable Alarm sound
  2784.               Some error messages  include a beep.  This  option allows you
  2785.               do disable all such sounds.
  2786.  
  2787.           P - Change Prompt in DOS shell
  2788.               The prompt when shelled to DOS can be either changed to "EXIT
  2789.               to return>" to  remind you that you  are in a shell,  or left
  2790.               unchanged.
  2791.  
  2792.           H - Strip High-bit when viewing files
  2793.               Files created by WordStar, and possibly other files, have the
  2794.               high-bit set  on some  characters.   When viewing  such files
  2795.               from the add-comments screen, it is desirable to turn off the
  2796.               high-bit  to make the text readable.  On the other hand, lan-
  2797.               guages  other than English  use characters with  the high-bit
  2798.               set.   So, generally  this option  should be  set to  YES for
  2799.               English language users  and NO for  other languages.   (Ques-
  2800.               tion:  are ther non-English versions of  WordStar, and if so,
  2801.               what do they do about special characters?)
  2802.  
  2803.           U - Use color
  2804.               By default,  the program will  run in monchrome.   (This does
  2805.               not  refer to the  type of  video board  which is  a separate
  2806.               selection.)  To  get color, set  this option to YES  and also
  2807.               select set Colors  to get a color-selection  menu.  Actually,
  2808.               the setting  of this control  is only important if  using DOS
  2809.               calls for screen  output.  With direct video  writes, you can
  2810.               get colors even if this option is set to NO.
  2811.  
  2812.           M - Use Mouse
  2813.               Set this option  to YES to enable  the mouse.  There  are two
  2814.               possible reasons  why you might  not want to do  this: first,
  2815.               the  standard method  of testing  whether a mouse  is present
  2816.               causes some  non-compatible  machines to  crash, and  second,
  2817.               when the  mouse is active, the program  sits in a loop alter-
  2818.               nately checking for keyboard or mouse input rather  than sim-
  2819.               ply asking DOS  to read the next keystroke.  In a multi-task-
  2820.               ing  environment such  as Desqview,  this  wastes CPU  cycles
  2821.               which could be used by tasks in other windows.
  2822.  
  2823.           S - Mouse Sensitivity
  2824.               A smaller number here means less mouse motion is necessary to
  2825.               move the highlight bar.
  2826.  
  2827.           C - Set Colors
  2828.               This option leads to the color selection menu.
  2829.  
  2830.           V - Video board configuration
  2831.               This option leads to the video board selection menu.
  2832.  
  2833.           Wssindex 5.01                   37    Miscellaneous Configuration
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.           R - Return to primary configuration menu
  2847.               Returns to the previous menu.
  2848.  
  2849.  
  2850.                       Default Sorting and Selection Options Menu
  2851.  
  2852.                   +-------------------------------------------------+
  2853.                   |     Default Sorting and Selection Options       |
  2854.                   |                                                 |
  2855.                   | Selection list (none)                           |
  2856.                   | Sort Keys      (none)                           |
  2857.                   |                                                 |
  2858.                   | Return to main menu                             |
  2859.                   +-------------------------------------------------+
  2860.                                       Figure 10
  2861.  
  2862.  
  2863.           S - Selection list
  2864.           K - Sort Keys
  2865.               When listing  files with the  Find or Print options,  you are
  2866.               prompted for selection and sort  options.  The two menu items
  2867.               here allow you to specify  the default selection and sort key
  2868.               lists.  If present, each will be a list of numbers, separated
  2869.               by commas.  These lists may be edited at the time of use, but
  2870.               such editing does not change the defaults.
  2871.  
  2872.           R - Return to previous menu
  2873.               Returns to the primary configuration menu.
  2874.  
  2875.  
  2876.                            Output Fields Configuration Menu
  2877.  
  2878.           This menu  is used to  select what information is  displayed when
  2879.           files are listed.   Note that displaying all  items requires con-
  2880.           siderably more  than 80  characters.  The  output format  menu is
  2881.           used to control how long lines are handled.
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.           Wssindex 5.01                   38    Miscellaneous Configuration
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.               +-------------------------------------------------------+
  2913.               |           Output fields configuration menu            |
  2914.               |                                                       |
  2915.               | Print File name and extension plus                    |
  2916.               |                                                       |
  2917.               |      DuPlicate flag  NO    Volume            YES      |
  2918.               |      Size           YES    SuBdirectory      YES      |
  2919.               |      Date           YES    Archive file name YES      |
  2920.               |      Time           YES    Comment           YES      |
  2921.               |      SEconds        YES    CateGory          YES      |
  2922.               |                                                       |
  2923.               | Return to primary configuration menu                  |
  2924.               +-------------------------------------------------------+
  2925.                                       Figure 11
  2926.  
  2927.  
  2928.           P - DuPlicate flag
  2929.               An asterisk following the file name  if the name is the  same
  2930.               as the  previous file listed.   Note  that whether a  file is
  2931.               flagged depends on the sort order and selection options.
  2932.  
  2933.           S - Size
  2934.               File size in bytes.
  2935.  
  2936.           D - Date
  2937.               Date  of last  modification; date format  is selected  in the
  2938.               output format menu.
  2939.  
  2940.           T - Time
  2941.               Time  of last  modification;  always omitted  if date  is not
  2942.               printed.
  2943.  
  2944.           S - Seconds
  2945.               Seconds field of modification time; always omitted if time is
  2946.               not  printed.  Since MS-DOS only stores  the file time to the
  2947.               nearest two seconds, this will always be an even number.
  2948.  
  2949.           V - Volume
  2950.               Disk volume label.
  2951.  
  2952.           B - SuBdirectory
  2953.               Subdirectory name or "Root" for root directory.
  2954.  
  2955.           A - Archive file name
  2956.               The name of the containing archive file, if any.
  2957.  
  2958.           C - Comment
  2959.               File comment, if any.
  2960.  
  2961.           G - CateGory
  2962.               File category, if any.
  2963.  
  2964.  
  2965.           Wssindex 5.01                   39    Output Fields Configuration
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.                            Output Format Configuration Menu
  2979.  
  2980.             +------------------------------------------------------------+
  2981.             |             Output format configuration menu               |
  2982.             |                                                            |
  2983.             | Number of Blank lines between headers               0      |
  2984.             | Number of blank lines after Headers                 1      |
  2985.             |                                                            |
  2986.             | File name style                                   FN  EXT  |
  2987.             | Date style                                        mm/dd/yy |
  2988.             |                                                            |
  2989.             | Enter 0 width to use variable field size                   |
  2990.             |                                                            |
  2991.             |    Field width for Subdirectories                   0      |
  2992.             |    Field width for Archive name                     0      |
  2993.             |    Field width for Comment or category              0      |
  2994.             |                                                            |
  2995.             | Archive file delImiter                             none    |
  2996.             | Category deliMiter                                 none    |
  2997.             |                                                            |
  2998.             | Print comments bEfore categories                    NO     |
  2999.             | Always start New line for comment/category info     NO     |
  3000.             | Truncate to fit on one line                         NO     |
  3001.             |                                                            |
  3002.             | Return to primary configuration menu                       |
  3003.             +------------------------------------------------------------+
  3004.                                       Figure 12
  3005.  
  3006.  
  3007.           B - Number of Blank lines between headers
  3008.           H - Number of blank lines after Headers
  3009.               File and  volume listings have  two header lines, one  with a
  3010.               title, the second with column headings.  These options select
  3011.               how many blank  lines to insert between header  lines, or be-
  3012.               tween the header lines and  the data lines.  These parameters
  3013.               are ignored for screen output.
  3014.  
  3015.           F - File name style
  3016.               Selection this  option will toggle  the file name  format be-
  3017.               tween FN EXT and FN.EXT.
  3018.  
  3019.           D - Date style
  3020.               Selecting this  option will  cycle through  the various  date
  3021.               formats: mm/dd/yy, dd/mm/yy, yy/mm/dd or 01-Jan-80.  The day,
  3022.               month, year  order selected here  is used for both  input and
  3023.               output.   The date format  implied by the COUNTRY=  option in
  3024.               CONFIG.SYS is not used.
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.           Wssindex 5.01                   40    Output Format Configuration
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.           S - Field width for Subdirectories
  3045.           A - Field width for Archive name
  3046.           C - Field width for Comment or category
  3047.               Displaying  all possible file  information on a  single line,
  3048.               neatly arranged in  columns and allowing for the maximum pos-
  3049.               sible length of  all fields, would require  require well over
  3050.               200 print positions.  Perhaps  some printers can do this, but
  3051.               generally  some compromise must  be made.   The possibilities
  3052.               are to  not print  everything, limit  the  field widths,  not
  3053.               require  columnar alignment  for  potentially long,  variable
  3054.               length items, or  print multiple lines.  If  a field width is
  3055.               specified as 0, as many  spaces as needed will be  used, sub-
  3056.               ject to line  length constraints.  Non-zero widths  should be
  3057.               specified if neat columns are desired; overly long items will
  3058.               be truncated at the field width.
  3059.  
  3060.           I - Archive file delImiter
  3061.               The name of  the archive file containing the  listed file can
  3062.               be printed  surrounded by (),  <> or []; selecting  this item
  3063.               cycles through the possible delimiters.  One of these markers
  3064.               is recommend to distinguish the archive name from the follow-
  3065.               ing field if a fixed field width is not used.
  3066.  
  3067.           M - Category deliMiter
  3068.               The same sets of delimiters can be used to mark categories as
  3069.               to mark archive files.
  3070.  
  3071.           E - Print comments bEfore categories
  3072.               Either comments of catefories can be printed first.
  3073.  
  3074.           N - Always start New line for comment/category
  3075.               If YES, a new  print line will be started for  any comment or
  3076.               category.
  3077.  
  3078.           T - Truncate to fit on one line
  3079.               If  YES,  long  print lines  will  be  truncated  rather than
  3080.               wrapped (but multiple lines may  still be printed if the pre-
  3081.               vious option selects a new line for comments and categories).
  3082.  
  3083.           R - Return to primary configuration menu
  3084.               Return to the previous menu.
  3085.  
  3086.  
  3087.                               Video Board Configuration
  3088.  
  3089.           This menu  selects the screen  output method.  This  selection is
  3090.           buried in this  menu because it only  needs to be made  once, and
  3091.           because  accidentally configuring  for the  wrong  type of  video
  3092.           board is likely to cause an immediate crash.
  3093.  
  3094.  
  3095.  
  3096.  
  3097.           Wssindex 5.01                   41    Output Format Configuration
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.               +-------------------------------------------------------+
  3111.               |              Video board configuration                |
  3112.               |                                                       |
  3113.               | Screen writing method (changes only on menu exit) CGA |
  3114.               | Suppress snoW on CGA                               NO |
  3115.               | Raw Mode screen output                             NO |
  3116.               |                                                       |
  3117.               | Return to previous configuration menu                 |
  3118.               +-------------------------------------------------------+
  3119.                                       Figure 13
  3120.  
  3121.  
  3122.           S - Screen writing method
  3123.               Screen output  may be done  using either DOS calls  or direct
  3124.               video writes.  The former is slower, and  on most systems re-
  3125.               quires that ANSI.SYS be installed (see Appendix  A, page 73).
  3126.               However, if  running in a background window,  using DOS calls
  3127.               may prevent  screen output from bleeding through to the fore-
  3128.               ground window.   The direct  write methods are CGA  for Color
  3129.               Graphics Adaptor and MDA for Monochrome Graphics Adapter.  An
  3130.               EGA, VGA, MCGA or just about anything driving a color monitor
  3131.               should be configured  as an CGA.  A  Hercules board should be
  3132.               configured as an MDA.
  3133.  
  3134.               If you don't know which type of video board you have,  take a
  3135.               guess but be prepared to reboot if you guess wrong.  Auto de-
  3136.               tection of  video board type  is not attempted  because there
  3137.               are too  many ways it  can fail: auto-switching  boards which
  3138.               will say "sure I'm  a ..." no matter what you  ask them, sys-
  3139.               tems with  two video boards,  buggy systems which  crash when
  3140.               the standard method of checking for an EGA is used, etc.
  3141.  
  3142.           W - Suppress snoW on CGA
  3143.               Older CGA boards cannot display properly while they are being
  3144.               written to.  If  this option is YES,  writes to video  memory
  3145.               will  be synchronized with the horizontal retrace to minimize
  3146.               screen disruption.  This will slow down the updating.
  3147.  
  3148.           M - Raw Mode on screen output
  3149.               Raw mode means do not  check for control-c or control-s after
  3150.               every character of screen output.  Setting this option to YES
  3151.               will speed DOS calls screen  output slightly, but the differ-
  3152.               ence will probably not be noticable.
  3153.  
  3154.           R - Return to previous menu
  3155.               Returns to the miscellaneous configuration menu.
  3156.  
  3157.  
  3158.                                  Color Selection Menu
  3159.  
  3160.           Use + and - keys to cycle forward and backward through colors, or
  3161.           left mouse button to advance colors.   Cursor arrow keys or mouse
  3162.  
  3163.           Wssindex 5.01                   42      Video Board Configuration
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.           select which item is to be changed.  Hit ENTER or the right mouse
  3177.           button when done.  A selector bar is not  used if using DOS calls
  3178.           for screen  output, so  this option  may not  be displayed.   The
  3179.           border color control is not functional on all systems, in partic-
  3180.           ular, it will not currently work on a VGA.  Also,  while there is
  3181.           an ANSI escape sequence for setting the border color, most imple-
  3182.           mentations of  ANSI.SYS do  not support it,  so the  border color
  3183.           selection will  usually not work  in DOS-calls mode.   The actual
  3184.           screen colors may not match the labels exactly.  For instance, on
  3185.           a monochrome system, blue on  black will give underline, and non-
  3186.           bold yellow may  display as brown.  As  you cycle through colors,
  3187.           the labels at the left will change to the selected colors.
  3188.  
  3189.                +-----------------------------------------------------+
  3190.                |                  Attribute   Foreground  Background |
  3191.                |                                                     |
  3192.                | Normal text      none        white       blue       |
  3193.                | Highlights       bold        yellow      blue       |
  3194.                | Status info      bold        white       white      |
  3195.                | Selector bar     bold        yellow      magenta    |
  3196.                | Border color     none        blue                   |
  3197.                +-----------------------------------------------------+
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.           Wssindex 5.01                   43           Color Selection Menu
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.                                 The Add-Comments Menu
  3243.  
  3244.           The add-comments  menu screen  displays each  matching file  name
  3245.           along with  the disk and subdirectory it is  found on, as well as
  3246.           the  containing archive file for  archive file members.  Starting
  3247.           with version  3.2, each disk  and each subdirectory will  cause a
  3248.           dummy database entry to be made with a blank file name and exten-
  3249.           sion  of "ID".   These entries,  which receive  special treatment
  3250.           when printing,  give you a  place to hang comments  describing an
  3251.           entire disk or subdirectory.                                     
  3252.                 
  3253.            +-------------------------------------------------------------+
  3254.            |                       Add comments menu                     |
  3255.            |                                                             |
  3256.            | Disk id: MS-RAMDRIVE File name:   .ID                       |
  3257.            | Subdirectory:  Root                                         |
  3258.            |                                                             |
  3259.            | Copy buffer:                                                |
  3260.            |                                                             |
  3261.            |                                                             |
  3262.            | Current file:                                               |
  3263.            |                                                             |
  3264.            |                                                             |
  3265.            | New comment:                                                |
  3266.            |    category:                                                |
  3267.            |                                                             |
  3268.            |                                                             |
  3269.            | F 1 - copy comment               F 2 - delete comment       |
  3270.            | F 3 - copy category              F 4 - delete category      |
  3271.            | F 5 - copy both                  F 6 - chng srch direction  |
  3272.            | F 7 - skip to next               F 8 - view file            |
  3273.            | F 9 - add comment and advance    F10 - return to main menu  |
  3274.            | ENTER  - comment/category toggle INSERT  - insert/overtype  |
  3275.            | Alt-F1 - toggle help             Ctrl-END - delete to end   |
  3276.            |                                                             |
  3277.            |                                                             |
  3278.            |                               Searching  forward INSERT OFF |
  3279.            +-------------------------------------------------------------+
  3280.                                       Figure 14
  3281.  
  3282.  
  3283.           The ten PF keys, alt-letter keys, plus BACKSPACE, INSERT, DELETE,
  3284.           ENTER, HOME, and the left/right cursor arrows are used to control
  3285.           this part of the  program.  Two different sets of  PF key assign-
  3286.           ments can  be selected  from the  configuration  menu to  support
  3287.           different keyboard layouts.   (A third set of  key assignments is
  3288.           used in  the Rainbow  version.)  While  it doesn't  really matter
  3289.           which arrangement you use, the placement of the functions and the
  3290.           position of  the on-screen help  are  more rational if you select
  3291.           the  layout which matches your  keyboard.  The descriptions below
  3292.           assume that you  are using the IBM  layout, which is now  the de-
  3293.  
  3294.  
  3295.           Wssindex 5.01                   44              Add-Comments Menu
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.           fault if no  configuration file is found  (early program releases
  3309.           supported only the alternate layout).
  3310.  
  3311.                                  Function Key layouts
  3312.  
  3313.                   PF1  PF2         PF1  PF6       PF1          F17
  3314.                   PF3  PF4         PF2  PF7       PF2          F18
  3315.                   PF5  PF6         PF3  PF8       PF3          SELECT
  3316.                   PF7  PF8         PF4  PF9       NEXT SCREEN  FIND
  3317.                   PF9  PF10        PF5  PF10      PF4          EXIT
  3318.  
  3319.                      IBM           Alternate         Dec Rainbow
  3320.                       (Function keys may be labeled Fn or PFn)
  3321.  
  3322.           A help menu and three sets of information are displayed:
  3323.  
  3324.           Copy buffer -  a comment/category  pair which can be  copied into
  3325.                          the new comment field.
  3326.           Current file - the comment/category currently in the database for
  3327.                          the displayed file.
  3328.           New comment/category -  the comment and category  currently being
  3329.                          entered.
  3330.  
  3331.           The special functions available are:
  3332.  
  3333.           PF1 -  Copy  comment: if the  file has a comment,  copy it to the
  3334.                  new comment field; otherwise, copy the comment in the copy
  3335.                  buffer.  If  you want to replace an  existing comment with
  3336.                  one from  the copy buffer,  you must first delete  the old
  3337.                  comment (PF2). Note that this does not actually add a com-
  3338.                  ment to the file until you hit PF9.
  3339.  
  3340.           PF2 -  Delete comment:  any comment for  the current file  is de-
  3341.                  leted immediately.  If you  have entered something in  the
  3342.                  new comment field, and decide that you do not want to have
  3343.                  any comment  associated with  the file,  just  hit PF2  to
  3344.                  delete the  old comment,  followed by PF7  to skip  to the
  3345.                  next file without adding the  contents of the new field to
  3346.                  the database.  It  is not necessary to clear  the text en-
  3347.                  tered into the new comment field.
  3348.  
  3349.           PF3 -  Copy category: if the file has a  category, copy it to the
  3350.                  new  category field; otherwise,  copy the category  in the
  3351.                  copy buffer.  As  with PF1, this  does not actually add  a
  3352.                  category until PF9 is hit.
  3353.  
  3354.           PF4 -  Delete category: any category for the  current file is de-
  3355.                  leted immediately.  Proceed as described under PF2  to de-
  3356.                  lete  a category after  having entered something  into the
  3357.                  new category field.
  3358.  
  3359.           PF5 -  Copy both: the same as hitting both PF1 and PF3.
  3360.  
  3361.           Wssindex 5.01                   45              Add-Comments Menu
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.           PF6 -  Change search  direction: toggles the search direction for
  3375.                  the next matching file between forward and backward.  
  3376.  
  3377.           PF7 -  Skip to next:  advance to the next file,  without changing
  3378.                  the current comment and category fields.
  3379.  
  3380.           PF8 -  View file: the indexing drive is searched  for the current
  3381.                  file.  The disk volume  name must match (an unlabeled disk
  3382.                  will be accepted).  If the file  is found, it is displayed
  3383.                  on the bottom half of the screen.  Non-printing characters
  3384.                  are translated to  periods, so  there is  no problem  with
  3385.                  viewing a non-ascii file.  The configuration may be set to
  3386.                  clear  the high  bit of  each  character to  make WordStar
  3387.                  files  printable.  Lines longer  than the screen width are
  3388.                  truncated.   This function  will fail  and claim  that the
  3389.                  file could not be found if there is not enough free memory
  3390.                  to open a file.
  3391.  
  3392.           PF9 -  Add comment and advance: the  new comment and category (if
  3393.                  any) are added to the current file  and copied to the copy
  3394.                  buffer.   Blank  fields will  not be  copied and  will not
  3395.                  change the record for the current file.
  3396.  
  3397.           PF10 - Return to the main menu.
  3398.  
  3399.           BACKSPACE - (or Delete key on Rainbow)   Delete character to left
  3400.               of cursor.
  3401.  
  3402.           DELETE - (Remove key on Rainbow)  Delete character under the cur-
  3403.               sor.
  3404.  
  3405.           INSERT  - (Insert  Here on  Rainbow)   Toggle between  insert and
  3406.               overwrite mode.
  3407.  
  3408.           ENTER - Toggle between comment and category.
  3409.  
  3410.           Left/right cursor arrows - Move around in the comment or category
  3411.               strings for editing.
  3412.  
  3413.           Control-left/right cursor  arrows -  (down/up arrows  on Rainbow)
  3414.               Move the cursor in word rather than character steps.
  3415.  
  3416.           HOME - (Prev Screen on Rainbow) Move the cursor  to the beginning
  3417.                  of the current field.  
  3418.  
  3419.           END -  Move  the cursor to the end of  the current field (F19 key
  3420.                  on Rainbow).  (Hitting return twice will also do this.)
  3421.  
  3422.           Control-END - Delete  characters from cursor to end  of field (F4
  3423.               key on Rainbow).
  3424.  
  3425.  
  3426.  
  3427.           Wssindex 5.01                   46              Add-Comments Menu
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.           Alt-PF1 or  Shift-PF1 -  toggle help display  between PF  key de-
  3441.               scriptions and list of keyboard macros  (Help key on Rainbow,
  3442.               control-1 on Sanyo 550).
  3443.  
  3444.           ^R - Redraw the entire screen.   It shouldn't be necessary to use
  3445.               this key very often, but  occasionally a DOS error message or
  3446.               a program problem  can scroll or otherwise mess  up the parts
  3447.               of the screen which are normally constant.
  3448.  
  3449.           Alt-letter - Append one of the 26 keyboard macros to the category
  3450.               field, along with a  comma and a  space if anything was  pre-
  3451.               viously  entered there.  (The behavior  here is slightly dif-
  3452.               ferent than  in other  parts of the  program where  the macro
  3453.               strings are  simply appended  to any  previous input).   Note
  3454.               that changing the  keyboard macros will not  change the cate-
  3455.               gories which have  already been assigned to files;  it is the
  3456.               actual string which is saved for each file.  Also, the macros
  3457.               are stored in the configuration  file, not the database.  (In
  3458.               the DEC Rainbow version, F20 is  used as a substitute for the
  3459.               Alt key.  On a 100A, you can also use the Compose key.)
  3460.  
  3461.           When  all files which match the selection criteria specified have
  3462.           been processed, you normally return to the main menu.  This would
  3463.           make it  inconvenient to apply  corrections to a  previously com-
  3464.           mented database,  or otherwise  process several  groups of  files
  3465.           selected  by name.   So, if the  only selection  criterion is the
  3466.           filename, you  will be prompted for a  new list of filespecs when
  3467.           all matching  files have been  processed, and the  selected files
  3468.           will automatically be  sorted using the same sort  keys (if any).
  3469.           At this point, you can also just hit ESCAPE to return to the main
  3470.           menu.
  3471.  
  3472.           Comments and categories entered for files are limited to 64 char-
  3473.           acters, although if you use the category field as it is  named it
  3474.           will usually be one or more relatively short phrases.  Some users
  3475.           may want to  use this field as  a version number.   WSSINDEX will
  3476.           not  allow control  characters in  comments,  but anything  else,
  3477.           including high-bit ascii, is alright.
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.           Wssindex 5.01                   47              Add-Comments Menu
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.  
  3506.                                   WSSINDEX Utilities
  3507.  
  3508.           All of the utilities read a standard configuration file, although
  3509.           in some  cases the only  information actually used is  the screen
  3510.           writing method and screen colors.
  3511.  
  3512.                            CUSTPRNT - Custom Print Utility
  3513.  
  3514.           CUSTPRNT reads  a WSSINDEX database and prints the contents using
  3515.           formats not otherwise  available.  These functions  have been put
  3516.           into a separate  program to avoid increasing the  size of the in-
  3517.           dexing routine.  In this release, the print formats available are
  3518.           multi-column printing, disk labels and disk covers.
  3519.  
  3520.           This documentation assumes  that you are familiar  with WSSINDEX.
  3521.           CUSTPRNT uses much of the same code as WSSINDEX, and uses identi-
  3522.           cal configuration files  (even though a  few items are  ignored).
  3523.           It also reads  a special file of  printer control commands.   The
  3524.           DOS environment variables  WSSICNF and WSSIDIR are  used, as well
  3525.           as a new variable WSSPRINT.
  3526.  
  3527.           Entry to the main  menu is essentially  the same as in  WSSINDEX.
  3528.           Two optional command  line arguments are  allowed to specify  the
  3529.           configuration  file name and database file name.   If you want to
  3530.           use the default for the configuration  file name, but not for the
  3531.           database name,  specify *  as the first  argument.   The database
  3532.           name may be an  equal sign if it is the same as the configuration
  3533.           file name.
  3534.  
  3535.             +------------------------------------------------------------+
  3536.             |                       Custprnt Main Menu                   |
  3537.             |                                                            |
  3538.             | Output options              Configuration options          |
  3539.             |                                                            |
  3540.             |   Multi-column printing      Get database                  |
  3541.             |   List files not Backed up   ^G get database and CNF file  |
  3542.             |   Disk Covers                Change cOnfiguration info     |
  3543.             |   Disk Labels                Change Keyboard macros        |
  3544.             |   List Volumes               Read printer config file      |
  3545.             |   ^V quick volume list                                     |
  3546.             |                                                            |
  3547.             | Other options               Program exit options           |
  3548.             |                                                            |
  3549.             |   Display statistics         Quit                          |
  3550.             |   Push to DOS                ^Q quick quit                 |
  3551.             +------------------------------------------------------------+
  3552.                                       Figure 15
  3553.  
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.           Wssindex 5.01 Utilities         48                       Custprnt
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.  
  3572.           The menu items are:
  3573.  
  3574.           M - Multi-column printing
  3575.               Similar  to the  "P" option  in  WSSINDEX, but  an additional
  3576.               prompt is made for the number of columns used for the printed
  3577.               output.  The output page  width (from the configuration file)
  3578.               will be divided into the  requested number of columns,  sepa-
  3579.               rated by at  least two spaces.  Comments  and categories will
  3580.               go to separate lines if necessary and so configured.
  3581.  
  3582.               Note: if the configured print items do not fit in the  column
  3583.               width, they will be truncated,  probably in the middle of the
  3584.               field.
  3585.  
  3586.               Output may  be directed to  printer, screen or disk.   Screen
  3587.               output,  however, will  not  pause  when  the  screen  fills.
  3588.               Control-s may be used to pause screen output.
  3589.  
  3590.               In order to produce columnar  output running down rather than
  3591.               across the page, an entire page is formatted in memory before
  3592.               printing anything.  This leads to a delay of a few seconds at
  3593.               the start of each page.  A hardware or software print spooler
  3594.               may enable you  to drive your printer more  efficiently.  You
  3595.               must have  enough memory left  after loading the  database to
  3596.               hold an entire formatted page (slightly more  than page width
  3597.               times page length bytes).
  3598.  
  3599.               You  can  include  a printer  initialization  command  in the
  3600.               printer definition file  which will be  sent to your  printer
  3601.               before multi-column output is started.
  3602.  
  3603.           B - List files which are not Backed up
  3604.               Same as the "B"  option of WSSINDEX  except that you will  be
  3605.               prompted for the number of print columns.
  3606.  
  3607.           C - Disk Covers
  3608.               A disk  cover is a listing of all the files on a single disk,
  3609.               small enough to fit into a disk  envelope or be pasted on the
  3610.               front  of the envelope.  (You could even define a small cover
  3611.               format and  print it on a label as  an alternative to the "L"
  3612.               option format labels.)  The edges are marked by a box to make
  3613.               cutting to size  easy.  You can  select which disks to  print
  3614.               covers for  by volume  name (with wildcards)  or by  date in-
  3615.               dexed.   The output  format  is similar  to the  multi-column
  3616.               output  described above, plus a header with information about
  3617.               the disk.   You will  be prompted for  the desired number  of
  3618.               print columns.
  3619.  
  3620.               The  fields printed are  selected by the  usual configuration
  3621.               menu.  The disk name and subdirectory names are printed sepa-
  3622.               rately,  so you  should not  include them  in the  configured
  3623.               print fields.  If you use  the printer definition in the sup-
  3624.  
  3625.           Wssindex 5.01 Utilities         49                       Custprnt
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.               plied file GENEPSON.DEF, you can fit file size, date and time
  3639.               in 2 columns, date  or size in 3 columns, or  file names only
  3640.               in  4 or 5 columns.   In a single column,  you could even fit
  3641.               comments of moderate  length.  The characters which  are used
  3642.               to form  the box around the cover  when printing may not look
  3643.               at all like box  forming characters on the screen.   The sup-
  3644.               plied file SCREEN.DEF  has more  appropriate box  characters,
  3645.               and also sets the width to fit  on an 80 column screen (which
  3646.               might not be  what you want to do if you are experimenting to
  3647.               see what  will fit on a printer).   To avoid the necessity of
  3648.               changing  the configuration by  hand (and the  probability of
  3649.               forgetting) whenever you  print covers, you will  almost cer-
  3650.               tainly want to  have a special configuration file  to control
  3651.               the printing of disk covers.
  3652.  
  3653.               Note:  as with multi-column  output, if the  configured print
  3654.               items do not fit in the column width, they will be truncated,
  3655.               probably in the middle of the field.
  3656.  
  3657.               When sorting files for disk  covers, the disk name and subdi-
  3658.               rectory must  be the primary  sort keys.   CUSTPRNT  enforces
  3659.               this requirement and the prompt for sort options shows 3,4 as
  3660.               the first 2 keys in the list.   You cannot print covers with-
  3661.               out sorting, so you might as well add file name and extension
  3662.               or other sort options in the order you prefer.
  3663.  
  3664.               If you want to print disk covers for any disks with subdirec-
  3665.               tories, and these disks were added to your database by a ver-
  3666.               sion  of WSSINDEX  older than  3.2, then  you should  run the
  3667.               IDADD utility on your database first.  If you do not do this,
  3668.               the disk cover will not include subdirectory names.
  3669.  
  3670.           D - Display statistics
  3671.               Exactly the same as the WSSINDEX "D" option.
  3672.  
  3673.           G - Get a database from disk
  3674.               Exactly the same as the WSSINDEX "G" option.
  3675.  
  3676.           L - Disk Labels
  3677.               Disk labels are  meant to be printed on  small, self adhesive
  3678.               forms and pasted on your disks.  Suitable forms are generally
  3679.               1 by 3 inches or smaller, so there is only room for a limited
  3680.               amount of information.  This  program prints the disk  volume
  3681.               id, total and free space,  date indexed, number of files (and
  3682.               subdirectories, if  any), descriptive  comments for  the disk
  3683.               and subdirectories (if found in database), and directory info
  3684.               for as  many files  as will fit,  starting from  the largest.
  3685.               You can also specify one line of text  in the printer defini-
  3686.               tion file, such  as your name,  which will be printed  at the
  3687.               bottom of every label.   You can select which  disks to print
  3688.               labels for by a wildcard name or by date indexed.
  3689.  
  3690.  
  3691.           Wssindex 5.01 Utilities         50                       Custprnt
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.  
  3703.  
  3704.               Blank label forms which are one or several labels wide may be
  3705.               used.  You  can also direct  output to the  screen or a  disk
  3706.               file.   See section below for  information on printer defini-
  3707.               tion.
  3708.  
  3709.           O - Change cOnfiguration info
  3710.               Exactly the same as the WSSINDEX "O" option.
  3711.  
  3712.           Q - Quit and return to DOS
  3713.               Same as the WSSINDEX "Q" option except that there  is no pos-
  3714.               sibility that the in-memory database has been changed, so the
  3715.               default answer to the "Do  you want to quit" question  is al-
  3716.               ways yes.
  3717.  
  3718.           ^Q - Quick Quit
  3719.               Immediate return to DOS without verification.
  3720.  
  3721.           R - Read a printer definition file
  3722.               Normally, this file is read  automatically the first time you
  3723.               select a  print operation, so  this option is only  needed if
  3724.               you  want to  use  two different  configurations in  the same
  3725.               session, or if you have used the S option to run an editor to
  3726.               change the definition file.   The default name of the printer
  3727.               definition file is the first of
  3728.  
  3729.               1. The last printer definition file read
  3730.               2. The DOS  environment variable  WSSPRINT  (DOS command  set
  3731.                  WSSPRINT=filespec)
  3732.               3. WSSPRINT.DEF
  3733.  
  3734.               which is defined.   The  default name  may be  edited in  the
  3735.               usual manner.
  3736.  
  3737.           S - Push to DOS
  3738.               Exactly the  same as the  WSSINDEX "S" option.   One possible
  3739.               use would be to run a text editor to change a printer defini-
  3740.               tion file.
  3741.  
  3742.           V - List Volume names
  3743.               Exactly the same as the WSSINDEX "V" option.
  3744.  
  3745.           ^V - Quick list of Volume names
  3746.               Like  the WSSINDEX quick  list, except that  the volume names
  3747.               are  sorted backward  by date  indexed so  you can  see which
  3748.               disks have  been recently  added and may  need new  labels or
  3749.               covers.
  3750.  
  3751.                                Printer Definition Files
  3752.  
  3753.           To  run effectively, CUSTPRNT needs  to be able  to set the print
  3754.           pitch and line spacing on  your printer, especially when printing
  3755.           disk covers or labels which require small  print.  Unfortunately,
  3756.  
  3757.           Wssindex 5.01 Utilities         51                       Custprnt
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.           there is  no standard way to do this; all printers are different.
  3771.           So, CUSTPRNT must be told how to  control your printer.  You sup-
  3772.           ply this information in a printer  definition file.  (I'd call it
  3773.           a  configuration  file, but  that  leads  to  confusion with  the
  3774.           WSSINDEX configuration file.)  The name of the printer definition
  3775.           file is  set by the  environment variable WSSPRINT,  analogous to
  3776.           WSSICNF  and WSSIDIR.   If  not  specified, the  default name  is
  3777.           WSSPRINT.DEF.  The file is read  the first time a print operation
  3778.           is requested, or when you select "R" from the main menu.  
  3779.  
  3780.           The standard  distribution package includes  definition files for
  3781.           several  popular printers.   Some  of these  have been  tested on
  3782.           printers available  to me, some  have been donated by  users, and
  3783.           some were created  by looking at printer manuals  or driver files
  3784.           from word processing programs.   The comments at the beginning of
  3785.           each  file indicate  whether or  not the  file has  been properly
  3786.           tested.  If none of the supplied definition files is adequate for
  3787.           your  printer, you  will need  to look  up control codes  in your
  3788.           printer manual and  modify one of the supplied files.   I realize
  3789.           that it would be  better if I supplied definition files  for hun-
  3790.           dreds of  different printers, but  I don't have the  resources to
  3791.           create and test them.  Registered users who have problems config-
  3792.           uring should  send me a  photocopy of the appropriate  pages from
  3793.           their printer manual (usually the control codes are summarized in
  3794.           a few pages) and I will try to assist.  Of course, it may be that
  3795.           your printer does not accept any commands, in which case you must
  3796.           make any necessary selections manually.
  3797.  
  3798.           The format of  the definition files is designed  for easy editing
  3799.           with a  word processing program.   The  file begins with  as many
  3800.           lines of comments as desired, until a line beginning with ---- is
  3801.           encountered.  After this, alternate lines are comments and param-
  3802.           eters.  The  comment lines are ignored when the file is read, but
  3803.           since they  tell you what  the parameters mean, the  only changes
  3804.           you should make are  to add more detail.  Printer command strings
  3805.           can be omitted,  but other parameters should have  a value filled
  3806.           in.
  3807.  
  3808.           Characters in the printer definition (other than the printer name
  3809.           and owner  id) are interpreted  as a series of  tokens optionally
  3810.           separated by blanks or commas.  Each token may be an octal, deci-
  3811.           mal, or  hex number, an  ascii character, or a  special abbrevia-
  3812.           tion.   Blank or comma  delimiters are only necessary  to resolve
  3813.           ambiguities about where  one token ends and the  next begins, but
  3814.           are recommended to improve human readability.
  3815.  
  3816.           Octal numbers - begin with a 0,  contain only the digits 0-7, and
  3817.           are not larger than 377.  Terminated by a comma, blank or special
  3818.           abbreviation.
  3819.  
  3820.  
  3821.  
  3822.  
  3823.           Wssindex 5.01 Utilities         52                       Custprnt
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.  
  3836.           Decimal numbers  - begin with a non-zero digit and are not larger
  3837.           than  255.  Of  course, zero  is entered as  0.  Terminated  by a
  3838.           comma, blank or special abbreviation.
  3839.  
  3840.           Hexadecimal numbers - begin with 0x or 0X and are not larger than
  3841.           0xff.  Letters  A-F (if used) can be lower or upper case.  Termi-
  3842.           nated by a comma, blank or special abbreviation.
  3843.  
  3844.           Ascii characters  - any  normal character  other  than a  number,
  3845.           comma, blank or backslash.  No terminator needed.
  3846.  
  3847.           Special abbreviations (may also be upper case) - 
  3848.             \digit - number as a character rather than a binary value
  3849.             \b     - backspace
  3850.             \c     - comma
  3851.             \e     - escape
  3852.             \f     - form feed
  3853.             \n     - newline (linefeed)
  3854.             \r     - carriage return
  3855.             \s     - blank (space)
  3856.             \t     - tab
  3857.             \\     - \
  3858.  
  3859.           Be careful of  numbers; 1 means the binary value 1 while \1 means
  3860.           the ascii  character one which has the binary  value 31 hex or 49
  3861.           decimal.   Printer manuals often are unclear  about this distinc-
  3862.           tion.
  3863.  
  3864.           To make the entries in the printer definition file more readable,
  3865.           I have adopted the convention that  entries which code for a sin-
  3866.           gle output byte are separated by blanks,  and the groups of char-
  3867.           acters which make up a single command to the printer are separat-
  3868.           ed  by commas.   For example:  suppose you  want to set  an Epson
  3869.           printer to 
  3870.  
  3871.                8 lines per inch         (command ESC "0")  (character 0)
  3872.                12 characters per inch   (command ESC "B" 2)
  3873.                double strike            (command ESC "G")
  3874.  
  3875.           The printer definition file entry could be:  \e \0,\e B 2,\e G
  3876.  
  3877.           To continue a sequence on  the following line, terminate the cur-
  3878.           rent line  with a backslash.  There is  a conversion table in Ap-
  3879.           pendix D which may be useful in creating definition files.
  3880.  
  3881.           Margins,  width and length  specifications in this  file override
  3882.           those found in WSSINDEX.CNF when printing labels or covers.
  3883.  
  3884.           The definable items are:
  3885.  
  3886.           Printer name  - echoed to  the screen during  initialization, but
  3887.           otherwise not used.
  3888.  
  3889.           Wssindex 5.01 Utilities         53                       Custprnt
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.           Three sets of printer initialization commands - 50 chars max. The
  3903.           first set is used for  multi-column printing, the second for disk
  3904.           labels, and the third for disk  covers.  Typically this would in-
  3905.           clude commands to select the number of characters per inch print-
  3906.           ed  and line  spacing.  You  may also  be able to  get very small
  3907.           characters by selecting  subscript or superscript  mode, although
  3908.           some printers (like mine) are slow in this mode and do  not print
  3909.           characters with descenders  very well.  You can  also include any
  3910.           other necessary initialization commands here, such as bold print-
  3911.           ing or form length.
  3912.  
  3913.           Printer deinitialization  command - 10  chars max.   This command
  3914.           string is sent to  the printer after a  print task is  completed.
  3915.           It could include a  form feed to eject the last page from a laser
  3916.           printer, or could reset default printer options.
  3917.  
  3918.           Left margin for labels - number of print positions to leave blank
  3919.           before printing the first column of labels.
  3920.  
  3921.           Number of columns for labels - the  number of blank labels across
  3922.           a row of your forms.
  3923.  
  3924.           Width of  labels - The number of characters which will fit across
  3925.           a label  (starting from the  left margin).  This  effectively de-
  3926.           fines the right margin.
  3927.  
  3928.           Number of  characters between  labels -  for multi-column  forms,
  3929.           this  is the number of characters between the right margin of one
  3930.           label and the left margin of the next.
  3931.  
  3932.           Length of label in  lines - label size, including top  and bottom
  3933.           margin lines which you don't want to print on.
  3934.  
  3935.           Number  of usable  lines for label  - maximum number  of lines to
  3936.           print on a label.
  3937.  
  3938.           Left margin for disk covers - number of  print positions to leave
  3939.           blank before printing left side  of box which surrounds disk cov-
  3940.           ers.
  3941.  
  3942.           Width of paper for disk covers  - number of characters which will
  3943.           fit in 5.25 inches (or 3.5 or whatever disk size you use).
  3944.  
  3945.           Length of page in  lines for disk covers - number  of lines which
  3946.           will fit in 5.25 inches (or 3.75 inches for paste-on size).
  3947.  
  3948.           Position for  the next disk cover  - 10 characters max.   Printer
  3949.           command  to position the  paper for  the next  disk cover.   This
  3950.           could be a form feed, or a number of line feeds.  A 0 (zero) here
  3951.           is interpreted  to mean manual  positioning, with a pause  at the
  3952.           end of each cover.
  3953.  
  3954.  
  3955.           Wssindex 5.01 Utilities         54                       Custprnt
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.           Command to  use for sides of disk cover  box - 50 characters max.
  3969.           Disk  cover listings have a border drawn  around them.  The sides
  3970.           of this  border could be a  vertical stroke, or your  printer may
  3971.           have a better graphics character available.  If no suitable char-
  3972.           acter  is available,  or for  faster printing,  just use  a blank
  3973.           (32).   Characters which form boxes on a printer may display very
  3974.           differently on screen.
  3975.  
  3976.           Command to use  for top  and bottom  lines -  50 characters  max.
  3977.           Probably a hyphen or a graphics character.
  3978.  
  3979.           Command to use for top left corner  - 50 characters max.  If your
  3980.           printer has box forming characters in its graphics character set,
  3981.           use them  for the  corner characters, otherwise  you can  use the
  3982.           same character as the top or sides, or a blank, or a plus, which-
  3983.           ever you think looks best.
  3984.  
  3985.           Command to use for top right corner - 50 characters max.
  3986.  
  3987.           Command to use for bottom left corner - 50 characters max.
  3988.  
  3989.           Command to use for bottom right corner - 50 characters max.
  3990.  
  3991.           End of printer definition file
  3992.           ----------
  3993.  
  3994.           Additional items may be added to this file in future  releases if
  3995.           users report that  there are printers which  cannot be adequately
  3996.           defined.  If  you create a definition file for a different print-
  3997.           er, especially  a laser printer,  I would appreciate  receiving a
  3998.           listing so that I will have it when the inevitable cries for help
  3999.           come in from other users.
  4000.  
  4001.           Registered users are encouraged to suggest the  custom print for-
  4002.           mats which they would like to see added to CUSTPRNT.
  4003.  
  4004.  
  4005.  
  4006.  
  4007.  
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.           Wssindex 5.01 Utilities         55                       Custprnt
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034.                            WSIMPORT Comment Import Routine
  4035.  
  4036.           WSIMPORT is a utility for adding comments to an existing WSSINDEX
  4037.           database.  It can be  used to extract comments from such  sources
  4038.           as a listing of files from  a bulletin board or  the ascii output
  4039.           from another disk indexing  program.  It does not  create a data-
  4040.           base from scratch  from an ascii input  file, so it is  not quite
  4041.           what is normally called an import routine.
  4042.  
  4043.           Features:
  4044.  
  4045.               1. Filename  format may  be either  FILENAME.EXT or  FILENAME
  4046.                  EXT (but not a mixture)
  4047.               2. Filenames may be in mixed case
  4048.               3. Tabs are expanded
  4049.               4. Processing  speed is around 1000 lines per minute, depend-
  4050.                  ing on the database size and your CPU speed
  4051.               5. Header or other garbage lines are ignored
  4052.  
  4053.           Requirements on the input file:
  4054.  
  4055.               1. File names must appear before the comments
  4056.               2. Nothing can appear after the comment
  4057.               3. File names and comments must begin in fixed columns
  4058.               4. Comments must be on the same line as the file name.
  4059.               5. Lines must end with line feeds (if you  can type the file,
  4060.                  it meets this requirement)
  4061.  
  4062.           Before starting the program, you should examine the comment file,
  4063.           either by typing  it or with a text editor, to determine in which
  4064.           columns  the file  names (and  extensions  if the  format is  not
  4065.           FILENAME.EXT)  and comments begin.   Number the  columns starting
  4066.           with  one,  not  zero.   This  step may  not  be  necessary since
  4067.           WSIMPORT will show you the first 15 lines of the import file with
  4068.           a ruler line  before asking you about  the file, but if  the com-
  4069.           ments start after  these lines, you won't see them.   In general,
  4070.           it is not  necessary to remove headers or  other extraneous lines
  4071.           from the input file; they will simply  not match any files in the
  4072.           database and will  thus be ignored.  But if there are any control
  4073.           characters  embedded in the comments (such as might be introduced
  4074.           by line  noise in a  downloaded file)  they should be  removed or
  4075.           else they will be interpreted as the end of the comment.  You can
  4076.           be a  little sloppy with  the starting column for  comments since
  4077.           the program will remove any leading (or trailing) blanks.
  4078.  
  4079.           On the command line you  can optionally specify the configuration
  4080.           file name,  the database name, and  the comment file name.   When
  4081.           the program  starts up, it  goes through  the same  configuration
  4082.           procedure as WSSINDEX, although the  only configurable parameters
  4083.           which matter  are the  screen output method,  size limits  on the
  4084.           database and whether or not to create BAK files.  The database is
  4085.           read and you  are prompted for the  name of the comment  file and
  4086.  
  4087.           Wssindex 5.01 Utilities         56                       Wsimport
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.           the format (FILENAME.EXT  or FILENAME EXT and  starting columns).
  4101.           You  will be given the option to  override or keep previously ex-
  4102.           isting comments in the database if  a new comment is found.   You
  4103.           can also specify a category string which will be applied to every
  4104.           file which  has a new  comment assigned (unless you  prohibit re-
  4105.           placing  comments and the file  had a category  but not a comment
  4106.           previously assigned).  At most  points you can terminate the pro-
  4107.           gram by hitting escape.
  4108.  
  4109.           After initializing, the  database is sorted by file  name and ex-
  4110.           tension.  You already  know about how long this will  take if you
  4111.           have used  any of the sorting  options in WSSINDEX.   The program
  4112.           remembers  the sequence number  where each letter  first appears,
  4113.           and starts searching for matching files there.  A fancier hashing
  4114.           algorithm and a binary search could be used, but my testing indi-
  4115.           cates that  the sorting time will typically  be as long or longer
  4116.           than the processing time for reasonable sized input files, so not
  4117.           much can be gained here.
  4118.  
  4119.           The comment file is read  line-by-line, and lines which appear to
  4120.           contain a  filename and a  comment are processed.   Note that the
  4121.           same comment may  be applied to multiple database  entries, since
  4122.           disk and subdirectory names are not checked.
  4123.  
  4124.           When the program finishes processing the comment  file, it prints
  4125.           out a few  statistics (number of input lines,  number of comments
  4126.           applied, etc.)   and gives you the  option of making another pass
  4127.           with a different comment  file.  When you finally  select no fur-
  4128.           ther passes,  you specify  the output file  name and  the updated
  4129.           database is saved.   As usual, a previously  existing database of
  4130.           the same name will be renamed with a BAK extension (if so config-
  4131.           ured).
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.           Wssindex 5.01 Utilities         57                       Wsimport
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.                                IDADD Conversion Utility
  4167.  
  4168.           WSSINDEX  version 3.2 introduced a new  option to assign comments
  4169.           to disks and  subdirectories in addition to files.   This feature
  4170.           was implemented by making dummy database entries (which look like
  4171.           files with  name .ID) for  each disk and subdirectory.   However,
  4172.           databases created by older versions  of the program will not have
  4173.           these entries, and  WSSINDEX would only create them  if the disks
  4174.           were re-indexed.   Also, it is now  possible to configure to  not
  4175.           generate .ID entries for volume names.
  4176.  
  4177.           IDADD is a utility for  adding these dummy entries to  a database
  4178.           without re-indexing.  It will also insert a .ID entry in place of
  4179.           the  DUMMY_EN.TRY file which  older versions of  WSSINDEX created
  4180.           when a disk was indexed with the control-a  option (and will pre-
  4181.           serve any comment associated with the old entry).  It will recog-
  4182.           nize  disks which already have .ID entries and just copy them, so
  4183.           you can use  this utility on any database (except old version 1.x
  4184.           databases which  must first  be converted  by loading  and saving
  4185.           with WSSINDEX).
  4186.  
  4187.           IDADD  reads a  standard configuration  file,  mostly to  get the
  4188.           video output mode and screen colors.  As a side effect, memory is
  4189.           allocated for as many files as are specified in the configuration
  4190.           file, even  though this  memory is not  actually used.   Normally
  4191.           this is  not a  problem; the conversion  program is  much smaller
  4192.           than WSSINDEX, so a configuration file which does not cause memo-
  4193.           ry overflow with WSSINDEX will also work with IDADD.
  4194.  
  4195.           You  can specify the configuration and  input database file names
  4196.           on the command line, or allow IDADD to prompt you for  them.  The
  4197.           output database name must be entered interactively.
  4198.  
  4199.                                    *** Warning ***
  4200.  
  4201.           The name of the output database must not be the same as the input
  4202.           database, else the output will overwrite the input during the up-
  4203.           dating process.
  4204.  
  4205.           One small quirk: if you have a subdirectory with no files  in it,
  4206.           IDADD  will not  create a  dummy entry  for it,  whereas WSSINDEX
  4207.           would if the disk were reindexed.   It would be moderately diffi-
  4208.           cult to change this, so I won't do it unless I get complaints.
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.           Wssindex 5.01 Utilities         58                          Idadd
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.                           WSSMERGE Database Merging Utility
  4233.  
  4234.           WSSMERGE merges two  WSSINDEX databases.  Only  databases written
  4235.           by WSSINDEX version 2.0 or higher can be merged.  Older databases
  4236.           can  be converted  by  loading  them into  a  current version  of
  4237.           WSSINDEX and resaving them.  WSSMERGE reads a standard configura-
  4238.           tion file, mostly to get the video output mode and screen colors.
  4239.           As a side  effect, memory is  allocated for as  many file as  are
  4240.           specified in the configuration  file, even though this memory  is
  4241.           not  actually used.  Normally this  is not a problem; the merging
  4242.           program is much  smaller than WSSINDEX,  so a configuration  file
  4243.           which does not cause memory overflow with WSSINDEX will also work
  4244.           with WSSMERGE.
  4245.  
  4246.           When  merging, you can  elect to assign a  common category to all
  4247.           files from  the first  database, and a  second category  to files
  4248.           from the second database.  This might  be useful if you had small
  4249.           databases organized by category, and  wanted to merge them into a
  4250.           single database.  You can suppress either common category by just
  4251.           hitting  return when  prompted for  the category.   In  any case,
  4252.           previously entered categories are not changed.
  4253.  
  4254.           The names of  the configuration file, input and output databases,
  4255.           merged database, and common categories can be entered on the com-
  4256.           mand line (in this order).  If  some or all are omitted, the pro-
  4257.           gram will prompt you for  them.  The WSSICNF environment variable
  4258.           is used for  the default configuration  file name, and if  you do
  4259.           not specify file extensions, .CNF  or .DIR is assumed, but other-
  4260.           wise there are no defaults for the names.  If you want to specify
  4261.           a null category, enter a hyphen.
  4262.  
  4263.                                    *** Warning ***
  4264.  
  4265.           The name of the output database must not be the same as either of
  4266.           the  input databases,  else the output  will overwrite  the input
  4267.           during the merging process.
  4268.  
  4269.           The disk space required for the output file will be approximately
  4270.           the sum of the  input sizes, but the entire  merged database will
  4271.           not be in core  at once, so you may be able  to create a database
  4272.           larger than you  can restore.   In fact, you  can exceed the  16K
  4273.           file limit, but  you will not  be able to  read such a  file with
  4274.           WSSINDEX on any machine.
  4275.  
  4276.           One error which  the program may warn you  about after completing
  4277.           the merging operation is duplicate  volume names in the database.
  4278.           The duplicate entries are  not deleted from the  merged database;
  4279.           that task is left to you.  Probably you should decide which input
  4280.           database has the most recent information (perhaps by checking the
  4281.           date indexed), and remove the matching entry from the other data-
  4282.           base, then remerge.  Or if you have assigned the same name to two
  4283.           disks, use the Label and Rename options in WSSINDEX.
  4284.  
  4285.           Wssindex 5.01 Utilities         59                       Wssmerge
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.                            SPLIT Database Splitting Utility
  4299.  
  4300.           SPLIT takes  a WSSINDEX database  and splits it into  two smaller
  4301.           databases.  This function is something you might want to do  if a
  4302.           database is pushing against the memory limits.
  4303.  
  4304.           SPLIT accepts 4  optional command line parameters:  configuration
  4305.           file name, input  database name, and  two output database  names.
  4306.           If specified,  the database names  become defaults which  must be
  4307.           confirmed by hitting return.
  4308.  
  4309.           After entering the  database names, you are shown  all the volume
  4310.           names on  one or a few screens with volumes  which will go to the
  4311.           second  database highlighted.  (Initially, all volumes are marked
  4312.           as  going to the  first database.)  Move  the cursor (allowed mo-
  4313.           tions summarized below)  to the volumes  which you want to  go to
  4314.           the second output database and hit the spacebar.  The volume name
  4315.           will  be highlighted  to indicate  that the  disk will go  to the
  4316.           second database, and  the cursor will move to the  next volume in
  4317.           the list.  If you change your mind, just tag the volume again and
  4318.           it will toggle back.
  4319.  
  4320.           At any time, you can sort the  list of volumes by name, date  in-
  4321.           dexed, free disk space or numeric part of volume name.  (It's not
  4322.           clear how  useful some of these  sort keys are, but  they already
  4323.           existed from other  places.)  After marking volumes,  you can ei-
  4324.           ther abort the program or write the two databases.
  4325.  
  4326.           This is a rather  crude utility in that it doesn't  give you very
  4327.           much  information to  help you  decide how  to divide  the disks.
  4328.           However, because it  is simple, it can handle  large databases in
  4329.           limited memory, hence it can be used to break up a database which
  4330.           is too large to loaded on some machines.
  4331.  
  4332.           Cursor motions           Standard keyboard       Rainbow keyboard
  4333.  
  4334.           up/down/left/right       arrow keys              arrow keys
  4335.           first volume shown       home                    Help
  4336.           1st column               ctl left arrow          Find
  4337.           last column              ctl right arrow         Remove
  4338.           bottom of column         end                     Insert Here
  4339.           last volume shown        ctl end                 Select
  4340.           next page                PgDn                    Next Screen
  4341.           previous page            PgUp                    Prev Screen
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350.  
  4351.           Wssindex 5.01 Utilities         60                          Split
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364.                             Database Conversion Utilities
  4365.  
  4366.           There  has been surprisingly little demand  for utilities to con-
  4367.           vert  databases from  other disk  indexing  programs to  WSSINDEX
  4368.           format.  The following conversion programs, not normally included
  4369.           in the distribution package,   can be supplied with  any order at
  4370.           no extra charge.
  4371.  
  4372.           Backup Master  - not  exactly what  I had  in mind  when I  first
  4373.           thought about  conversion utilities.   This is a  commercial disk
  4374.           backup  program which  produces a  "history  file" listing  where
  4375.           backup copies of files are stored.  The history file is converted
  4376.           into a WSSINDEX database.
  4377.  
  4378.           Fastback Plus  (under development)  - Backup  Master was  sold to
  4379.           Fastback, and the  author wrote Fastback Plus.   Backup log files
  4380.           similar to  those produced by  Backup Master can be  written, and
  4381.           the Backup Master conversion  utility is being revised to  handle
  4382.           these files.
  4383.  
  4384.           Dos File Tracker - this is a disk cataloguer sold by IBM; a fair-
  4385.           ly straightforward conversion.
  4386.  
  4387.  
  4388.           Other formats are under consideration for future releases.
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.           Wssindex 5.01 Utilities         61                     Conversion
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.                                 Problems and Solutions
  4431.  
  4432.                               Hard/software requirements
  4433.  
  4434.           You must have MS-  or PC-DOS level 2.0 or higher  to run WSSINDEX
  4435.           because it uses operating system features not supported by DOS-1.
  4436.           If configured  for  DOS video  output, WSSINDEX  requires only  a
  4437.           moderate level of IBM compatibility  to run, but your system must
  4438.           support  ANSI escape sequences  for cursor positioning  and high-
  4439.           lighting.   This support may  be an integral part  of your system
  4440.           (as is the case for the Sanyo  55x series without the video board
  4441.           option), but  is often provided  by an installable  device driver
  4442.           called  ANSI.SYS (ANSI55.SYS  for the  Sanyo  55x with  the video
  4443.           board).  If  your system does not support  ANSI.SYS commands, you
  4444.           will see the control sequences  on the screen; they begin with  a
  4445.           left arrow and a [.   If you find that you are having  this prob-
  4446.           lem, read about ANSI.SYS in appendix A.
  4447.  
  4448.           Many MS-DOS machines which are  not fully IBM compatible are able
  4449.           to run WSSINDEX,  although often only  with the slower  DOS-calls
  4450.           video option.  Such machines  often have hardware or software IBM
  4451.           emulators; these may enable WSSINDEX  to run.  Machines with suf-
  4452.           ficiently incompatible keyboards cannot run the standard version.
  4453.           Versions for the  DEC Rainbow, TI Professional and  Wang PC exist
  4454.           or are under  development and will be released  shortly after the
  4455.           IBM version.
  4456.  
  4457.  
  4458.                      Known incompatibilities with other software
  4459.  
  4460.                                   Disk Cache Warning
  4461.  
  4462.           WSSINDEX may not be compatible with the disk cache utility Light-
  4463.           ning, version 4.2 (not to be confused with Borland's Turbo Light-
  4464.           ning).  Based on user reports, it appears that if two non- system
  4465.           disks (with labels  but no files on them) are  indexed in succes-
  4466.           sion, the volume name and directory of the  second will appear to
  4467.           be identical to the first.  This is not a WSSINDEX bug because it
  4468.           can  be reproduced using the DOS VOL and DIR commands when Light-
  4469.           ning is  active.   I'm not sure  exactly what  circumstances will
  4470.           trigger the bug, and  I don't have a copy of  Lightning for test-
  4471.           ing,  but it is potentially catastrophic if directory information
  4472.           is  improperly buffered when you write  to a disk.  Similar prob-
  4473.           lems could conceivably  also occur with  other disk cache  utili-
  4474.           ties, although none have been reported.
  4475.  
  4476.                                    Incompatible TSR
  4477.  
  4478.           A user reports that if the Word Perfect program SHELLDOS is load-
  4479.           ed, the  Alt-letter keys  are not functional  in Wssindex  on his
  4480.           Tandy 2000.
  4481.  
  4482.  
  4483.           Wssindex 5.01                   62                       Problems
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.                              Answers to Common Questions
  4497.  
  4498.           Q.  Help, my  screen is filled  with garbage, mostly  numbers and
  4499.               square brackets, but also some text.
  4500.  
  4501.           A.  You are  configured to use  DOS calls for screen  output, but
  4502.               have not installed  ANSI.SYS.  If your video board is not IBM
  4503.               compatible,  see the chapter ANSI.SYS in the appendix, other-
  4504.               wise read about selecting video mode in the introduction.
  4505.  
  4506.  
  4507.           Q.  The menus would look better if they were enclosed in a box.
  4508.  
  4509.           A.  They are boxed if you configure for direct video writes.  The
  4510.               menu boxes  are suppressed when  using DOS calls  because the
  4511.               large number of cursor position calls makes drawing the boxes
  4512.               really slow.
  4513.  
  4514.  
  4515.           Q.  I set up a big RAM disk to increase storage capacity, but I'm
  4516.               still getting out of memory errors.
  4517.  
  4518.           A.  WSSINDEX keeps  a database entirely in memory.  A RAM disk in
  4519.               conventional  memory will only  serve to decrease  the memory
  4520.               available to the program.  If  you are running out of memory,
  4521.               try removing any memory resident programs such as Sidekick.
  4522.  
  4523.  
  4524.           Q.  Why don't you support larger databases?
  4525.  
  4526.           A.  Handling a database too large to fit into memory is both awk-
  4527.               ward and slow.   For example, in a May, 1988  PC Magazine re-
  4528.               view  of programmable databases, 13 of 43 commercial programs
  4529.               either could not sort a 50,000 record database, or else could
  4530.               not do so within the 3 hour time limit!  Except for the prob-
  4531.               lem of indexing  a high capacity storage device such  as a CD
  4532.               ROM,  there are definite speed advantages to multiple, moder-
  4533.               ate sized databases.  As this is being written, a large data-
  4534.               base  version of Wssindex, probably using expanded memory, is
  4535.               in the early development stage.
  4536.  
  4537.  
  4538.           Q.  When I  print my database,  I get all  the volume  names (and
  4539.               subdirectories) first.
  4540.  
  4541.           A.  These are the "dummy  entries" which give you a place to hang
  4542.               comments about disks  and subdirectories.  You  probably want
  4543.               to exclude them when sorting  first by file name, and include
  4544.               them when sorting  first by disk  name.  The  easiest way  to
  4545.               exclude them  is to  use selection option  -1 to  reject file
  4546.               name .ID.
  4547.  
  4548.  
  4549.           Wssindex 5.01                   63               Common Questions
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.           Q.  I don't  have any  subdirectories on  my disks,  yet WSSINDEX
  4563.               won't let me configure for  0 subdirectories, and it tells me
  4564.               I have one, even if there are no disks in the database.
  4565.  
  4566.           A.  Internally, the root  directories of all disks are treated as
  4567.               a single subdirectory,  and this pseudo-directory is  the one
  4568.               you see.
  4569.  
  4570.  
  4571.           Q.  I  see what  looks  like an  ANSI  escape sequence  appearing
  4572.               briefly on the screen when I start up, and again when I exit.
  4573.  
  4574.           A.  This  will go  away if  you  define the  environment variable
  4575.               WSSDISP to set  the default video  display mode.   Otherwise,
  4576.               WSSINDEX  assumes that ANSI  sequences are allowed  until the
  4577.               configuration file is read.
  4578.  
  4579.  
  4580.           Q.  After I  run WSSINDEX, my  color monitor only  displays black
  4581.               and white and the color-setting routines  I usually use don't
  4582.               work.
  4583.  
  4584.           A.  This too should  go away if you define  the environment vari-
  4585.               able WSSDISP.  The problem is that an ANSI escape sequence is
  4586.               setting the default  black & white mode, and  you are config-
  4587.               ured  to not  use color,  so  WSSINDEX doesn't  know that  it
  4588.               should switch you back to color mode.
  4589.  
  4590.  
  4591.           Q.  When I  print, every other page  is either blank or  has only
  4592.               one or a few lines printed on it.
  4593.  
  4594.           A.  Check your configuration.  The number of lines on the printer
  4595.               is  the number of  printable lines with  no margin allowance.
  4596.               So,  if you are using 8.5x11" paper  at 6 lines/inch, and ask
  4597.               for 66 print  lines, your printer will have just  gone to the
  4598.               top of a new page when WSSINDEX sends out a form feed.
  4599.  
  4600.  
  4601.           Q.  My laser printer  only prints 60 lines/page.  How can I print
  4602.               your documentation file which is formatted for 66 lines/page?
  4603.  
  4604.           A.  I can  supply replacement documentation formatted for differ-
  4605.               ent page  lengths, or WordPerfect 5.1 files.   Although Word-
  4606.               Perfect will  attempt to convert  the document to 5.0  or 4.2
  4607.               format, some of the formating  does not survive conversion to
  4608.               5.0, and  even some of the  text gets lost converting  to 4.2
  4609.               format.
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.           Wssindex 5.01                   64               Common Questions
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.  
  4628.           Q.  Some or all of the environment variables don't seem to work.
  4629.  
  4630.           A.  Are you  setting them in  your AUTOEXEC.BAT file  and running
  4631.               out  of  environment space?    Often  other  programs run  in
  4632.               AUTOEXEC will clear the screen  before you can read the error
  4633.               message.
  4634.  
  4635.  
  4636.           Q.  When I try to make  multi-column listings or disk covers, the
  4637.               last item printed for each file is partially cut off.
  4638.  
  4639.           A.  CUSTPRNT  builds up  a  print line  containing all  the items
  4640.               specified  in the configuration, and then truncates it to fit
  4641.               in the  available number of  columns.  You need  to configure
  4642.               for fewer items printed, wider paper, or fewer columns.
  4643.  
  4644.  
  4645.           Q.  Why  don't you  extract  directory information  from self-ex-
  4646.               tracting files?
  4647.  
  4648.           A.  Because that would  require reading every EXE file  to see if
  4649.               it was a self-extractor, and would greatly slow indexing.
  4650.  
  4651.  
  4652.           Q.  When I print disk covers  or multi-column listings for a disk
  4653.               with subdirectories, the separator line which should have the
  4654.               subdirectory name just says "Subdirectory".
  4655.  
  4656.           A.  You are configured  to print the  subdirectory name for  each
  4657.               file, so the name is not  shown a second time.  However,  the
  4658.               page  is too  narrow to  display  the column  of subdirectory
  4659.               names, so  it is truncated.   The same thing  can happen with
  4660.               volume labels.   The  solution is not  to configure  to print
  4661.               items which are truncated due to page width.
  4662.  
  4663.  
  4664.           Q.  I have an  ARC file which PKXARC  or PKUNPAK says is  ok, but
  4665.               WSSINDEX says it is corrupt.
  4666.  
  4667.           A.  The PKWare  extraction program  will silently  skip over  any
  4668.               ascii text which is prepended to an ARC file.  SEA's ARC will
  4669.               warn you that  it is doing  this.  The  one file I  have seen
  4670.               with  this problem  had the  text  "Ready to  send file  with
  4671.               XMODEM protocol"  prepended.  The solution is  to extract the
  4672.               files and recreate the archive.
  4673.  
  4674.  
  4675.           Q.  My  video card can  display more than 25  lines of 80 charac-
  4676.               ters.  Why don't you support this?
  4677.  
  4678.           A.  This is planned for a future release.
  4679.  
  4680.  
  4681.           Wssindex 5.01                   65               Common Questions
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.           Q.  I can't seem  to make the push-to-DOS option  work, even with
  4695.               lots of memory free.
  4696.  
  4697.           A.  Does  the COMSPEC  environment  variable specify  a  complete
  4698.               path?  If  COMMAND.COM (or whatever) is in  the root, COMSPEC
  4699.               says  d:COMMAND.COM rather  then d:\COMMAND.COM, and  you are
  4700.               logged into a subdirectory, COMMAND.COM will not be found.
  4701.  
  4702.  
  4703.                             Command Line Parameter Summary
  4704.  
  4705.           The various programs in the WSSINDEX package accept optional com-
  4706.           mand line parameters.  Summarized below are the parameters recog-
  4707.           nized by each program.  Names in  upper case are the default file
  4708.           names, other abbreviations are:
  4709.  
  4710.           cnf- a configuration file.  Default name set by environment vari-
  4711.           able WSSICNF, otherwise WSSINDEX.CNF.
  4712.  
  4713.           dir - a database file,  Default  name set by environment variable
  4714.           WSSIDIR, otherwise WSSINDEX.DIR.
  4715.  
  4716.           * - use default.
  4717.  
  4718.           = - generate database name from configuration file name by adding
  4719.           .DIR extension.
  4720.  
  4721.           cat1,2 -  categories to be  assigned to all  files from first  or
  4722.           second  database.    Hyphen means  none.    Multi-word categories
  4723.           should be enclosed in quotes.
  4724.  
  4725.  
  4726.           WSSINDEX  cnf  dir
  4727.                      *   *,=
  4728.  
  4729.           CUSTPRNT  cnf  dir
  4730.                      *   *,=
  4731.  
  4732.           IDADD     cnf  dir
  4733.                      *    *
  4734.  
  4735.           SPLIT     cnf  dir  1ST_HALF.DIR  2ND_HALF.DIR
  4736.                      *   *,=        *            *
  4737.  
  4738.           WSIMPORT  cnf  dir  commentfile
  4739.                      *   *,=
  4740.  
  4741.           WSSMERGE  cnf 1ST_HALF.DIR  2ND_HALF.DIR  MERGED.DIR  cat1 cat2
  4742.                      *       *             *             *       -    -
  4743.  
  4744.  
  4745.  
  4746.  
  4747.           Wssindex 5.01                   66               Common Questions
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.                                        Support
  4761.  
  4762.           Early  releases of WSSINDEX were distributed  as shareware with a
  4763.           $25 registration requested.  Starting with version 4.0, the free-
  4764.           ly distributable version is a demo which displays a commercial on
  4765.           startup  and will  not save  a database of  more than  1000 files
  4766.           unless that database contains only one disk.  In most cases, this
  4767.           should be  sufficient to allow you  to evaluate the program.   If
  4768.           not, the merging utility is not crippled so you can create larger
  4769.           databases.   If you purchase  the complete package, you  will re-
  4770.           ceive the demo  package which you  can distribute, plus  replace-
  4771.           ments  for the crippled routines and instructions for "unlocking"
  4772.           future demo  releases.  See page 69 for  a fee schedule and order
  4773.           form.  Orders and inquiries should be directed to:
  4774.  
  4775.               Robert W. Babcock
  4776.               WSS Division of DDC
  4777.               4 Reeves Road
  4778.               Bedford, MA  01730
  4779.               USA
  4780.               617-275-1183 (you may get an answering machine)
  4781.           or  617-275-9104 (no answering machine on this line)
  4782.  
  4783.           Registered users will be notified immediately if any bugs capable
  4784.           of destroying a database are discovered.
  4785.  
  4786.           I don't  mind receiving phone  calls, but you will  probably only
  4787.           get to leave a short message before my answering machine cuts you
  4788.           off.  I do try to respond to all correspondence.  If you do call,
  4789.           the best  times to try  would be early weekday  mornings, weekend
  4790.           afternoons, or  evenings 8:45-10:00  (Eastern time)  any day  but
  4791.           Thursday.   If you don't  get a call  back within a  few days, it
  4792.           usually means that  I called and got no answer.  Please try again
  4793.           or send a letter.
  4794.  
  4795.           If you have  a bug report, please mention the  version number and
  4796.           describe your machine and operating environment in as much detail
  4797.           as seems appropriate.   If I  am unable to  reproduce a  reported
  4798.           problem I may ask you to send a copy of your database, but usual-
  4799.           ly this is not required.  Reports of incompatibility with partic-
  4800.           ular brands of machine will always be accepted even from unregis-
  4801.           tered users (I  can hardly ask you to buy the complete package if
  4802.           the program doesn't work on your machine).
  4803.  
  4804.           This package  is written  using Turbo-C  version  2.0, (but  with
  4805.           Turbo  C 1.5 memory allocation routines which maximize efficiency
  4806.           of memory usage  rather than speed), a few  routines adapted from
  4807.           the  Computer Innovations C86  source library, and  custom screen
  4808.           output routines in assembly language.
  4809.  
  4810.  
  4811.  
  4812.  
  4813.           Wssindex 5.01                   67                        Support
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.                               The Distribution Package
  4827.  
  4828.           You should have  received the following files,  possibly combined
  4829.           in one or more self-extracting or archive files.  Version numbers
  4830.           for the various executables (nnn in the names below) may  not all
  4831.           be the same.  Demo versions of executables will have a D appended
  4832.           to the  file name,  Rainbow, TI Pro  and Wang versions  will have
  4833.           respectively an R, T or W appended to the file name (and the name
  4834.           will vary slightly  if this would make  it longer than 8  charac-
  4835.           ters).
  4836.  
  4837.           BUGLIST.DOC  - a list  of known bugs  in previous versions  and a
  4838.                          summary of enhancements.
  4839.           CGA.CNF-       configuration file  selecting CGA  (color graphics
  4840.                          adapter) video,  other options set to default val-
  4841.                          ues.
  4842.           CUSTPnnn.EXE - CUSTPRNT, an auxiliary utility  for enhanced data-
  4843.                          base printing.
  4844.           CUTPAST3.COM,.DOC -  a public domain  cut and paste  utility, re-
  4845.                          quires a somewhat higher degree of IBM compatibil-
  4846.                          ity than WSSINDEX.  RPN.COM substituted with Rain-
  4847.                          bow version.
  4848.           DOSCALLS.CNF - configuration file selecting  all default options,
  4849.                          including DOS calls video output.
  4850.           IDADDnnn.EXE - a utility to modify old WSSINDEX databases so that
  4851.                          comments may  be assigned  to disks  and subdirec-
  4852.                          tories, not just files.
  4853.           LATEST.VER -   list of current version numbers
  4854.           MDA.CNF -      configuration file selecting  MDA (monochrome dis-
  4855.                          play adaptor) video, other options set  to default
  4856.                          values.
  4857.           PRNDEF.DOC -   A description of  the included printer  definition
  4858.                          files.
  4859.           README.DOC -   a very brief description of the other files.
  4860.           SCREEN.DEF -   printer definition file optimized  for screen out-
  4861.                          put (used by CUSTPRNT)
  4862.           SPLITnnn.EXE - database splitting utility
  4863.           WSIMPnnn.EXE - WSIMPORT, an auxiliary routine  for importing com-
  4864.                          ments.
  4865.           WSSInnn.DOC -  this documentation file.
  4866.           WSSInnn.EXE -  WSSINDEX, the main executable program.
  4867.           WSSMnnn.EXE -  WSSMERGE, a utility for merging WSSINDEX  databas-
  4868.                          es.
  4869.           PRNDEF.DOC -   description of the various  included printer defi-
  4870.                          nition files (used by CUSTPRNT).
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.           Wssindex 5.01                   68           Distribution Package
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.                                  Ordering Information
  4893.  
  4894.                                WSSINDEX Price schedule
  4895.  
  4896.           This  fee schedule  replaces any  previous editions.    The basic
  4897.           registration  price will increase effective November 1, 1990; old
  4898.           prices will remain in effect  until then and other charges listed
  4899.           below will  not change.    Of course,  previously purchased  site
  4900.           licenses remain in effect under the old terms.  All prices are in
  4901.           US dollars.
  4902.  
  4903.               ---- Registration Level ----        Charge effective 11/1/90
  4904.  
  4905.               Level 1    Single user/machine      $35
  4906.               Level 2    2-10 users               $10 + $25 per user
  4907.               Level 3    11-20 users              $60 + $20 per user
  4908.               Level 4    21-50 users              $160 + $15 per user
  4909.               Level 5    51-100 users             $410 + $10 per user
  4910.               Level 6    101-500 users            $910 + $5 per user
  4911.               Level 7    more than 500 users      $3410
  4912.  
  4913.               ---- Registration Level ----        Charge before 11/1/90
  4914.  
  4915.               Level 1    Single user/machine      $25
  4916.               Level 2    2-10 users               $10 + $15 per user
  4917.               Level 3    11-20 users              $40 + $12 per user
  4918.               Level 4    21-50 users              $100 + $9 per user
  4919.               Level 5    51-100 users             $300 + $5 per user
  4920.               Level 6    more than 100 users      $800
  4921.  
  4922.           Evaluation copy (1000 file limit)       $5.00
  4923.               (cost credited towards purchase of complete package)
  4924.  
  4925.           Upgrade                                 $5.00
  4926.  
  4927.           Printed manuals                    not currently available
  4928.  
  4929.           Media, shipping and handling
  4930.               USA and Canada                      $2.50 ($2 evaluation)
  4931.               Other countries                     $4.50 ($4 evaluation)
  4932.  
  4933.           Check not drawn on US bank
  4934.               Canada                              $1.00
  4935.               Elsewhere                           $15.00
  4936.  
  4937.           Registration level upgrade         price differential between
  4938.                                              old and new levels plus $10 
  4939.                                              service charge
  4940.  
  4941.           Software upgrades:  your license  covers all  future versions  of
  4942.           WSSINDEX and related  utilities.  Level 2  registrants will auto-
  4943.           matically  be sent  one copy  of  the next  release of  WSSINDEX.
  4944.  
  4945.           Wssindex 5.01                   69                     Order Info
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957.  
  4958.           Level 3,  4, 5, 6 and 7 registrants will  be sent one copy of all
  4959.           new releases  made, respectively,  in the 6  month, 12  month, 18
  4960.           month, 2 year or 3 year period following purchase.
  4961.  
  4962.           Notes:
  4963.  
  4964.           1.  While early releases were distributed  as shareware, WSSINDEX
  4965.               is not  and has never  been public  domain software.   If you
  4966.               have  received the demonstration  version, you are  granted a
  4967.               limited license to evaluate it to see if it meets your needs.
  4968.               You may continue  to use the demo  version as long as  you do
  4969.               not  attempt to circumvent the built-in  limitations.  With a
  4970.               paid  registration (and postage)  you will receive  a copy of
  4971.               the current demo  release, plus replacements for  the limited
  4972.               routines and a personal password for removing the limitations
  4973.               from future demo releases.   The demo version may be distrib-
  4974.               uted to other users for their evaluation.
  4975.  
  4976.           2.  Although WSSINDEX is mainly written in Turbo C (with a little
  4977.               assembly language code), it uses a  few routines derived with
  4978.               only small modifications  from the  Computer Innovations  C86
  4979.               source  library.  This makes it essentially impossible for me
  4980.               to sell  source code,  although something  could probably  be
  4981.               worked out if someone had a sufficient need.
  4982.  
  4983.           3.  I recognize that determining the exact number of users is im-
  4984.               possible in a  large organization.  A good  faith estimate is
  4985.               sufficient.   When counting users,  you may use  the "like-a-
  4986.               book"  rule: just as a book can only be read by one person at
  4987.               a time, it should not be  possible for more than the licensed
  4988.               number of users to use the software simultaneously.
  4989.  
  4990.           4.  This price schedule is continuous at the price breaks.  It is
  4991.               never true that the total cost decreases when you add another
  4992.               user,  but  the marginal  cost declines,  eventually reaching
  4993.               zero at the highest registration level.
  4994.  
  4995.           5.  The question may arise in this era of multi-national corpora-
  4996.               tions, who can be  covered under a single site  license?  The
  4997.               answer  is a single company including wholly owned subsidiar-
  4998.               ies.   For more  complicated situations,  please contact  WSS
  4999.               Division of DDC for a price quote.
  5000.  
  5001.           6.  If you have needs which might be  met by a special version of
  5002.               WSSINDEX, or a related custom utility, please contact the au-
  5003.               thor at the address below  for estimates of feasibility, cost
  5004.               and development time.
  5005.  
  5006.           7.  To   register   or to upgrade,  you may  print copies  of the
  5007.               order form below or  use any convenient form.   Please pay by
  5008.               check; I can handle purchase orders, but I cannot take credit
  5009.               cards.  Checks may be made payable to Robert W. Babcock or to
  5010.  
  5011.           Wssindex 5.01                   70                     Order Info
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.  
  5021.  
  5022.  
  5023.  
  5024.               WSS Division  of DDC.   If  you have any  comments about  the
  5025.               program, please attach  them and indicate which  version they
  5026.               apply to.
  5027.  
  5028.           8.  If   you  find  a   significant  bug  after   purchasing  the
  5029.               un-crippled package, and you are  the first to report it, you
  5030.               qualify  for an upgrade  for only  the shipping  and handling
  5031.               fee.
  5032.  
  5033.           9.  If  you want  to  be notified  when there  is a  new release,
  5034.               please include a self addressed post card.  Major new releas-
  5035.               es may  be announced by  a general mailing to  all registered
  5036.               users.
  5037.  
  5038.           10. If you need  a receipt for tax or  accounting purposes, check
  5039.               the  appropriate box.   Otherwise, you will  receive a letter
  5040.               with your personal password.
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059.  
  5060.  
  5061.  
  5062.  
  5063.  
  5064.  
  5065.  
  5066.  
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076.  
  5077.           Wssindex 5.01                   71                     Order Info
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.                                  WSSINDEX ORDER FORM
  5091.  
  5092.           To:  WSS Division of DDC               Date: ___/___/___
  5093.                4 Reeves Road
  5094.                Bedford, MA  01730
  5095.  
  5096.  
  5097.           Name    _____________________________  Phone ____________
  5098.  
  5099.           Company _____________________________
  5100.  
  5101.           Address _____________________________
  5102.  
  5103.                   _____________________________
  5104.  
  5105.           City    _________________  State ________  Zip _________
  5106.  
  5107.  
  5108.           Check appropriate boxes:                    Version ___5.01____
  5109.               __                       __                      __
  5110.              |__| Complete package    |__| Evaluation copy    |__| Upgrade
  5111.               __
  5112.              |__| Site license registration (see fee schedule)
  5113.               __
  5114.              |__| Bug report for version ______, please return my upgrade
  5115.                   fee if previously unreported
  5116.               __
  5117.              |__| Please send receipt (in addition to letter with password)
  5118.  
  5119.           Check disk format
  5120.               __                     __                     __
  5121.              |__| 5.25", 360K       |__| 5.25", 1.2 MB     |__| 3.5", 720K
  5122.  
  5123.           Version (Rainbow & Wang may not be immediately available)
  5124.               __                                  __
  5125.              |__| IBM PC and most compatibles    |__| DEC Rainbow (MS-DOS)
  5126.               __                                  __
  5127.              |__| TI Professional                |__| Wang
  5128.  
  5129.           Description                   Price    Total
  5130.           -----------                   -----    -----
  5131.  
  5132.           WSSINDEX Registration        $35.00          ($25 before 11/1/90)
  5133.           WSSINDEX Upgrade               5.00
  5134.           Demo evaluation copy           5.00
  5135.           Disk and mailer                2.50     2.50    ($2.00 demo only)
  5136.           Overseas postage               2.00
  5137.           Non-US bank check
  5138.              (see fee schedule)
  5139.           Site license for ___ users
  5140.                                                  -----
  5141.           Amount due:
  5142.  
  5143.           
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.                          Appendix A - ANSI.SYS screen driver
  5157.  
  5158.           MS/PC-DOS 2  and higher  allow you  to  install software  "device
  5159.           drivers"  when you  boot your  computer.   These  are essentially
  5160.           extensions  of the operating system  to handle specific pieces of
  5161.           hardware.   If WSSINDEX is configured to use DOS calls for screen
  5162.           output, most systems will need to use the screen driver ANSI.SYS,
  5163.           otherwise  the control  sequences which  are  supposed to  select
  5164.           colors, position  the cursor  or clear  the  screen will  instead
  5165.           appear  as characters  on  the  screen.   Even  if you  configure
  5166.           WSSINDEX to do direct  video writes, it  will still drop back  to
  5167.           using DOS calls if it encounters an error when reading a configu-
  5168.           ration file.
  5169.  
  5170.           Installation of ANSI.SYS is simple:
  5171.  
  5172.           Check your boot  disk with the DIR  command to see if  you have a
  5173.           file called CONFIG.SYS in the root  directory.  If not, use  your
  5174.           favorite word processing  program to create such a  file, and in-
  5175.           clude in it the line
  5176.  
  5177.                     DEVICE=ANSI.SYS
  5178.  
  5179.           Either upper or lower case is  allowed, but if you use an  editor
  5180.           such as WordStar which can  encode formatting information in  the
  5181.           text,  be  sure  to  specify  non-document mode.    If  you  TYPE
  5182.           CONFIG.SYS, you shouldn't see any funny graphics characters.
  5183.  
  5184.           If you already  have a CONFIG.SYS file, simply add the above line
  5185.           to it with a word processor, again in non-document mode. 
  5186.  
  5187.           Make sure that the  file ANSI.SYS is on your boot  disk, then re-
  5188.           boot your system.   Watch for any error  messages during the boot
  5189.           process.  The  display should now be much  more intelligible when
  5190.           you run WSSINDEX in DOS calls mode.
  5191.  
  5192.           Notes:
  5193.  
  5194.           1.  The Dec  Rainbow and the  Sanyo 555 (without the  video board
  5195.               option) don't need ANSI.SYS because these functions are built
  5196.               into the operating system.  There are probably other machines
  5197.               for which this  is also true.  It is verrrrrry obvious if you
  5198.               lack ANSI support.
  5199.  
  5200.           2.  ANSI.SYS is not particularly  fast at screen display.   There
  5201.               are alternative commercial, shareware and public domain  pro-
  5202.               grams with names like FANSI.SYS, NANSI.SYS,  which do a some-
  5203.               what better job on IBM-PC compatibles.  Also,  different ver-
  5204.               sions  of  ANSI.SYS and  replacements support  different com-
  5205.               mands.  I  believe that WSSINDEX now uses  only commands sup-
  5206.               ported by  all ANSI.SYS  variants, but this  was not  true in
  5207.               previous releases.
  5208.  
  5209.           Wssindex 5.01                   73                     Appendix A
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.           3.  I have one user who  complained that ANSI.SYS interferes with
  5223.               some  other applications software, but normally having it in-
  5224.               stalled all  the time  will do  nothing worse  than use  up a
  5225.               little memory.   However, ANSI.SYS also supports  control se-
  5226.               quences to redefine  keys.  A rogue program  could play games
  5227.               like  redefining some key to  mean DEL *.*  or FORMAT C: with
  5228.               the  appropriate  confirmation.    PC Magazine  published  an
  5229.               ANSI.SYS replacement which  could be configured to  not allow
  5230.               key redefinitions; other ANSI.SYS replacements may have simi-
  5231.               lar options.
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  
  5252.  
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.           Wssindex 5.01                   74                     Appendix A
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.                       Appendix B - Expanding the DOS Environment
  5289.  
  5290.           MS-DOS versions 2.0  and higher reserve an area  of memory called
  5291.           the  environment space which  can be used to  hold strings of the
  5292.           form
  5293.  
  5294.                VARIABLE=value
  5295.  
  5296.           You can view the environment variables by  typing SET, or you can
  5297.           change them by typing SET something=whatever.  DOS puts the PATH,
  5298.           PROMPT and COMSPEC  variables here.  Wssindex looks  in the envi-
  5299.           ronment  for WSSICNF, WSSIDIR and WSSDISP,  and other programs do
  5300.           similar things.   By default,  the environment space is  only 160
  5301.           characters long,  and if you have  more than one or  two programs
  5302.           using the environment, you may  get an "out of environment space"
  5303.           error from DOS.   This message is  most likely to occur  when the
  5304.           SET commands are in a BAT file  because DOS is able to expand the
  5305.           environment beyond 160 bytes only if there is nothing in the way.
  5306.           Running a BAT file (including AUTOEXEC) gets in the way until the
  5307.           BAT file  exits, as  does  loading a  terminate-and-stay-resident
  5308.           program.
  5309.  
  5310.           The initial environment size can  be increased easily, if you are
  5311.           using  DOS  3.0  or  higher,  by  the  SHELL  directive  in  your
  5312.           CONFIG.SYS file.  The syntax is
  5313.  
  5314.                SHELL = [path]COMMAND.COM /P /E:nnn
  5315.  
  5316.           where nnn specifies the environment size.   For DOS 3.0 and  3.1,
  5317.           nnn is in paragraphs  (16 bytes); for DOS 3.2 or  higher it is in
  5318.           bytes, and  is rounded up to a  multiple of 16.   Don't forget to
  5319.           include the /P or else your AUTOEXEC.BAT file will not be execut-
  5320.           ed (and you will probably  get lost in the ozone if  you type EX-
  5321.           IT).  Any change will not take effect until you reboot.
  5322.  
  5323.           The DOS 2.x SHELL directive does  not recognize the /E option, so
  5324.           the only way to increase the default environment size is to patch
  5325.           COMMAND.COM.  Also, under any DOS version, if you load  a second-
  5326.           ary command processor (S option from Wssindex), the size environ-
  5327.           ment  you will have until you exit  is the larger of the the cur-
  5328.           rent environment and the 160  byte default.  Microsoft supplies a
  5329.           utility called  SETENV with some  of its compilers to  change the
  5330.           default environment size,  but it does not  recognize COMMAND.COM
  5331.           from all vendors  (for example, it doesn't  recognize COMMAND.COM
  5332.           for  my Sanyo 555).   It isn't too  difficult to do  the patch by
  5333.           hand; details are given  in an article by  Richard Hale Shaw,  PC
  5334.           Magazine, April 14, 1987, page 295.
  5335.  
  5336.  
  5337.  
  5338.  
  5339.  
  5340.  
  5341.           Wssindex 5.01                   75                     Appendix B
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.                         Appendix C - WSSINDEX Database Format
  5355.  
  5356.           This is a description of the format of a WSSINDEX database.  This
  5357.           information is not  needed for normal program operation,  but may
  5358.           be useful if you  want to write a program to  convert an existing
  5359.           database into a WSSINDEX database, read the database with another
  5360.           program  to produce a  customized listing,  or recover  a damaged
  5361.           disk file.  This  description may be easier to follow  if you use
  5362.           it as a guide while examining a small database with DEBUG or some
  5363.           other utility.
  5364.  
  5365.           Dates and times are stored in the  same format as used in an FCB.
  5366.           Date has 7  bits for years since 1980,  4 bits for month,  5 bits
  5367.           for day.  Time has 5 bits for hour, 6 bits for minute, 5 bits for
  5368.           second.
  5369.  
  5370.           The database is stored  unsorted.  This is done  because the time
  5371.           required  by  the   Quicksort  algorithm  used  by   WSSINDEX  is
  5372.           O(n*log n) for a  randomly ordered source, but O(n*n)  for an al-
  5373.           ready ordered input.   In more concrete terms,  storing the data-
  5374.           base in sorted  order would turn a  30 second sort into  a longer
  5375.           than 10 minute sort.
  5376.  
  5377.           Notation: \n   - a newline, that is an ASCII linefeed, hex 0A
  5378.                     \EOS - end of string marker, hex 0
  5379.                     *    - a field dependent on the WSSINDEX version
  5380.                     var  - variable length
  5381.  
  5382.              length     contents
  5383.              (bytes)
  5384.  
  5385.           Header:
  5386.  
  5387.               9     "WSSINDEX\n"
  5388.               4-6*  version number\n
  5389.               2     number of disks in database
  5390.               2     number of subdirectories (including root)
  5391.               2     number of files
  5392.  
  5393.           Disk record, repeated for each disk:
  5394.  
  5395.               11    volume name, blank padded to 11 chars (no \n or EOS)
  5396.               4     bytes on disk
  5397.               4     free bytes on disk
  5398.               2     number of files on disk
  5399.               2     number of subdirectories on disk (not counting root)
  5400.               2     date indexed
  5401.               1     "Y" or "N" for bootable or not
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.           Wssindex 5.01                   76                     Appendix C
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.           Subdirectory record, repeated for each subdirectory:
  5421.  
  5422.               2     disk number, count starts at zero
  5423.               var   subdirectory name\n
  5424.  
  5425.           File record, repeated for each file:
  5426.  
  5427.               9     file name\EOS    there  may be garbage after  the \EOS.
  5428.                     \EOS is 1st character if this is a .ID record
  5429.               4     extension\EOS   there may be garbage after the \EOS
  5430.               2     date
  5431.               2     time
  5432.               4     size
  5433.               2     disk number,  high bit set  if file  is a member  of an
  5434.                     archive file
  5435.               2     subdirectory number (root is 0) for ordinary file, file
  5436.                     number of containing archive file for archive member
  5437.               1     "C" (if commented), else blank
  5438.               var   comment\n   if comments flag is "C"
  5439.               1*    "C" (if categorized), else blank; field only present if
  5440.                     written by version 2.00 or later
  5441.               var*  category\n  if category flag is "C"
  5442.  
  5443.           Note that there is not  a control-Z to mark the end of  file, and
  5444.           there  may be embedded  control-Z's in  the binary  fields (date,
  5445.           time, size, etc.).
  5446.  
  5447.           This information is subject to change in future releases.  Howev-
  5448.           er,  I do  guarantee that  WSSINDEX will  always be able  to read
  5449.           databases written by older versions of the program (possibly with
  5450.           a conversion utility).   Note that this guarantee  does not apply
  5451.           to configuration files.
  5452.  
  5453.  
  5454.  
  5455.  
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461.  
  5462.  
  5463.  
  5464.  
  5465.  
  5466.  
  5467.  
  5468.  
  5469.  
  5470.  
  5471.  
  5472.  
  5473.           Wssindex 5.01                   77                     Appendix C
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.                      Appendix D - Character Code Conversion Table
  5487.  
  5488.           ascii  decimal  hex   ascii  decimal  hex   ascii  decimal  hex
  5489.  
  5490.            NUL      0       0     +      43      2B     V       86      56
  5491.            SOH      1       1     ,      44      2C     W       87      57
  5492.            STX      2       2     -      45      2D     X       88      58
  5493.            ETX      3       3     .      46      2E     Y       89      59
  5494.            EOT      4       4     /      47      2F     Z       90      5A
  5495.            ENQ      5       5     0      48      30     [       91      5B
  5496.            ACK      6       6     1      49      31     \       92      5C
  5497.            BEL      7       7     2      50      32     ]       93      5D
  5498.            BS       8       8     3      51      33     ^       94      5E
  5499.            TAB      9       9     4      52      34     _       95      5F
  5500.            LF      10       A     5      53      35     `       96      60
  5501.            VT      11       B     6      54      36     a       97      61
  5502.            FF      12       C     7      55      37     b       98      62
  5503.            CR      13       D     8      56      38     c       99      63
  5504.            SO      14       E     9      57      39     d      100      64
  5505.            SI      15       F     :      58      3A     e      101      65
  5506.            DLE     16      10     ;      59      3B     f      102      66
  5507.            DC1     17      11     <      60      3C     g      103      67
  5508.            DC2     18      12     =      61      3D     h      104      68
  5509.            DC3     19      13     >      62      3E     i      105      69
  5510.            DC4     20      14     ?      63      3F     j      106      6A
  5511.            NAK     21      15     @      64      40     k      107      6B
  5512.            SYN     22      16     A      65      41     l      108      6C
  5513.            ETB     23      17     B      66      42     m      109      6D
  5514.            CAN     24      18     C      67      43     n      110      6E
  5515.            EM      25      19     D      68      44     o      111      6F
  5516.            SUB     26      1A     E      69      45     p      112      70
  5517.            ESC     27      1B     F      70      46     q      113      71
  5518.            FS      28      1C     G      71      47     r      114      72
  5519.            GS      29      1D     H      72      48     s      115      73
  5520.            RS      30      1E     I      73      49     t      116      74
  5521.            US      31      1F     J      74      4A     u      117      75
  5522.                    32      20     K      75      4B     v      118      76
  5523.             !      33      21     L      76      4C     w      119      77
  5524.             "      34      22     M      77      4D     x      120      78
  5525.             #      35      23     N      78      4E     y      121      79
  5526.             $      36      24     O      79      4F     z      122      7A
  5527.             %      37      25     P      80      50     {      123      7B
  5528.             &      38      26     Q      81      51     |      124      7C
  5529.             '      39      27     R      82      52     }      125      7D
  5530.             (      40      28     S      83      53     ~      126      7E
  5531.             )      41      29     T      84      54    DEL     127      7F
  5532.             *      42      2A     U      85      55
  5533.  
  5534.           Three letter combinations are non-printing control characters.
  5535.  
  5536.  
  5537.  
  5538.  
  5539.           Wssindex 5.01                   78                     Appendix D
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.           In WSSINDEX versions for non-IBM  compatible machines, all of the
  5553.           executable  files are different,  but this documentation  file is
  5554.           unchanged.  Beware of trying to transfer configuration  files be-
  5555.           tween  versions of WSSINDEX  for different machines.   Generally,
  5556.           this is  only safe if DOS-calls video  is selected, and even then
  5557.           you should examine  the transferred configuration for  any anoma-
  5558.           lies.   Printer definition  files and databases  are transferable
  5559.           between versions.
  5560.  
  5561.  
  5562.                         Appendix E - WSSINDEX for DEC Rainbow
  5563.  
  5564.           Note: release of the Rainbow version may lag the IBM version by a
  5565.           few weeks.  Please confirm availability before ordering.  Rainbow
  5566.           versions will normally be sent  on RX-50 format disks, written on
  5567.           a 1.2 MB drive using a special device driver.
  5568.  
  5569.           The  Rainbow  version of WSSINDEX is the same as the IBM  version
  5570.           with the following exceptions:
  5571.  
  5572.           1.  Color is not supported but  fast video display and 132 column
  5573.               screens are supported.  Specify SET WSSDISP=M for fast video.
  5574.  
  5575.           2.  The add-comments menu uses a different set of keys, which are
  5576.               shown in the menu.   Keyboard macros are triggered by COMPOSE
  5577.               or  F20 followed  by a  letter rather  than Alt-letter.   For
  5578.               hardware reasons, the  COMPOSE key can  only be used as  a PF
  5579.               key on a 100A, so I have dropped it from the on-screen menus.
  5580.  
  5581.           3.  Use the CANCEL key rather than  the ESCAPE key to cancel com-
  5582.               mands.  If  the screen gets  messed up,  the MAIN SCREEN  key
  5583.               forces a screen reset the next time the screen is cleared.
  5584.  
  5585.           4.  The IBM version uses control plus cursor arrows for word tab-
  5586.               bing when entering comments or categories.  The Rainbow  ver-
  5587.               sion uses up arrow for word tab right and down arrow for word
  5588.               tab left.  HELP, F19  and F4 substitute for Alt-PF1, END  and
  5589.               control-END.
  5590.  
  5591.           5.  Line  editing uses the  delete key rather  than the backspace
  5592.               key (actually either can be used).
  5593.  
  5594.           6.  The version number has an "R" appended.  A database stored on
  5595.               disk will be one byte longer, but readable by an IBM  version
  5596.               of the program  (assuming you can get around  disk format in-
  5597.               compatibilities).
  5598.  
  5599.           7.  The cut-and-paste program CUTPAST3 doesn't work on a Rainbow,
  5600.               so I instead  include RNP.COM which  I am told  is a  similar
  5601.               utility.   The author  does not have  convenient access  to a
  5602.               Rainbow for testing, so user  reports of bugs or inconvenient
  5603.               key assignments are especially useful.
  5604.  
  5605.           Wssindex 5.01                   79                     Appendix E79
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.  
  5615.  
  5616.  
  5617.  
  5618.                       Appendix F - WSSINDEX for TI Professional
  5619.  
  5620.           I now own a minimally configured  TI Pro, so release of Pro  ver-
  5621.           sions should coincide with the standard version.
  5622.  
  5623.           The Texas  Instruments Professional  computer does  not have  IBM
  5624.           compatible video, so the standard version cannot run using direct
  5625.           video writes.   Also, there is a  bug in the TI  ANSI.SYS support
  5626.           which prevents color selection from working properly.  Patches to
  5627.           fix this are available, but they depend on the  DOS version being
  5628.           used.  They should  not be necessary  if direct video writes  are
  5629.           enabled.  (While  I have some of  the patch files, I  do not have
  5630.           one  for the version of DOS which came  with my TI Pro, so I have
  5631.           not been  able to verify  that color selection works  properly in
  5632.           DOS calls mode.)
  5633.  
  5634.           The  differences in the TI Pro version are that the screen output
  5635.           routines know how to access the TI video hardware and adjustments
  5636.           are made for IBM keys not found on the TI keyboard.
  5637.  
  5638.           The built-in default colors are not appropriate for the TI Pro; I
  5639.           suggest usin  the included  TI.CNF file as  a starting  point for
  5640.           configuring.
  5641.  
  5642.  
  5643.  
  5644.  
  5645.  
  5646.  
  5647.  
  5648.  
  5649.  
  5650.  
  5651.  
  5652.  
  5653.  
  5654.  
  5655.  
  5656.  
  5657.  
  5658.  
  5659.  
  5660.  
  5661.  
  5662.  
  5663.  
  5664.  
  5665.  
  5666.  
  5667.  
  5668.  
  5669.  
  5670.  
  5671.           Wssindex 5.01                   80                     Appendix F80
  5672.  
  5673.  
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.  
  5681.  
  5682.  
  5683.  
  5684.                           Appendix G - WSSINDEX for WANG PC
  5685.  
  5686.           Note: the Wang version is still under development and a few items
  5687.           marked by <<>> need to  be resolved.  Please confirm availability
  5688.           before ordering.
  5689.  
  5690.           Due to  keyboard differences,  the standard  version of  Wssindex
  5691.           will not run on some Wang PC's without the use of an optional IBM
  5692.           emulation package.   The  Wang version  of  Wssindex attempts  to
  5693.           recognize both the native mode and emulation mode keystrokes, and
  5694.           where possible,  to use the same keys as would be used by the IBM
  5695.           version when running in IBM emulation mode.
  5696.  
  5697.           Only the  special function  keys cause  problems; ordinary  ascii
  5698.           characters need no  special handling.  In the  IBM version, these
  5699.           keys  are used in three  places: (1) the ESCAPE key  is used as a
  5700.           general  "cancel operation"  command, (2)  Alt-letter triggers  a
  5701.           keyboard macro, and (3) many function  keys are used in the  add-
  5702.           comments screen.
  5703.  
  5704.           Wssindex Function   Wang mode key          IBM emulation mode key
  5705.  
  5706.           Cancel operation    Cancel, backtab or ^[    Backtab or ^[
  5707.           Keyboard macro      GL then letter           2nd then letter
  5708.              (If system glossaries is enabled, hit GL twice)
  5709.  
  5710.           Copy comment        F1                       same
  5711.           Copy category       F3                       same
  5712.           Copy both           F5                       same
  5713.           Skip to next        F7                       same
  5714.           Add & advance       F9 or EXEC               F9
  5715.  
  5716.           Delete comment      F2                       same
  5717.           Delete category     F4                       same
  5718.           Change direction    F6                       same
  5719.           View file           F8                       same
  5720.           Exit                F10                      same
  5721.  
  5722.           Toggle help         Help                     2nd F1
  5723.           Insert mode         Insert                   same
  5724.           Delete char         Delete                   same
  5725.           Del to end of line  Erase, shift erase       <<^End ??>>
  5726.                               or delete
  5727.           Cursor move         L/R cursor arrows        same
  5728.           Cursor word move    Shift arrows             <<try control>>
  5729.           Beginning of line   Home                     same
  5730.           End of line         Shift home               End
  5731.               (End may be keypad 1 or Exec depending on model)
  5732.  
  5733.  
  5734.  
  5735.  
  5736.  
  5737.           Wssindex 5.01                   81                     Appendix G81
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749.  
  5750.           Other differences
  5751.  
  5752.           1.  With some DOS versions, the  S-option (shell to DOS) does not
  5753.               work in native mode.  Any Wang gurus know why this is true?
  5754.  
  5755.           2.  In native mode (not using  any form of IBM emulation), screen
  5756.               output  must be  done with  DOS calls.   If emulating  an IBM
  5757.               monochrome (SYSMODE  M) or color (SYSMODE C)  system, you can
  5758.               use direct video writes but  you must make sure that Wssindex
  5759.               uses the  same mode (monochrome  or color) as  your emulator.
  5760.               If (when using  direct video writes) you use  the S option to
  5761.               shell to DOS, make sure  that you have the same  SYSMODE set-
  5762.               ting when  you exit  back to Wssindex,  else the  system will
  5763.               crash.
  5764.  
  5765.           The author does not have access to a Wang PC for testing, so user
  5766.           reports  of bugs or  inconvenient key assignments  are especially
  5767.           useful.
  5768.  
  5769.  
  5770.  
  5771.  
  5772.  
  5773.  
  5774.  
  5775.  
  5776.  
  5777.  
  5778.  
  5779.  
  5780.  
  5781.  
  5782.  
  5783.  
  5784.  
  5785.  
  5786.  
  5787.  
  5788.  
  5789.  
  5790.  
  5791.  
  5792.  
  5793.  
  5794.  
  5795.  
  5796.  
  5797.  
  5798.  
  5799.  
  5800.  
  5801.  
  5802.  
  5803.           Wssindex 5.01                   82                     Appendix G82
  5804.  
  5805.  
  5806.  
  5807.  
  5808.  
  5809.  
  5810.