home *** CD-ROM | disk | FTP | other *** search
/ The First Hungarian Family / The_First_Hungarian_Family_CD-ROM.bin / internet / offlread / utils / zip172 / zip.doc < prev    next >
Text File  |  1994-06-16  |  59KB  |  1,161 lines

  1.  
  2.                                    ZIP.DOC
  3.                                    -------
  4.               Instructions for ZIP - Fast File Transfer Utility
  5.                           version 1.72 (16 Jun 1994)
  6.  
  7.                              (c)1988-94 E. Meyer
  8.  
  9.  
  10.         Requires:  two IBM PC compatible computers with DOS 2.x or above;
  11.                    serial (null modem) RS232C cable.
  12.  
  13.  
  14. ================================== CONTENTS ==================================
  15.  
  16.      1. INTRODUCTION: Brief description; Copyright and Licensing
  17.  
  18.      2. PREPARING TO USE ZIP
  19.           A. Menu or Command-line mode
  20.           B. Setting serial port and speed
  21.           C. File and directory handling
  22.           D. Choosing the screen output mode
  23.           E. Clock synchronization
  24.  
  25.      3. TRANSFERRING FILES
  26.           A. Sending files
  27.           B. Receiving files
  28.           C. Selecting files from a group
  29.           D. Reconciling similar directories
  30.           E. Backing up all subdirectories
  31.           F. Directory, Delete, and Log commands
  32.           G. Waiting for a connection
  33.  
  34.      4. SERVER MODE
  35.           A. Sending and fetching files
  36.           B. Server Directory, Delete, and Log commands
  37.           C. Comparing directory contents
  38.           D. Server Time command
  39.  
  40.      5. FURTHER USAGE NOTES
  41.           A. Summary of options
  42.           B. Examples of command-line syntax
  43.           C. Automating use of ZIP (Redirection, @files, Batch files)
  44.  
  45.      6. UTILITY PROGRAMS
  46.           A. Cloning ZIP with ZIPDUP
  47.           B. Changing defaults with ZIPCFG
  48.  
  49.      7. TECHNICAL INFORMATION
  50.           A. General information
  51.           B. Appropriate serial cables
  52.           C. Using ZIP on the HP95/100LX palmtops
  53.           D. Error messages
  54.           E. About the program and author
  55.  
  56.  
  57.  
  58. ============================== 1. INTRODUCTION ===============================
  59.  
  60.  
  61.      Anyone working with two computers probably needs to transfer programs or 
  62. data between them regularly.  But especially where large amounts of data are 
  63. involved, exchanging floppy disks quickly grows tedious; and not all computers 
  64. have the same disk sizes, or disk drives at all.  Keeping track of new or 
  65. modified files on each computer gets to be a problem, too.
  66.  
  67.      ZIP is a tiny, fast utility to transfer files between two IBM compatible 
  68. computers; it requires no expensive additional hardware, just a simple "null 
  69. modem" serial cable.  It can be used from the DOS command line or a batch 
  70. file, or run from an interactive menu.  It transfers files as simply as using 
  71. the COPY command, and has options that make it easy to reconcile directories 
  72. on both computers.  Ideal for laptop or palmtop computers, it takes just 14k 
  73. of disk space, and consumes no memory when not in use.
  74.  
  75.      There are good retail programs for this purpose, though they typically 
  76. cost over $100; if you can find, make, or buy your own cable, you can do the 
  77. same job with ZIP instead.  ZIP doesn't have all the features of the fancy 
  78. programs, but it doesn't consume precious system memory either; it just 
  79. transfers files when you need to, as simply as using the COPY command.  In 
  80. fact, even if you have other more complex programs, you may still find ZIP 
  81. easier to use in many situations because of its small size and simplicity.
  82.  
  83.      ZIP is as fast as a serial (RS232C) transfer program can be, and faster 
  84. than some free/shareware utilities that also claim to operate "at 115200 bps".  
  85. (A few retail programs are somewhat faster still, but they rely on a 
  86. proprietary parallel cable design that is not readily available.)  ZIP 
  87. achieves an actual throughput of 10-14K per second, depending on processor 
  88. speed and disk performance.  On any system, large amounts of data can be sent 
  89. more quickly using RAMdisks or hard disks, rather than slow floppy disk 
  90. drives.  Although ZIP is designed to operate at very high transmission speeds, 
  91. it can also be used at slower speeds in applications that demand this.
  92.      (Note: ZIP does not employ data compression, and has nothing to do with 
  93. the new file compression program "PKZIP" by Phil Katz.)
  94.  
  95.  
  96.                          HOW YOU GOT YOUR COPY OF ZIP
  97.  
  98.      ZIP circulates widely as "shareware", giving you the opportunity to try 
  99. the program at no cost, and to share it with others -- hence the name.  If it 
  100. doesn't meet your needs, you don't have to pay for it.  If you find the 
  101. program valuable and continue to use it, you can "register" your copy for a 
  102. modest fee.  In return, you get an update disk and support from the author.
  103.  
  104.      Shareware offers some unique advantages over retail software, because 
  105. users interact directly with the author.  Obviously, costs are kept down 
  106. because glossy packaging, advertising, and retail markups are eliminated.  But 
  107. shareware can also resist market trends and continue to provide useful kinds 
  108. of products that the big corporations have abandoned.  And shareware authors 
  109. can respond more directly to user requests and concerns than software 
  110. publishers who release an update only when it seems profitable.
  111.  
  112.      Shareware works when users give program authors useful feedback, and most 
  113. of all, when users support authors by registering their programs.  This makes 
  114. it possible for quality shareware to continue to develop and improve.  ZIP 
  115. would not have become what it is now without this kind of support.  Please 
  116. support shareware by registering any programs that you use.
  117.  
  118.      The use and distribution of ZIP are governed by the "COPYRIGHT AND 
  119. LICENSE" information below.  Please read this carefully!
  120.  
  121.  
  122.                             FILES YOU SHOULD HAVE
  123.  
  124.      Be sure you have all the files which should be included in this package:
  125.  
  126.               ZIP.DOC      - This documentation file.
  127.               ZIPxx.UPD    - Update notes and version history.
  128.               ZIP.COM      - The file transfer program.
  129.               ZIPCFG.COM   - The configuration (customizing) utility.
  130.               ZIPDUP.COM   - The duplication (cloning) utility.
  131.               ORDER.FRM    - Registration/site license order form.
  132.  
  133.  
  134.  
  135.                       COPYRIGHT AND LICENSE INFORMATION
  136.  
  137.          The ZIP program and documentation are copyright (c)1988-94 
  138.          Eric Meyer, all rights reserved worldwide.  They may not be 
  139.          circulated in any incomplete or modified form, nor sold for 
  140.          profit, without written permission of the author.  The use 
  141.          or sale of ZIP is subject to the following terms:
  142.  
  143.  
  144. PERSONAL USE.  If you find ZIP valuable and continue to use it, you are 
  145.     encouraged (but not required) to register, and help support the 
  146.     development of high-quality, affordable software:
  147.                    INDIVIDUAL REGISTRATION .....  $30 (US)
  148.     Registered users receive several benefits:
  149.             * The latest version of ZIP (and other useful programs) 
  150.          on disk direct from the author.
  151.             * Support.  You can get help with any questions or 
  152.          problems you encounter in using ZIP.  Future upgrades can 
  153.          be ordered on disk when desired.
  154.             * Your registration verifies the legality of your 
  155.          personal use of ZIP at your workplace as well.
  156.  
  157.  
  158. SITE LICENSES.  Any company or institution wishing to use ZIP in the course of 
  159.     its business MUST purchase a SITE LICENSE.  The cost of the license is 
  160.     modest, and varies according to the number of computers on which ZIP may 
  161.     be in use in the workplace:
  162.                 Up to 10 copies................. $50 (US)
  163.                 Up to 20 copies................ $100
  164.                 Additional copies over 20........ $2 each
  165.     The purchaser of a site license receives several benefits:
  166.             * The latest version of ZIP (and other useful programs) 
  167.          on disk direct from the author.
  168.             * Support.  You can get help with any questions or 
  169.          problems you encounter in using ZIP.  Future upgrades can 
  170.          be ordered on disk when desired.
  171.             * A license documents the legality of your company's 
  172.          use of ZIP.
  173.             * Your employees can use ZIP at home and share it with 
  174.          friends without raising issues of software piracy.
  175.  
  176.  
  177. COMMERCIAL SALE.  Any software dealer or library may offer ZIP for sale, as 
  178.     long as the price charged for the disk containing ZIP does not exceed US 
  179.     $6.  With this single exception, the sale of ZIP, either alone or together 
  180.     with other software or hardware, requires a licensing agreement.  Please 
  181.     write for terms.
  182.  
  183.  
  184. ORDERING AND SOURCES.  Site licenses and individual registrations may be 
  185.     ordered directly from the author (see address below), by check or money 
  186.     order in US currency; purchase orders are also accepted.
  187.          CREDIT CARD ORDERS ONLY (VISA,MC,AmEx,Discover), including 
  188.     international, for licenses and registrations may be made through the 
  189.     Public Software Library: phone (800)242-4775 or (713)524-6394, FAX 
  190.     (713)524-6398, CompuServe [71355,470].  Mention item #10304.  (There is a 
  191.     $5 surcharge for this service.)
  192.          ZIP is distributed widely through "shareware" channels.  Users with a 
  193.     modem can download the latest version as the archive file ZIPxxx.ZIP, 
  194.     available from either of the two primary distribution points:
  195.     (1) Glendale Litera BBS - Glendale, CA  (818)956-6164.
  196.     (2) On CompuServe, in download library 4 (DL4) of the IBMCOM forum.
  197.          In addition, ZIP is available on a variety of other remote systems, 
  198.     and by mail from many good software libraries, including the Public 
  199.     Software Library, P.O. Box 35705, Houston TX 77235.  (Disk #1674)
  200.  
  201.  
  202. FOREIGN USERS.  ZIP has a growing number of users elsewhere in the Americas, 
  203.     Europe, and the Far East.  In many countries, retail software is scarce or 
  204.     expensive, and shareware is an even more attractive alternative.  
  205.     Registrations from overseas are warmly encouraged, and users receive full 
  206.     support, including disks by airmail, at no extra charge.  Payment can be 
  207.     made by international credit card through Public Software Library; or you 
  208.     can send money orders in US currency, drawn on a US affiliate bank, 
  209.     directly to the author.  Modest amounts of US cash ($50 or less) can also 
  210.     be sent safely by registered mail.
  211.  
  212.                   Address all correspondence to the author:
  213.  
  214.             Eric Meyer
  215.          3541 Smuggler Way            CompuServe: [74415,1305]
  216.     Boulder, Colorado  80303  USA       Internet: 74415.1305@compuserve.com
  217.  
  218.  
  219.               THE CUSTOMARY DISCLAIMER:  You undertake to use ZIP at 
  220.          your own risk.  The author does not warrant the suitability 
  221.          of ZIP for any particular purpose, and assumes no liability 
  222.          for damages of any kind resulting from its use.
  223.  
  224.  
  225.  
  226. ========================== 2. PREPARING TO USE ZIP ===========================
  227.  
  228.  
  229.      In order to use ZIP, you will need to have a copy of the same version of 
  230. ZIP.COM on both computers, and the correct cable (a serial "null modem" cable, 
  231. or a serial cable with a null modem adapter) to connect between them.  If 
  232. incompatible disk drives prevent you from getting ZIP.COM itself onto the 
  233. second computer to begin with, you can "clone" ZIP with the ZIPDUP utility 
  234. (see CLONING).  For further explanation of serial cables, or if you have an 
  235. HP95/100LX palmtop, see TECHNICAL INFORMATION.
  236.  
  237.      If there is a problem with your cable or port/speed settings, the message 
  238. "Ready" or "Waiting" will remain on screen when you try to run ZIP; correct 
  239. the problem and try again.
  240.  
  241.      ZIP's operation can be interrupted by pressing Escape, ^C, or Ctrl-Break:
  242.           (1) during initial connection attempt;
  243.           (2) at any user prompts;
  244.           (3) during file transfer (on receiving end, your keypress
  245.                 will not be noticed until the current file is finished).
  246.  
  247.  
  248. ------------------------ A. MENU OR COMMAND LINE MODE ------------------------
  249.  
  250.      ZIP can be used in either of two ways, described more fully below:
  251.  
  252.               1.  MENU-DRIVEN OPERATION.  Simply type "ZIP" on both 
  253.          machines.  You will see a menu of choices including 
  254.          sending, receiving, or fetching files; listing or comparing 
  255.          directories; logging a new directory; deleting files; 
  256.          entering server mode; unlinking the server; setting the 
  257.          time; changing parameters; or getting help with options.  
  258.          Just type the highlighted letter of your selection.
  259.  
  260.               2.  COMMAND-LINE OPERATION.  Any single operation can 
  261.          be performed from the DOS command line, by providing the 
  262.          correct arguments and options.  For a brief help message 
  263.          explaining syntax and options, type "ZIP /?".
  264.  
  265.      Menu operation is most convenient when you plan to perform a series of 
  266. tasks from the keyboard; command-line use provides a quick way to perform a 
  267. single task, and is great for use in batch files.
  268.  
  269.  
  270. -------------------- B. SETTING THE SERIAL PORT AND SPEED --------------------
  271.  
  272.      IBM-compatible computers have anywhere from one to four serial (RS232C) 
  273. ports, and on each computer you must tell ZIP which port you have connected 
  274. its cable to.  By default ZIP uses the COM1 port.  The standard port addresses 
  275. are:                  COM1: 03F8h         COM3: 03E8h
  276.                       COM2: 02F8h         COM4: 02E8h
  277. To figure out which number corresponds to each physical port, consult your 
  278. computer manual.  While COM1 and COM2 are standardized, some computers 
  279. (including PS/2s) use different addresses for COM3 and COM4; nonstandard port 
  280. addresses can be specified in hexadecimal, but only by modifying ZIP.COM with 
  281. the ZIPCFG utility.
  282.  
  283.      You can select any standard COM port during operation of ZIP:  in menu 
  284. mode, just choose "P"arameters, then select a port (1-4).  In command-line 
  285. mode, specify one of the following options:
  286.  
  287.               /1-4  = use port COM1-4.
  288.  
  289.      Data transmission can take place at a wide range of speeds.  ZIP normally 
  290. works at the fastest possible speed, 115200 bps, and most users will not need 
  291. to change this.  To accommodate certain computers or software environments, it 
  292. may be necessary to set a somewhat slower speed.  In fact, ZIP can be slowed 
  293. down all the way to 2400 bps, so that it could even be used with a modem over 
  294. a telephone line, instead of a direct cable connection.  In any event, you 
  295. must have the same rate set on both ends.
  296.      In menu mode, just choose "P"arameters, then select a speed (by letter, 
  297. from the menu).  In command line mode, specify the option:
  298.  
  299.               /Bnnnn  = use speed nnnn (BPS)
  300.  
  301. The allowed speeds "nnnn" are 115200, 57600, 38400, 19200, 9600, 4800, 2400; 
  302. each may be abbreviated to as few as two digits ("/B96").  To change your 
  303. default setting, use ZIPCFG.
  304.  
  305.      You will see a note in the ZIP signon message, "Speed=____ Port=____", 
  306. giving the port address and speed currently in use.
  307.  
  308.  
  309. ---------------------- C. FILE AND DIRECTORY HANDLING ------------------------
  310.  
  311.      You can specify how you want ZIP to handle certain DOS file attributes.  
  312. By default, ZIP does not list or transfer Hidden or System files; it preserves 
  313. all file attributes, including Archive; and an error is generated if you 
  314. attempt to overwrite or delete an existing Read/only file.
  315.      You can also choose whether you want ZIP to create a new directory when 
  316. the one you specified does not exist; by default, ZIP reports an error.
  317.  
  318.      To examine or alter these settings, in menu mode, just choose "P"aram- 
  319. eters; then press "N" to change new directory creation, or "T" to change file 
  320. attribute handling.  There are four attribute settings:
  321.  
  322.         include Hidden files?     preserve Archive attribute?
  323.         include System files?     overwrite Read/only files?
  324.  
  325. Press a letter "H,S,A,R" to change any setting from YES to NO.  They may be 
  326. specified independently on either end; the settings on the client or sending 
  327. end govern each operation.
  328.  
  329.      In command line mode, you can specify the option:
  330.  
  331.               /A  = ADD (create) new directories
  332.  
  333. (Note: if you have used ZIPCFG to make directory creation your default, the /A 
  334. option will reverse this.)  There is no command-line option to change the file 
  335. attribute settings, but the defaults can be changed with ZIPCFG.
  336.  
  337.  
  338. --------------------- D. CHOOSING THE SCREEN OUTPUT MODE ---------------------
  339.  
  340.      ZIP is capable of displaying in several colors (or shades) on computers 
  341. with color or greyscale capability (colors are chosen with ZIPCFG).  However, 
  342. you can also choose instead a simple DOS (monochrome) output mode if you 
  343. prefer, or if you wish to redirect output (see AUTOMATING).  On the command 
  344. line, specify the option:
  345.  
  346.               /M  = use MONOCHROME output
  347.  
  348. You can also make this your default with ZIPCFG.  (Note: if you have done so, 
  349. the /M option will reverse this, producing color output.)
  350.  
  351.  
  352. -------------------------- E. CLOCK SYNCHRONIZATION --------------------------
  353.  
  354.      It is advisable to ensure that the system clocks on your computers agree 
  355. closely with each other; once they differ significantly, the timestamps on 
  356. files may not correctly indicate which computer has the later revisions.  
  357. Therefore, when ZIP is about to perform an operation which involves file 
  358. timestamps, it first compares the two system clocks.
  359.  
  360.      If ZIP is performing a directory Comparison (/C) and finds that the 
  361. clocks differ by more than the "clock synch tolerance", a warning is given.  
  362. (The synch tolerance is 5 minutes by default, but can be changed with ZIPCFG.)
  363.  
  364.      If ZIP is attempting a file transfer by timestamp (/T) and finds that the 
  365. clocks differ by more than the tolerance, the transfer is aborted.
  366.  
  367.      To correct the situation, you could use the DOS commands TIME (and/or 
  368. DATE) on each computer; better yet, you can synchronize the clocks automat- 
  369. ically with ZIP itself.  (See SERVER TIME COMMAND.)
  370.  
  371.  
  372. =========================== 3. TRANSFERRING FILES ============================
  373.  
  374.  
  375.      A SIMPLE EXAMPLE: Suppose you have a file REPORTS in directory C:\WORK on 
  376. your laptop computer, and you'd like to send it to directory D:\JONES on your 
  377. desktop PC.  The serial cable is connected between the laptop's COM1 port and 
  378. the desktop's COM2.  Here is a single command to do it:
  379.  
  380.         Laptop:  ZIP C:\WORK\REPORTS /[D:\JONES] /1
  381.        Desktop:  ZIP /R /2
  382.  
  383. Alternatively, you could perform the transfer in menu mode, with prompts to 
  384. guide you through each step:
  385.  
  386.         Laptop:  ZIP /1                  Desktop:  ZIP /2
  387.                  "S"end                            "R"eceive
  388.                  Files: C:\WORK\REPORTS
  389.                  To:    D:\JONES
  390.                  "Q"uit                            "Q"uit
  391.  
  392. Note that if either C:\WORK or D:\JONES was the current directory on the 
  393. computer in question, it would not have had to be specified.  Also, we 
  394. probably didn't need to specify "/1" on the laptop because COM1 is the normal 
  395. default; similarly, if you're going to be using COM2 on the desktop all the 
  396. time, you would want to use ZIPCFG to install its copy of ZIP to use COM2 as 
  397. the default, in order not to have to specify "/2" every time.
  398.  
  399.      If you can get such a transfer to work, you can go on to explore the 
  400. details which follow.  (If not, recheck your cable, port assignments, etc.)
  401.  
  402.  
  403. ------------------------------ A. SENDING FILES ------------------------------
  404.  
  405.      Transferring files between computers with ZIP is as easy as copying them 
  406. from one disk to another.  In menu mode, simply select "S"end, and you will be 
  407. prompted for the filename(s) and then a directory to send them to.  (For the 
  408. default directory on the other end, just press ENTER.)  For command-line use, 
  409. give the filename(s) to send as part of the ZIP command, and if you want to 
  410. specify a destination directory, you can add it as an option in brackets: 
  411.  
  412.               C>zip FILESPEC /[DESTDIR]
  413.  
  414.      In either mode, the "FILESPEC" can be a single FILE (including path), or 
  415. a GROUP specified by wildcards (eg, *.BAK), or an "@FILE" (see AUTOMATING), or 
  416. a LIST of any of these delimited by commas or spaces.  Each item assumes or 
  417. continues the same path as the previous one, unless the new one begins with a 
  418. drive or root directory.  Thus the list:
  419.               d:\sf\gort, ltrs\*.892, klaatu
  420. refers to files D:\SF\GORT, D:\SF\LTRS\*.892, and D:\SF\LTRS\KLAATU.
  421.  
  422.      Any other desired options may also follow the filename(s), though only 
  423. certain ones (/S and /N,E,T,P) are valid in menu mode.  Take care not to send 
  424. two files with the same name to the same receiving directory, as one would 
  425. overwrite the other.  Whether or not ZIP sends DOS Hidden or System files can 
  426. be determined with ZIPCFG.
  427.  
  428.      The size of each file to be sent is shown in "k" (1k = 1024 bytes), and 
  429. the transfer in progress is indicated by continuously updating the amount 
  430. sent.  This progress indication disappears when the transfer is complete.
  431.  
  432.  
  433. ----------------------------- B. RECEIVING FILES -----------------------------
  434.  
  435.      In menu mode, simply select "R"eceive, and you will be prompted for the 
  436. directory to receive files into.  For command-line use, specify the option:
  437.  
  438.               /R  = RECEIVE files
  439.  
  440. and, if you want, a directory to receive files into, in brackets:
  441.  
  442.               C>zip /r[DESTDIR]
  443.  
  444.      Do not supply a filespec before the /R option; the sender determines the 
  445. files to be sent.  By default, files are received into the current directory.  
  446. Any destination directory specified by the sender overrides the receiver's 
  447. directory.  If the specified directory does not exist, ZIP may attempt to 
  448. create it.  Of the selection options, only /P may be used when receiving.
  449.  
  450.      A received file bears the same filename, DOS timestamp, and file 
  451. attributes as the file sent (except that whether the Archive attribute is 
  452. preserved is user-configurable).
  453.  
  454.  
  455. ---------------------- C. SELECTING FILES FROM A GROUP -----------------------
  456.  
  457.      If you want to transfer only certain files in a group (like *.DOC) with 
  458. ZIP, you can request that you be prompted to confirm each file individually: 
  459. you will be asked to press a key (Y/N) to determine whether each file is to be 
  460. sent.  After the file (or for receiving, directory) names, in either menu or 
  461. command-line mode, specify the option:
  462.  
  463.               /P  = PROMPT to confirm files individually
  464.  
  465. If option /P is in use on the receiving end and "No" is entered, the message 
  466. "<Declined>" will appear on the sending end.
  467.      This option can be specified independently on either or both ends, but 
  468. has no effect in server mode.
  469.      (In menu mode, you can select "O"ptions for a help message describing the 
  470. file selection options, including /P.)
  471.  
  472.  
  473. ---------------------- D. BACKUPS AND OVERWRITING FILES ----------------------
  474.  
  475.      ZIP offers several features that are particulary useful for reconciling 
  476. the contents of directories which are duplicated (in whole or part) on both 
  477. computers.  By default, ZIP doesn't care what files may already exist on the 
  478. receiving end: it will transfer all files specified, whether or not they 
  479. overwrite existing ones.  Three options are provided to modify this behavior.  
  480. After the names of files to be transferred, in menu or command-line mode, 
  481. specify one (or two) of these options:
  482.  
  483.               /N  = copy NONexisting files only
  484.                        (cannot be used with /E or /T)
  485.               /E  = copy EXISTING files only
  486.               /T  = latest TIMESTAMP determines files sent
  487.  
  488.      The /N option will prevent all existing files from being overwritten.  
  489. The /T option will allow overwrites only when the new copy has a more recent 
  490. timestamp.  The /ET combination is especially useful for selective backup 
  491. purposes: it transfers only more recent copies of files that already exist.  
  492. These options can be specified only on the client or sending end.
  493.      Example: if you want to make the contents of two nearly identical 
  494. directories exactly so, do one transfer "*.* /T" each way; or use "*.* /N" 
  495. instead if you want differing versions of individual files to remain so.
  496.      (In menu mode, you can select "O"ptions for a help message describing the 
  497. file selection options, including /N,E,T.)
  498.  
  499.  
  500. ---------------------- E. BACKING UP ALL SUBDIRECTORIES ----------------------
  501.  
  502.      In many situations, you may have (or want to have) a similar directory 
  503. structure on two computers.  While you could use the above methods to produce 
  504. this result one subdirectory at a time, ZIP offers an option to do this 
  505. automatically.  In either menu or command-line mode, specify:
  506.  
  507.               /S  = process all SUBDIRECTORIES
  508.  
  509. Like the /S switch of the DOS XCOPY command, this causes the given command to 
  510. be processed on files in the specified directory, and then also in all its 
  511. subdirectories.
  512.      The source and destination directories, whether default or specified, are 
  513. put in correspondence, and ZIP will either seek or create subdirectories of 
  514. the destination directory to match those of the source.  Thus, if the two 
  515. computers have the following directory trees:
  516.         Sender:  C:\                 Receiver:  D:\
  517.                     \WORK                          \BACKUP
  518.                          \PROG                            ...
  519.                          \ACCT                     \OTHER
  520.                     \GAMES                                ...
  521. then the command "ZIP C:\*.* /S[D:\BACKUP]" will begin by transferring files 
  522. from C:\ to D:\BACKUP, then from C:\WORK to D:\BACKUP\WORK, etc.  If any 
  523. target directory does not exist, and the /A option was not used to allow its 
  524. creation, the operation will terminate with an error message.
  525.  
  526.      The /S option can be combined with any of ZIP's other file transfer 
  527. options.  It is most commonly used for backup purposes either together with 
  528. /A, when you are trying to establish a corresponding directory structure in 
  529. the first place, and want the required directories to be created; or after 
  530. that, with /T, to back up files within those directories according to their 
  531. timestamps.
  532.      Use of complete directory specifications (including drive and path) is 
  533. recommended with /S to avoid unanticipated results.
  534.  
  535.  
  536. ------------------- F. DIRECTORY, DELETE, AND LOG COMMANDS -------------------
  537.  
  538.      When ZIP is in menu mode, it offers functions for file directory and 
  539. deleting, and logging a new directory, allowing simple file maintenance (DIR, 
  540. DEL, CHDIR) without exiting ZIP.COM.
  541.      The "D"irectory function provides an alphabetized file listing for your 
  542. reference, and shows the free space left on the disk (unless this is greater 
  543. than 64 MB).  You will be prompted for the files to list.  If you just press 
  544. [Enter], ZIP lists all files (*.*) in the default directory.
  545.  
  546.      The d"E"lete function prompts for a filespec to delete; as always, a path 
  547. and/or wildcards may be included.  It accepts only a single filespec, not a 
  548. list of them.  Deletion is immediate; be careful, especially when using 
  549. wildcards.
  550.      Whether or not ZIP will list or delete DOS Hidden or System files, and 
  551. whether it will delete Read/only files, are user-configurable options.
  552.  
  553.      Although you can always type the full path information for any files you 
  554. want to look for or transfer, if you're going to be working in a different 
  555. directory for a while, it can be more convenient to change ZIP's default 
  556. directory.  In menu mode, the "L"og command will let you do this; you will be 
  557. prompted for the new drive and/or directory, or you can just press [Enter] to 
  558. check the current directory.  Initially, of course, the default is the current 
  559. DOS directory.  If the directory you specify does not exist, ZIP may attempt 
  560. to create it.  (The Log command works much like the DOS commands CHDIR and 
  561. MKDIR, except that ZIP does not actually change the current DOS directory, it 
  562. simply keeps its own record of the directory you want to be working in.)
  563.  
  564.      These functions can also be applied to the other computer if it has ZIP 
  565. running in server mode; see SERVER DIRECTORY, etc.
  566.  
  567.  
  568. ------------------------ G. WAITING FOR A CONNECTION -------------------------
  569.  
  570.      Normally, once a process is initiated (file transfer, directory request, 
  571. etc) ZIP will wait indefinitely until a connection with another copy of ZIP is 
  572. established on the selected port.  As soon as the corresponding process is 
  573. initiated on the other end, the operation will proceed.
  574.      However, in some circumstances this behavior may not be desirable: for 
  575. example, a batch file containing ZIP commands would stall if ZIP is not 
  576. running on the other end in server or receive mode.  So an option has been 
  577. provided to have ZIP give up and exit (returning a Connect Error) if a 
  578. connection is not promptly established.
  579.      In menu mode, just select "P"arameters, then press "X" and select an exit 
  580. time (0-9 min).  On the command line, specify the option:
  581.  
  582.               /Xn = eXIT if no connection after n minutes (0-9)
  583.  
  584. If "n" is not specified, it defaults to 0, meaning no waiting at all.
  585.      The /X option cannot be used with server mode, which always waits 
  586. indefinitely, or appended to transfer commands in menu mode.
  587.  
  588.  
  589. =============================== 4. SERVER MODE ===============================
  590.  
  591.  
  592.      It would obviously be easier to transfer files if you could do all the 
  593. typing from one keyboard, and "server mode" lets you do just that.  ZIP can 
  594. remain on line on one end, ready to obey instructions from the other end (the 
  595. "client") automatically.  To enter server mode: in menu mode, just select the 
  596. choice for ser"V"er.  In command line mode, specify the option:
  597.  
  598.               /V  = SERVER mode
  599.  
  600. and if you want, a new default directory for ZIP operations in brackets:
  601.  
  602.               C>zip /V[DFLTDIR]
  603.  
  604. Otherwise, the default is the current DOS directory.
  605.      ZIP will now wait to receive commands (described below) from the other 
  606. computer.  When you are finished, you can press Escape, ^C, or Ctrl-Break to 
  607. exit server mode.
  608.  
  609.      Alternatively, you can give an instruction to terminate server mode from 
  610. the other (client) keyboard.  In menu mode, select the choice for "U"nlink 
  611. before quitting.  In command-line mode, specify the option:
  612.  
  613.               /U  = UNLINK server
  614.  
  615. This option can be combined with any other ZIP function (such as a file send); 
  616. the server is not unlinked until the operation is complete.
  617.  
  618.  
  619. ----------------------- A. SENDING AND FETCHING FILES ------------------------
  620.  
  621.      When one copy of ZIP is running in server mode, it is ready to accept any 
  622. files that you transfer to it from the other (client) keyboard; these will be 
  623. received on the server end, into any directory specified by the sender, or the 
  624. server's default directory.
  625.  
  626.      You can also ask the server to send files to you.  In menu mode, just 
  627. select "F"etch, and you will be prompted for the files to fetch and a 
  628. directory to put them in.  In command-line mode, specify the option:
  629.  
  630.               /F  = FETCH specified files from server
  631.  
  632. and, if you want, a directory to put the received files in:
  633.  
  634.               C>zip FILESPEC /F[DESTDIR]
  635.  
  636. Otherwise they will be put in the current directory.
  637.  
  638.      You must specify the path with the filenames to be fetched, if they are 
  639. not to be found in the default directory on the server end.  Any of the 
  640. selection options (/N,E,T,P) or directory options (/A,S) may be used.
  641.  
  642.  
  643. --------------- B. SERVER DIRECTORY, DELETE, AND LOG COMMANDS ----------------
  644.  
  645.      If your other computer is running ZIP in server mode, you can also 
  646. request a directory from it, delete files on it, or log a new directory on it.  
  647. In menu mode, when using the "D"irectory, d"E"lete, or "L"og commands, simply 
  648. type a ">" before an argument to indicate that it applies to the server.  This 
  649. can be done either alone, or together with a request on the client end:
  650.  
  651.               Directory: \WORK\*.BAK                client alone
  652.               Delete:    >B:\BACKUP\OLD.FIL         server alone
  653.               Log:       \WORK>B:\BACKUP            combined
  654.  
  655. As a convenience, since the two computers may have a similar directory 
  656. structure, you can also type a quote mark (") to log the same default 
  657. directory for the server.
  658.  
  659.               Log: >"                ...logs same dir on the server as client
  660.               Log: C:\WORK>"         ...logs C:\WORK on the server, too
  661.               Log: C:\WORK>D:"       ...logs D:\WORK on the server
  662.  
  663.      For command-line use, you can specify one of the options:
  664.  
  665.               /D[FILESPEC]  = Directory listing on server
  666.               /K[FILESPEC]  = Kill (delete) file on server
  667.               /L[NEWDIR]    - Log new directory on server
  668.  
  669. /D alone lists all files "*.*", or it can be followed by a filespec in 
  670. brackets, like "/D[\*.BAT]".  /K requires a filespec in brackets.
  671.  
  672.      Directory and deletion requests accept only a single filespec, not a list 
  673. of them.  Deletion is immediate; use caution, especially with wildcards.
  674.  
  675.  
  676. ---------------------- C. COMPARING DIRECTORY CONTENTS -----------------------
  677.  
  678.      If your other computer is running ZIP in server mode, you can also 
  679. compare the contents of directories, showing files that appear in one but not 
  680. the other, or that exist in different versions.  (This can be used, for 
  681. example, as a preview of what files will be transferred if you use the /N or 
  682. /T option.)  Common identical files are not shown.
  683.      In menu mode, just select the choice to "C"ompare.  You will be prompted 
  684. for the files to compare.  If you just press [Enter], ZIP compares all files 
  685. "*.*" in the default directory on each end.  Type a ">" if you want to specify 
  686. a different directory on the server:
  687.  
  688.           Compare: >\BACKUP           client *.*   with server \BACKUP\*.*
  689.           Compare: *.DOC              client *.DOC with server *.DOC
  690.           Compare: *.DOC>\BACKUP      client *.DOC with server \BACKUP\*.DOC
  691.  
  692.      ZIP will produce two listings: first files on the client end that don't 
  693. match up with those on the server, and then vice versa.  If a file appears on 
  694. both ends, but in differing versions, it will be flagged with a "+" or "-" to 
  695. indicate which appears to be the later (+) or earlier (-) version, according 
  696. to the files' timestamps.
  697.  
  698.      Alternatively, from the command line, you can specify the option:
  699.  
  700.               /C  = Compare with server
  701.  
  702. All files "*.*" are compared, unless you provide a filespec.  The option can 
  703. be followed by a directory in brackets:
  704.  
  705.               C>zip FILESPEC /C[SRVRDIR]
  706.  
  707. otherwise, the default directory on the server is assumed.
  708.  
  709.  
  710. --------------------------- D. SERVER TIME COMMAND ---------------------------
  711.  
  712.      For an explanation of why you should keep your computers' clocks in 
  713. agreement, see CLOCK SYNCHRONIZATION.  When your other computer is running ZIP 
  714. in server mode, you can perform an exact synchronization with one simple 
  715. command.  In menu mode, select "T"ime.  The current system time (and date) 
  716. will be displayed, and you will be prompted in a manner much like the DOS 
  717. command TIME:
  718.  
  719.               To synchronize, enter new time or press ENTER:
  720.  
  721. You can also press Esc (as always) to quit.  Time can be entered in either 12 
  722. or 24-hour format, as desired.  ("1:47pm" is equivalent to "13:47".)
  723.  
  724.      Performing this function periodically is an easy way to ensure that your 
  725. computer clocks remain in agreement.
  726.      (Note: While this function resets both time and date, ZIP does not accept 
  727. date corrections.  If necessary, exit ZIP and use the DOS DATE command.)
  728.  
  729.  
  730. ========================== 5. FURTHER USAGE NOTES ============================
  731.  
  732.                             A. SUMMARY OF OPTIONS
  733.  
  734.      The following options may be used in either menu or command-line mode:
  735.               /E,N       Existing, Nonexisting files only
  736.               /T         more recent Timestamp only
  737.               /P         Prompt to confirm each
  738.               /S         process Subdirectories
  739.      These command-line options are replaced by menu choices in menu mode:
  740.               /R         "Receive" files
  741.               /F         "Fetch" from server
  742.               /V         "serVer" mode
  743.               /D[fspec]  "Directory" from server
  744.               /L[dir]    "Log" dir on server
  745.               /K[fspec]  "Delete" files on server
  746.               /C[dir]    "Compare" with server dir
  747.               /U         "Unlink" server
  748.               /1-4       port COM1-COM4       \
  749.               /Bnn       speed 2400-115200 Bps \ "Parameters"
  750.               /Xn        eXit time 0-9 sec     /
  751.               /A         Add new directories  /
  752.               /?         "Options"
  753.      This option is available only from the command line:
  754.               /M         Monochrome (DOS) output
  755.      This command is available only in menu mode:
  756.                          "Time" synchronization
  757.      These settings are available only from menu mode "Parameters":
  758.                          include Hidden, System files
  759.                          preserve Archive status
  760.                          overwrite Read/only files
  761.  
  762.  
  763. --------------------- B. EXAMPLES OF COMMAND-LINE SYNTAX ---------------------
  764.  
  765.     SENDING FILES:
  766.  
  767.  C>zip b:myfile *.doc              send files B:MYFILE, B:*.DOC
  768.  
  769.  C>zip *.bak /[b:\recs] /x1        send files *.BAK to directory B:\RECS (but
  770.                                  quit with error if no connection in 1 minute)
  771.  
  772.  C>zip my.* /2 /p                  send files C:MY.* over COM2, with prompts
  773.                                  to confirm each file individually
  774.  
  775.  C>zip *.* /n                      send all files which don't already exist
  776.                                  in receiver's default directory
  777.  
  778.  C>zip a:chapter.* /et             send all files A:CHAPTER.* of which an
  779.                                  older version exists on the receiving end
  780.     RECEIVING FILES:
  781.  
  782.  C>zip /r /3                       receive files over COM3
  783.  
  784.  C>zip /rp[\temp]                  receive, with default directory C:\TEMP,
  785.                                  prompting to confirm each file individually
  786.     BACKING UP DIRECTORIES:
  787.  
  788.  C>zip \work\*.* /sa[f:\work]      duplicate the entire subdirectory tree from
  789.                                  C:\WORK on down, to receiver's drive F:
  790.     ENTERING SERVER MODE:
  791.  
  792.  C>zip /v2b38                      wait as server, at 38400 bps on COM2
  793.  
  794.  C>zip /v[d:\]                     wait as server, with default directory D:\
  795.  
  796.     EXCHANGING FILES WITH SERVER:
  797.  
  798.  C>zip b:\recs\my.* /f[\orig]      fetch files MY.* from server directory
  799.                                  B:\RECS into client directory C:\ORIG
  800.  
  801.  C>zip my.fil,my.bak /u            send MY.FIL and MY.BAK to server's default
  802.                                  directory, then unlink server
  803.  
  804.     FILE MANAGEMENT WITH SERVER:
  805.  
  806.  C>zip /d[\work\*.bak]             show all server's files \WORK\*.BAK
  807.  
  808.  C>zip /k[junk]                    delete server's file JUNK
  809.  
  810.  C>zip *.txt /c[\mydir]            compare *.TXT with server's \MYDIR\*.TXT
  811.  
  812.  C>zip /la[c:\recs]                log server directory C:\RECS, creating it
  813.                                  if it doesn't alerady exist
  814.  
  815.  
  816. ------------------------- C. AUTOMATING USE OF ZIP ---------------------------
  817.  
  818.      There are several ways of performing complex repetitive tasks, like 
  819. backing up several groups of files, more easily with ZIP, by taking advantage 
  820. of its own features (indirect filename lists in "@files") or those provided by 
  821. DOS (batch files, input/output redirection).
  822.  
  823.  
  824.                               Redirected Output
  825.  
  826.      Standard DOS output redirection (">") can be used with ZIP.  Thus, for 
  827. example, "ZIP /D[*.BAK] >ZOUTPUT" can be used to capture the output of a ZIP 
  828. directory listing in a file ZOUTPUT, to be examined or processed later.  (As a 
  829. side effect, nothing would display on the screen; you can also use ">NUL" to 
  830. simply suppress output.)
  831.      Note that for output redirection to work, ZIP must be using ordinary DOS 
  832. output, not color output; this can be selected with the ZIPCFG utility, or 
  833. changed with the /M option.
  834.  
  835.                                Redirected Input
  836.  
  837.      Because ZIP accepts standard DOS input redirection ("<"), you can 
  838. automate a frequently performed series of tasks (sending groups of files to 
  839. different directories, etc) by running ZIP in menu mode with redirected input.
  840.  
  841.      Redirected input is a sort of "script" describing a complex task.  You 
  842. will need to create a text file containing exactly the keystrokes you would 
  843. use to perform a task; think about the way ZIP prompts for input, and work out 
  844. your responses carefully.  (Note, for example, that when you select an option 
  845. like "S"end you don't press [Enter] afterward, but when you provide a filename 
  846. you do.)
  847.      For example, if the file "ZINPUT" contains:     Sc:\work\*.* /t
  848.                                                      e:\work
  849.                                                      Sc:\work\ed\*.* /t
  850.                                                      d:\ed
  851.                                                      UQ
  852. then "ZIP <ZINPUT" would back up (with the "/T" option) all files in C:\WORK 
  853. to directory E:\WORK on the server end, and similarly files in C:\WORK\ED to 
  854. D:\ED, then unlink ("U") the server and quit ("Q").
  855.      Any command-line options must precede the "<" redirection character.  If 
  856. you use the /P option while running ZIP with redirected input, you will have 
  857. to type any "Y/N" responses from the keyboard yourself.  You should always end 
  858. the file with "Q" to quit, since DOS does not return to the keyboard for 
  859. further input if the end of the input file is reached while the program is 
  860. still running.
  861.  
  862.                          Indirect File Lists (@files)
  863.  
  864.      A number of file management and communications utilities can write a list 
  865. of filenames selected according to various criteria to a file, or accept the 
  866. name of such a file following an "@" sign to process all the filenames it 
  867. contains; ZIP also honors this convention.  You can also create such a file 
  868. yourself, with any text editor, inserting the names of files which you may 
  869. often want to transfer as a group.  Such an "@FILE" should contain complete 
  870. filespecs (with drive and path), separated by spaces and/or carriage returns.  
  871. ZIP can then be used to transfer those files.
  872.      For example, if file "FLIST" contains the names:   c:\work\*.bak
  873.                                                         c:\myfile
  874. then "ZIP @FLIST" will send files C:\WORK\*.BAK and C:\MYFILE.
  875.      Options can only be specified on the command line after the @file name 
  876. (not within the @file), and will affect all files transferred.
  877.  
  878.  
  879.                                  Batch Files
  880.  
  881.      Since every function can be performed from the command line, ZIP is easy 
  882. to use in batch (.BAT) files.  Batch files run a little more slowly than the 
  883. other methods above, but they can contain replaceable arguments, tests for the 
  884. existence of files or directories, prompts and jumps for the user to choose 
  885. different courses of action, and other powerful features.  See your DOS manual 
  886. for details.
  887.      Use of the /X option is recommended in batch files, so that an alternate 
  888. course of action can be taken if a connection cannot be promptly established.
  889.  
  890.      If an error occurs during operation in command-line mode, ZIP sets the 
  891. DOS error code, so that a batch file can test the ERRORLEVEL to determine 
  892. subsequent action.  Normally 0, the value returned will indicate which of the 
  893. following errors occurred:
  894.      1 = argument error                   8 = transmission error
  895.      2 = out of memory/too many files    16 = disk read/write error (full?)
  896.      4 = connect error/no server        128 = user abort
  897. It is always advisable to test for errors and abort execution of a batch file 
  898. if an operation (upon which later actions may rely) has failed.
  899.  
  900.  
  901. ============================ 6. UTILITY PROGRAMS =============================
  902.  
  903.                           A. CLONING ZIP WITH ZIPDUP
  904.  
  905.      The ZIPDUP utility makes it possible to get ZIP.COM onto another computer 
  906. in the first place, when your two computers don't share a common disk format.  
  907. ZIPDUP duplicates or "clones" ZIP onto the second computer over the serial 
  908. cable.  Because this feature will be used only occasionally, it's not part of 
  909. ZIP itself.  ZIPDUP can, in fact, transfer any file without the need for 
  910. receiving software, but it's very slow and cumbersome compared to ZIP itself.  
  911. To clone ZIP with ZIPDUP:
  912.  
  913.      1.  Connect the cable to the desired serial port on each computer.  You 
  914. must use COM1 or COM2 only; and the cable must have the DTR lines connected, 
  915. as well as the data lines -- see cabling diagram under TECHNICAL INFORMATION 
  916. below -- or ZIPDUP will not work.  (In this event, you'll need to have a 
  917. telecom program running on both computers, to transfer ZIP.COM via XMODEM or 
  918. another similar protocol.)
  919.  
  920.      2.  Set up the receiving end:  Make sure the DOS utilities DEBUG and MODE 
  921. are available (either in the current directory or in your PATH); you will have 
  922. to use MODE, and ZIPDUP uses DEBUG.
  923.      Be certain that the last character of your DOS prompt is ">".  (Yes, this 
  924. actually matters!)  If in doubt, type the command:
  925.               PROMPT $P$G
  926.      Then prepare to receive data by typing these two commands:
  927.               MODE COM#:96,N,8,1     ("#" = 1 or 2 only)
  928.               CTTY COM#
  929. (Note: on some systems, like the HP100LX, it may be necessary to add ",P" to 
  930. the end of the MODE command.)  The CTTY command gives control to the sending 
  931. computer, via the COM# port.  The receiving system will seem to "lock up", 
  932. ignoring any keyboard input.  If the ZIPDUP transfer fails, you will need to 
  933. reboot it.
  934.  
  935.      3.  Now, on the sending end, to duplicate your copy of ZIP.COM, type:
  936.               ZIPDUP ZIP.COM
  937. (Actually, you can omit the filename if it is "ZIP.COM"; otherwise, type it.)
  938.      You will be asked to specify the COM port (again, 1 or 2 only) that the 
  939. cable is connected to; if the connection can be made, the transfer will 
  940. proceed.  When ZIPDUP is finished, you will find a duplicate copy of ZIP.COM 
  941. in the current directory on the receiving computer.
  942.  
  943.  
  944. ---------------------- B. CHANGING DEFAULTS WITH ZIPCFG ----------------------
  945.  
  946.      The ZIPCFG utility allows you to customize ZIP to your own requirements.  
  947. Certain "defaults" that are assumed unless you specify otherwise (via command- 
  948. line options or menu choices) can be changed: transfer speed and port, synch 
  949. tolerance, attribute handling, directory creation, and display colors.  Type:
  950.               ZIPCFG ZIP.COM
  951. (Actually, you can omit the filename if it is "ZIP.COM"; otherwise, type it.)
  952.  
  953.      To change your defaults, select "Edit" from the ZIPCFG menu, make 
  954. changes, then select "Save"; to restore the original distribution settings, 
  955. select "Restore".  To exit without saving changes, select "Quit".
  956.  
  957.      The "Edit" procedure takes you through a sequence of settings you can 
  958. change.  For the port you may enter simply "COM1" through "COM4", or any other 
  959. specific hexadecimal address required by your hardware ("03F0", etc).  For the 
  960. speed you must choose by letter from the allowed values.  For the clock synch 
  961. tolerance, enter a value from 1 to 99 minutes, or 0 to disable synch testing.
  962.  
  963.      The next set of choices configure ZIP's treatment of DOS file attributes 
  964. and nonexistent directories.  You can determine whether or not Hidden or 
  965. System files will be included in ZIP's operations; whether a file's Archive 
  966. attribute should be preserved when it is received on the other end; whether 
  967. ZIP can overwrite or delete files that have the Read/Only attribute; and 
  968. finally, whether ZIP should create new directories when those you specify do 
  969. not already exist.
  970.  
  971.      Then there is a setting to force 40-column display width.  Normally this 
  972. is set to "No"; you will see "Width=AUTO", and ZIP adapts itself to the 
  973. current video mode (40/80 columns).
  974.  
  975.      Finally, ZIPCFG offers you a choice of color output (via the IBMPC BIOS) 
  976. or standard DOS output.  You might want to select DOS output if color output 
  977. does not display correctly on your video system, or if you will want to 
  978. redirect output from ZIP to a file or device (color output does not redirect).  
  979. Whichever you choose as your default, the /M option will change to the other.
  980.      If you select color, ZIPCFG displays a palette and offers you a choice of 
  981. text colors.  ZIP uses three different colors: a "message" color, a "hilight" 
  982. color for contrast, and an "active" color (during file transfer activity).  
  983. Each is specified by an "attribute byte" consisting of two hex digits, for a 
  984. background and foreground color.  ("17" = "1", blue background, & "7", white 
  985. text.)  The color digits are:
  986.          0 = BLACK   4 = red       8 = GREY           C = bright red
  987.          1 = blue    5 = magenta   9 = bright blue    D = bright magenta
  988.          2 = green   6 = brown     A = bright green   E = yellow
  989.          3 = cyan    7 = WHITE     B = bright cyan    F = BRIGHT WHITE
  990.      The palette will include 128 colors from 00-7F.  Use of colors 8-F as 
  991. background (80-FF) is also possible but not recommended, since on most systems 
  992. this produces blinking video.  Some colors may be invisible or indistinguish- 
  993. able on monochrome screens, though all MDA systems can display BLACK, WHITE 
  994. and BRIGHT WHITE (which are the default colors), and in some cases grey also.
  995.  
  996.      Please DO NOT distribute modified copies of ZIP.COM; this could confuse 
  997. other users.  (ZIPCFG includes an option to restore the original default 
  998. values.)
  999.  
  1000.  
  1001. ========================== 7. TECHNICAL INFORMATION ==========================
  1002.  
  1003.                             A. GENERAL INFORMATION
  1004.  
  1005.      ZIP requires about 128k of free memory to run; it will use more, if 
  1006. available, for faster operation.  Like most communications programs, ZIP does 
  1007. full CRC (Cyclic Redundancy Checksum) verification on the data to guarantee 
  1008. accurate transfer; but ZIP uses its own transfer protocol, which is not 
  1009. compatible with other programs.  Be sure to use the same version of ZIP on 
  1010. both ends: the transfer protocol may have changed.  Do not disturb the cable 
  1011. when ZIP is running, as it will be unable to resume its task; you will have to 
  1012. abort the program and try again.
  1013.  
  1014.      ZIP does not use interrupts, so it will not conflict with the IRQ usage 
  1015. of other hardware or software; but do not use ZIP while another program is 
  1016. using the same serial port.
  1017.  
  1018.      Using any communications software in a multitasking environment often 
  1019. requires special precautions.  ZIP is DESQview-aware, and will disable multi- 
  1020. tasking while transferring files.  Under other environments, ZIP may need to 
  1021. be given a "non-swappable" or "foreground-operation" status, so that other 
  1022. tasks will not interfere with its operation.  (Under Windows, you must create 
  1023. a PIF file and give ZIP both background and foreground priority.)  You may 
  1024. also need to set a slower speed for ZIP to work reliably.
  1025.  
  1026.      ZIP works well on the vast majority of systems.  If you experience 
  1027. unresolvable conflicts with other memory-resident software, such as background 
  1028. processes or disk caches, do not use ZIP when that software is in operation.
  1029.  
  1030.  
  1031. ------------------------ B. APPROPRIATE SERIAL CABLES ------------------------
  1032.  
  1033.      SERIAL NULL MODEM CABLES, in various combinations of 9- and 25-pin 
  1034. connectors, are available from a wide variety of sources, and a simple cable 
  1035. in the configuration you need (for example, DB9 to DB25 female) should cost 
  1036. under $10 at Radio Shack and other computer stores.  Double-headed null modem 
  1037. cables (both 9 and 25 pin on each end) are also made, and would be ideal for 
  1038. use with ZIP; check computer supply catalogs.
  1039.  
  1040.      If you're making or shopping for a cable, you need a "null modem" cable, 
  1041. meaning the transmit and receive data lines should be crossed, and the signal 
  1042. ground connected straight through.  (The pin numbers depend on whether you 
  1043. have a small DB9 or large DB25 connector, see figure.)  No other connections 
  1044. should be needed; ZIP uses no hardware handshaking lines.  (NOTE: ZIPDUP does 
  1045. require the DTR connections between pins 20/4 and 6.)
  1046.  
  1047.         |--COMPUTER 1--|         |--COMPUTER 2--|
  1048.          DB9  or   DB25           DB25  or   DB9
  1049.       pin 2 - - - - 3 - - - - - - - 2 - - - - 3   \ transmit &
  1050.           3 - - - - 2 - - - - - - - 3 - - - - 2   / receive data
  1051.           5 - - - - 7 - - - - - - - 7 - - - - 5   - signal ground
  1052.  
  1053.       pin 4 - - - - 20  - - - - - - 6 - - - - 6 * \
  1054.           6 - - - - 6 - - - - - - - 20  - - - 4 *  \ DTR,CTS etc (optional;
  1055.           7 - - - - 4 - - - - - - - 5 - - - - 8    / *=required for ZIPDUP)
  1056.           8 - - - - 5 - - - - - - - 4 - - - - 7   /
  1057.  
  1058. Actually, any serial cable that doesn't work by itself, should work with a 
  1059. "null modem adapter" attached.  Use of a well shielded cable is recommended; 
  1060. high speed transmissions can be especially susceptible to RF interference.
  1061.  
  1062.  
  1063. ------------------ C. USING ZIP ON THE HP95/100LX PALMTOPS -------------------
  1064.  
  1065.      The Hewlett-Packard 95/100LX palmtop computers are "nearly" IBM-compat- 
  1066. ible; ZIP will work on them, but there are some special considerations.  You 
  1067. will need the special HP serial cable, available separately or as part of the 
  1068. Connectivity Pack.
  1069.      ZIP automatically detects the 95/100LX and the current screen size, and 
  1070. sets itself for the COM1 port.  Thus you can use the same copy of ZIP.COM on 
  1071. your LX as on your PC; modification with ZIPCFG is not needed.  ZIP powers up 
  1072. the serial port in WIRE mode, and turns it off again upon exit to conserve 
  1073. batteries.
  1074.                                    HP 95LX
  1075.  
  1076.      On the 95LX, ZIP can be run in a variety of ways, including from the 
  1077. Filer (highlight and press F4, Run) or from the DOS system prompt.
  1078.  
  1079.      File transfers can fail on early versions of the 512k 95LX due to a bug 
  1080. in its serial port handling.  You can avoid this by performing a [Ctrl+Up+On] 
  1081. reset (answering "No" at the prompt!) before running ZIP, or (for some unknown 
  1082. reason) by performing a Directory request with ZIP before transferring files.
  1083.  
  1084.      ZIPDUP cannot work with the 95LX; instead, to transfer ZIP.COM to the 
  1085. 95LX, you must use the 95LX's internal software -- either the built-in COMM 
  1086. utility together with any PC telecom program supporting XMODEM or KERMIT 
  1087. protocol, or the Connectivity Pack.
  1088.  
  1089.                                    HP 100LX
  1090.  
  1091.      The 100LX system manager software interferes with ZIP's use of the serial 
  1092. port, making it difficult to transfer any but the smallest files.  You can 
  1093. avoid this problem in any of several ways:
  1094.    (1) Terminate SYSMGR and run ZIP from the DOS prompt.
  1095.    (2) Run ZIP from the Application Manager after installing it like this:
  1096.                   Name: Zip
  1097.                   Path: C:\ZIP.COM |200
  1098.                Comment: [Fn+!]
  1099. The "|200" after the path specifies a 200k memory allocation (you could get 
  1100. away with about 135k if necessary), while an upside-down exclamation point in 
  1101. the comment field (press [Fn+!]) tells SYSMGR not to interrupt ZIP.
  1102.    (3) use the ASERCTL utility available on CompuServe's HPHAND forum (and 
  1103. provided on disk with ZIP to registered users).
  1104.  
  1105.      In some cases, the /S option may work only intermittently for transfer- 
  1106. ring files in subdirectories from the 100LX to another PC, although it works 
  1107. fine from PC to 100LX.  Some users do not seem to be affected by this problem; 
  1108. its cause is unclear.
  1109.  
  1110.      ZIPDUP apparently doesn't work from another PC to the 100LX, though it 
  1111. does work from the 100LX to a PC.
  1112.  
  1113.  
  1114. ----------------------------- D. ERROR MESSAGES ------------------------------
  1115.  
  1116.      <Argument error>  invalid command-line argument(s).
  1117. <Insufficient memory>  not enough memory to load and run ZIP (<128k).
  1118.       <Connect error>  can't connect -- bad cable? wrong version? timeout?
  1119.           <No server>  function requires server mode on other computer.
  1120.      <Too many files>  global filespec (eg *.*) includes over 1024 files.
  1121. <Error reading @file>  @file nested or too large to read.
  1122.       <Bad directory>  specified directory doesn't exist and can't be created.
  1123.       <Name conflict>  filename is in use by a directory or read/only file.
  1124.        <Delete error>  specified file doesn't exist, is read/only, etc.
  1125.          <Read error>  trouble reading a file: access denied, etc.
  1126.         <Write error>  trouble writing a file: disk full, invalid path, etc.
  1127.             <Aborted>  you pressed Esc/^C/Ctrl-Break.
  1128.               <Error>  communication error, or error on other computer.
  1129.  
  1130.  
  1131. ---------------------- E. ABOUT THE PROGRAM AND AUTHOR -----------------------
  1132.  
  1133.  
  1134.      As of Fall 1993, ZIP has been well reviewed in numerous computer 
  1135. newsletters; it has been included on the HP Palmtop Paper's subscriber disk 
  1136. for HP95/100LX users, and on disk with the following computer books:
  1137.      "DOS 6.0 Power Tools" by John Goodman & John Socha (Bantam Books)
  1138.      "DOS Stuff Microsoft Forgot" by Tim Stanley (Que Books)
  1139.      "The Little Laptop Book" by Steve Cummings (Peachpit Press)
  1140.  
  1141.  
  1142.          "lightning fast and simple to learn... simply dazzling... 
  1143.          ZIP provides the fastest file transfer between PC's using 
  1144.          the tiniest amount of disk space...  a simple, lean, and 
  1145.          very effective program, not to mention the fastest of all 
  1146.          the programs we looked at for this review."
  1147.                          -- Bil. Alvernaz, Quantum PC Report, June 1992
  1148.  
  1149.  
  1150.      Eric Meyer has also written the VDE editor/word processor and a number of 
  1151. other utilities for IBM PC compatibles.  He holds an A.B. in physics and a 
  1152. Ph.D. in history and philosophy of science, and has taught at the Universities 
  1153. of Indiana, Oklahoma, and Colorado.  A longtime advocate of microcomputers, he 
  1154. has done programming in HP-41, Z80 assembler, BASIC, FORTRAN, LISP, C, and 
  1155. APL; lately he has been working mostly in 8086 assembler.  In a period of 
  1156. escalating software complexity and prices, he still believes that useful, 
  1157. inexpensive software should remain available to computer users worldwide.
  1158.  
  1159.  
  1160. ====================================[end]=====================================
  1161.