home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / UTILS / ZIP151.ZIP / ZIP.DOC < prev    next >
Text File  |  1992-01-15  |  33KB  |  626 lines

  1.  
  2.                                    ZIP.DOC
  3.                                    -------
  4.                            Instructions for ZIP.COM
  5.                       Fast Serial File Transfer Utility
  6.                           version 1.51 (14 Jan 1992)
  7.  
  8.                              (c)1988-92 E. Meyer
  9.  
  10.  
  11.         Requires:  two IBM PC compatible computers with DOS 2.x or above;
  12.                    appropriate serial (null modem) cable.
  13.  
  14.  
  15.  
  16.      Anyone with two computers probably needs to transfer programs or data 
  17. between them regularly... yet if large amounts of data are involved, 
  18. exchanging floppy disks quickly grows tedious; and if the disk drives are 
  19. incompatible, or a portable computer has none, it won't work at all.
  20.  
  21.      ZIP is a tiny, fast utility to transfer files between two IBM compatible 
  22. computers; it requires no expensive additional hardware, just an ordinary 
  23. serial cable.  It can be used from the DOS command line or a batch file, or 
  24. run from an interactive menu.  Ideal for laptop or palmtop computers, it takes 
  25. less than 10K of disk space, and occupies no memory when not in use.  There 
  26. are good commercial programs for this purpose, though they typically cost over 
  27. $100; if you're willing to find or make your own cable, you can do the same 
  28. job with ZIP instead.  ZIP doesn't have all the features of the fancy 
  29. programs, but then it doesn't consume precious system memory either; it just 
  30. transfers files when you need to, as simply as using the COPY command.  It 
  31. also has options that make reconciling directories on both computers easy.
  32.  
  33.      ZIP is as fast as a serial transfer program can be, and faster than some 
  34. free/shareware programs that claim to operate "at 115200 bps".  ZIP can 
  35. transfer data up to 6 times faster than an ordinary telecom program over a 
  36. serial cable... 48 times faster than typical modem transfers.
  37.             Telecom programs: modem       2400 bps            0.3 K/sec
  38.                             : cable      19200 bps            2.3 K/sec
  39.             ZIP: cable                  115200 bps     up to 14.1 K/sec!
  40.      On older PCs and slower portables, ZIP will come as close to this 
  41. throughput as your computers allow.  (Between an 8MHz XT and 4.77MHz laptop, 
  42. it reaches about 10K/sec.)  Of course, disk access also takes time; with any 
  43. system, large amounts of data can be sent more quickly using hard or RAM 
  44. disks, rather than (slow) floppy disk drives.  Although ZIP is designed to 
  45. operate at very high transmission speeds, it can also be used at slower speeds 
  46. in applications that demand this.
  47.  
  48.      Be sure you have all the files which should be included in this package:
  49.               ZIP.DOC      - This documentation file.
  50.               ZIP.COM      - The ZIP file transfer program.
  51.               ZIPCFG.COM   - The configuration (customizing) utility.
  52.               ZIPDUP.COM   - The duplication (cloning) utility.
  53.               ORDER.FRM    - Registration/site license order form.
  54.  
  55.  
  56. ===================== COPYRIGHT AND LICENSE INFORMATION ======================
  57.  
  58.          The ZIP program and documentation are copyright (c)1988-92 
  59.          Eric Meyer, all rights reserved worldwide.  They may not be 
  60.          circulated in any incomplete or modified form, nor sold for 
  61.          profit, without written permission of the author.  The use 
  62.          or sale of ZIP is subject to the following terms:
  63.  
  64. SITE LICENSES.  Any company or institution wishing to use ZIP in the course of 
  65.     its business must purchase a SITE LICENSE.  The cost of the license is 
  66.     quite modest, and varies according to the number of computers on which ZIP 
  67.     may be in use in the workplace:
  68.                          COPIES        COST
  69.                        Up to 20  .....  $50 (US)
  70.                              50  ..... $100
  71.                             100  ..... $150
  72.                             200  ..... $200
  73.                        Over 200  ..... $1 per copy
  74.     The purchaser of a site license receives several benefits:
  75.             * A copy of the latest version of ZIP on disk direct 
  76.          from the author.  (Specify 5.25" 360k or 3.5" 720k disk.)
  77.             * Support.  You can get help with any questions or 
  78.          problems you encounter in using ZIP.  Future upgrades can 
  79.          be ordered on disk when desired.
  80.             * No piracy worries.  Your employees may use ZIP at home 
  81.          and share it with others at no charge.
  82.  
  83. PERSONAL USE.  There is no required fee for personal use of ZIP.  However, if 
  84.     you like and continue to use ZIP, you are encouraged to register, and help 
  85.     support the development of high-quality, affordable software:
  86.                    INDIVIDUAL REGISTRATION .....  $30 (US)
  87.     The user who chooses to register receives several benefits:
  88.             * A copy of the latest version of ZIP on disk direct 
  89.          from the author.  (Specify 5.25" 360k or 3.5" 720k disk.)
  90.             * Support.  You can get help with any questions or 
  91.          problems you encounter in using ZIP.  Future upgrades can 
  92.          be ordered on disk when desired.
  93.             * A document to verify the legality of your personal use 
  94.          of ZIP at your workplace as well.
  95.  
  96. COMMERCIAL SALE.  Any software dealer or library may offer ZIP for sale, as 
  97.     long as the price charged for the disk containing ZIP does not exceed US 
  98.     $6.  With this single exception, the sale of ZIP, either alone or together 
  99.     with other software or hardware, requires a licensing agreement.  Please 
  100.     write for terms.
  101.  
  102. ORDERING AND SOURCES.  Site licenses and individual registrations may be 
  103.     ordered directly from the author (see address below), by check or money 
  104.     order in US currency; purchase orders are also accepted.
  105.          Credit card orders (VISA,MC,AmEx,Discover), including international, 
  106.     may be made through the Public Software Library: phone (800)242-4775 or 
  107.     (713)524-6394, FAX (713)524-6398, CompuServe [71355,470].  Mention item 
  108.     #10304.  (There is a $5 surcharge for this service.)
  109.          ZIP is distributed widely through "shareware" channels.  Users with a 
  110.     modem can download the latest version as the archive file ZIPxxx.ZIP, 
  111.     available from the primary distribution point: on CompuServe, in download 
  112.     library 4 (DL4) of the IBMCOM forum.
  113.              In addition, ZIP is available on a wide variety of other remote 
  114.     systems, and by mail from many good software libraries, including the 
  115.     Public Software Library, P.O. Box 35705, Houston TX 77235.  (Disk #1674)
  116.  
  117.  
  118.                   Address all correspondence to the author:
  119.  
  120.             Eric Meyer
  121.          3541 Smuggler Way            CompuServe: [74415,1305]
  122.     Boulder, Colorado  80303  USA       Internet: 74415.1305@compuserve.com
  123.  
  124.  
  125.               THE CUSTOMARY DISCLAIMER:  You undertake to use ZIP at 
  126.          your own risk.  The author does not warrant the suitability 
  127.          of ZIP for any particular purpose, and assumes no liability 
  128.          for damages of any kind resulting from its use.
  129.  
  130.  
  131.  
  132. ===============================  I. USING ZIP  ===============================
  133.  
  134.  
  135.      You will need to have a copy of the same version of ZIP.COM on both 
  136. computers, and the correct cable connection between them.  For more on null 
  137. modem cables, see the Technical Information section below.  If incompatible 
  138. disk formats prevent you from getting ZIP.COM itself onto the second computer 
  139. to begin with, you can "clone" ZIP with the ZIPDUP utility (see below).
  140.      [Notes for HP95LX Palmtop users:  1. Use ZIPCFG to force ZIP into 40- 
  141. column mode.  2. Unfortunately, ZIPDUP may not work on the HP95LX.]
  142.  
  143.      Transferring a file between computers with ZIP is as easy as copying it 
  144. from one disk to another.  To transfer files, once the cable is properly 
  145. connected to the serial ports of the two computers, from the DOS prompt:
  146.  
  147.            1.  MENU-DRIVEN OPERATION.  Simply type "ZIP" on both 
  148.       machines; the program will offer a menu of choices including 
  149.       transferring or receiving files, viewing file directories and 
  150.       deleting files.  Just type the letter of your selection.
  151.  
  152.            2.  COMMAND-LINE OPERATION, for experienced users.  For a 
  153.       brief help message, type "ZIP /?".  (See full explanations and 
  154.       usage examples, below.)
  155.               C>zip FILENAME      to send
  156.               C>zip /R            to receive
  157.               C>zip FILENAME /F   to fetch from serer
  158.               C>zip /S            to enter server mode
  159.  
  160.      As each file is transferred you should see a line of "=" signs, one for 
  161. each 64k of file size; each will turn into a blinking asterisk, then disappear 
  162. as the transfer progresses.
  163.      ZIP can be interrupted and aborted by pressing Escape, ^C, or Ctrl-Break:
  164.           (1) during initial connection attempt
  165.                 (otherwise ZIP waits as long as necessary for connection)
  166.           (2) during file transfer (on sending end, aborts immediately;
  167.                 on receiving end, once current file is finished)
  168.           (3) at confirmation or string input prompts.
  169.  
  170.  
  171.                       SETTING THE SERIAL PORT AND SPEED
  172.  
  173.      IBM-compatible computers have anywhere from one to four serial (RS232) 
  174. ports.  By default ZIP uses the COM1 port.  The standard port addresses are:
  175.                       COM1: 03F8h         COM3:03E8h
  176.                       COM2: 02F8h         COM4:02E8h
  177. Some computers (including PS/2s) use different port addresses for COM3 and 
  178. COM4; to use a nonstandard port address, you must modify ZIP.COM with ZIPCFG.
  179.      You can select any standard COM port during operation of ZIP:  in menu 
  180. mode, just select the choice to modify "P"arameters.  In command-line mode, 
  181. specify one of the following options:
  182.  
  183.               /1-4  = use port COM1-4.
  184.  
  185.      Data transmission can take place at a wide range of speeds.  ZIP normally 
  186. works at the fastest possible speed, 115200 bps.  To accommodate certain 
  187. computers or software environments, it may be necessary to set a somewhat 
  188. slower speed.  In fact, ZIP can be slowed down all the way to 2400 bps, so 
  189. that it can even operate over a good modem connection.  Just be sure you have 
  190. the same rate set on both ends.
  191.      In menu mode, just select the choice to modify "P"arameters.  In command 
  192. line mode, specify the option:
  193.  
  194.               /Bnnnn  = use speed nnnn (BPS)
  195.  
  196. The allowed speeds "nnnn" are 115200, 57600, 38400, 19200, 9600, 4800, 2400; 
  197. each may be abbreviated to as few as two digits ("/B96").  To change the 
  198. default settings, use ZIPCFG.
  199.      You will see a note in the ZIP signon message, "Speed=____ Port=____", 
  200. giving the port address and speed currently in use.
  201.  
  202.  
  203.                                 SENDING FILES
  204.  
  205.      In menu mode, simply select "S"end, and you will be prompted for the 
  206. filename(s).  For command-line use, specify the name(s) of the file(s) to send:
  207.  
  208.               C>zip FILENAME
  209.  
  210. The "FILENAME" can be a single FILE (including directory), or a GROUP 
  211. specified by wildcards (eg, *.BAK), or an "@FILE" (see below), or a LIST of 
  212. any of these delimited by spaces and/or commas (FILE1,FILE2).  Each item 
  213. assumes or continues the same drive/directory as the previous one (unless the 
  214. new one begins with a drive or root directory).  Thus
  215.  
  216.               C:\WRK>zip b:\sf\gort, ltrs\*.892, klaatu
  217.  
  218. will send files B:\SF\GORT, B:\SF\LTRS\*.892, and B:\SF\LTRS\KLAATU.
  219.      Any desired options may follow the filename(s).  Files will appear with 
  220. the same filename, in the receiving directory.  Take care not to send two 
  221. files with the same name, as one would overwrite the other.
  222.  
  223.      ZIP can also send a group of files whose names are listed IN a file, by 
  224. prefacing that filename with an "@" sign.  A number of file management and 
  225. communications utilities can write a list of filenames selected according to 
  226. various criteria to a file, or accept the name of such a file following an "@" 
  227. sign to process all the names it contains.  You can also create such a file 
  228. yourself, with any text editor, inserting the names of files which you may 
  229. often want to transfer as a group.  Such an "@file" should consist of complete 
  230. filenames (with drive and path), separated by spaces and/or carriage returns.  
  231. ZIP can then be used to transfer those files.  For example,
  232.  
  233.      if file FLIST consists of the names     c:\work\*.bak
  234.                                              c:\myfile
  235.  
  236.      then "ZIP @FLIST" will send files C:\WORK\*.BAK and C:\MYFILE.
  237.  
  238.  
  239.                                RECEIVING FILES
  240.  
  241.      In menu mode, simply select "R"eceive, and you will be prompted for the 
  242. directory to receive into.  For command-line use, specify the option "/R" for 
  243. RECEIVE:
  244.               C>zip /R
  245.  
  246. Each file will appear with its original filename.  Files are received into the 
  247. current directory, unless you specify another.  In command-line mode, this can 
  248. be done in square brackets after the /R option:
  249.  
  250.               C>zip /r[DIRECTORY]
  251.  
  252. Do not supply a filename with the /R option.  (Note: ZIP also still accepts 
  253. the syntax of earlier versions, where the receive directory was specified from 
  254. the command line by typing "zip DIRECTORY /r", but this tends to be confusing, 
  255. and may not continue to be supported.)
  256.  
  257.  
  258.                          SELECTING FILES FROM A GROUP
  259.  
  260.      If you want to transfer only certain files in a group (such as *.BAK) 
  261. with ZIP, you can request that you be prompted to confirm each file 
  262. individually: you will be asked to hit a key (Y/N) to determine whether the 
  263. file is to be sent.  (In menu mode, you can select "O"ptions for a help 
  264. message describing the selective copy operations.)  After the names of files 
  265. to be transferred, in menu or command-line mode, specify the option:
  266.  
  267.               /P  = PROMPT to confirm files individually
  268.  
  269.      This option (which can be combined with others) can be specified on 
  270. either end -- but the option on the SENDING (or active) end governs each 
  271. transfer.  You will see a note in the ZIP signon message, "Option /P", if this 
  272. option is in effect.
  273.  
  274.  
  275.                               OVERWRITING FILES
  276.  
  277.      ZIP offers several options that are especially useful for reconciling the 
  278. contents of directories which are duplicated on both computers.
  279.      It is possible that a file already exists on the receiving end with the 
  280. same name as the one being sent.  By default, ZIP doesn't care: it will 
  281. transfer all files specified, whether or not they overwrite existing ones.  
  282. Several options are provided to modify this behavior.  (In menu mode, you can 
  283. select "O"ptions for a help message describing the selective copy operations.)  
  284. After the names of files to be transferred, in menu or command-line mode, 
  285. specify one (or two) of these options:
  286.  
  287.               /N  = copy NONexisting files only
  288.                        (cannot be used with /E or /T)
  289.               /E  = copy EXISTING files only
  290.               /T  = TIMESTAMP determines files sent
  291.  
  292.      The /N option will prevent existing files from being overwritten.  The /T 
  293. option will allow overwrites only when the new copy has a more recent time 
  294. stamp.  The /ET combination is especially useful for backup purposes: it 
  295. transfers only more recent copies of files that already exist.
  296.      These options can be specified independently on either computer -- but 
  297. the options on the SENDING (or active) end govern each transfer.  You will see 
  298. a note in the ZIP signon message, "Option /_", if an option is in effect.
  299.  
  300.  
  301.                                  SERVER MODE
  302.  
  303.      It would obviously be easier to transfer files if you could do all the 
  304. typing from one keyboard, and "server mode" lets you do just that.  ZIP can 
  305. stay "on line" on one end, ready to obey instructions from the other end 
  306. automatically.  To enter server mode: in menu mode, just select the choice for 
  307. ser"V"er.  In command line mode, specify the option /S for SERVER:
  308.  
  309.               C>zip /S
  310.  
  311.      ZIP will then remain ready to exchange files with the other copy of ZIP 
  312. by remote control.  From the other ("active") keyboard, you can then transfer 
  313. files TO the server; these will be received into the default directory, either 
  314. the current one or another that you specify in square brackets:
  315.  
  316.               C>zip /s[NEWDIR]  = Server mode, default directory NEWDIR.
  317.  
  318.      In any event, when you send files to the server, you will be prompted for 
  319. a destination directory (if desired) to override the default on the server end.  
  320. In command-line mode, you can specify this on the command line in brackets:
  321.  
  322.               C>zip sendfile /[DESTDIR]
  323.  
  324. (Specify "/[]" if you simply want to avoid the prompt and use the default, for 
  325. example, when running ZIP from a batch file.)
  326.  
  327.      You can also fetch files FROM the server.  In menu mode, just select the 
  328. choice to "F"etch files.  In command-line mode, specify the option:
  329.  
  330.               /F  = Fetch specified files from server.
  331.  
  332.      You must specify the directory with the filenames, if they are not in the 
  333. default directory on the server end.  You will be prompted for a directory to 
  334. receive the files into, unless you specify one in square brackets after the /F 
  335. option:
  336.               C>zip filename /f[DESTDIR]  = Fetch into directory DESTDIR.
  337.  
  338. (Again, specify "/f[]" to avoid the prompt and use the current directory.)  A 
  339. fetch request will not be completed until server mode is detected on the other 
  340. end.
  341.  
  342.      File directory and deletion requests can also be directed to the server 
  343. using the ">" character (see below).
  344.  
  345.      When you are finished giving remote commands to the server, you can 
  346. instruct it to exit server mode.  In menu mode, select the choice for "U"nlink 
  347. before quitting.  In command-line mode, specify the option:
  348.  
  349.               /U  = Unlink server after transfer is complete.
  350.  
  351. Otherwise, the server remains available for further instructions; you must 
  352. press Escape, ^C, or Ctrl-Break on the server end to exit.
  353.  
  354.  
  355.                     VIEWING DIRECTORIES and DELETING FILES
  356.  
  357.      When ZIP is in menu mode, you will see choices for "D"irectory and 
  358. d"E"lete, offering simple file maintenance from within ZIP.COM itself.  (These 
  359. functions are not available from the command line.)
  360.      The directory function provides an alphabetized file listing for your 
  361. reference, and the free space left on the disk.  You will be prompted for the 
  362. files to list.  If you just hit RETURN, ZIP lists all files (*.*) in the 
  363. default directory.
  364.      The delete function prompts for a filename to delete (as always, a 
  365. directory may be included).  Note that wildcards ("*,?") are NOT allowed.
  366.  
  367.      If the other computer has ZIP running in SERVER MODE, you can also 
  368. request a directory from it, or delete files on it.  Simply type a ">" before 
  369. the filespec for the server.  This can be done alone, or together with a 
  370. request on the active end:
  371.  
  372.               Directory: \WORK\*.BAK                active alone
  373.               Delete:    >B:\BACKUP\OLD.FIL         server alone
  374.               Directory: \WORK\*.BAK >B:\BACKUP     combined
  375.  
  376.      A server directory or delete request will not be completed until server 
  377. mode is detected on the other end.
  378.  
  379.  
  380.                               USE IN BATCH FILES
  381.  
  382.      ZIP is easy to use in batch files.  The "/[DIR]" option allows you to 
  383. bypass user prompts for directory names.  If an error occurs during operation 
  384. in command-line mode, ZIP sets the DOS error code, so that the ERRORLEVEL can 
  385. be tested to determine subsequent action.  Normally 0, the value returned will 
  386. be the sum of whichever of the following errors occurred:
  387.      1 = argument error                   8 = transmission error
  388.      2 = out of memory/too many files    16 = disk error
  389.      4 = connect error/no server        128 = user abort
  390.  
  391.  
  392.                             BACKING UP A HARD DISK
  393.  
  394.      At times you may need to transfer the entire contents of a sizable disk, 
  395. including several levels of directories.  ZIP is not specifically designed to 
  396. do this: it does not create directories while copying, nor does it look for 
  397. files within subdirectories.  However, it is easy enough to put the receiver 
  398. in Server mode, then run a BAT file containing a separate command for each 
  399. desired directory (once corresponding directories exist on both ends):
  400.               zip \work\*.* /t[\work]
  401.               zip \work\ed\*.* /t[\work\ed]  ...
  402.  
  403.  
  404.                       USAGE EXAMPLES (Command-line mode)
  405.  
  406.    SENDING FILES:
  407.  
  408.  C>zip b:myfile *.doc              sends files B:MYFILE, B:*.DOC
  409.  
  410.  C>zip my.* /2 /p                  sends files C:MY.* over COM2, with
  411.                                  prompts to confirm each file individually
  412.  
  413.  C>zip *.* /n                      sends all files which don't already exist
  414.                                  on receiving directory
  415.  
  416.  C>zip a:chapter.* /et             sends all files A:CHAPTER.* of which an
  417.                                  older version exists on the receiving end
  418.    RECEIVING FILES:
  419.  
  420.  C:\WORK>zip /r                    receives files into directory C:\WORK
  421.  
  422.  C:\WORK>zip /2 /r[\temp]          receives over COM2 into directory C:\TEMP
  423.  
  424.    ENTERING SERVER MODE:
  425.  
  426.  C>zip /sb38                       waits as server to send or receive files
  427.                                  at 38400 bps
  428.  
  429.  C>zip /s[d:\]                     waits as server, with default directory D:\
  430.  
  431.    EXCHANGING FILES WITH SERVER:
  432.  
  433.  C>zip *.bak /[]u                  sends files *.BAK to server's default dir,
  434.                                  then unlinks server 
  435.  
  436.  C>zip *.bak /[b:\recs]            sends files *.BAK to directory B:\RECS
  437.  
  438.  C>zip b:\recs\my.* /f             fetches files MY.* from directory B:\RECS
  439.  
  440.  C>zip b:\recs\my.* /f[\orig]      fetches files MY.* from directory B:\RECS
  441.                                  on server into directory C:\ORIG
  442.  
  443.  
  444. ---------------------- II. UTILITIES: ZIPDUP AND ZIPCFG ----------------------
  445.  
  446.  
  447.      ZIP comes with two utility programs: ZIPDUP and ZIPCFG.  If you need to 
  448. duplicate ZIP on your other computer in order to begin using it, you can do so 
  449. with the ZIPDUP utility.  If you want to configure the default values in ZIP 
  450. differently, you can use ZIPCFG.
  451.  
  452.                                  USING ZIPDUP
  453.  
  454.      In order to duplicate or "clone" ZIP itself on another computer, ZIPDUP 
  455. runs DEBUG, remotely, to receive and write the file to disk.  This is a 
  456. feature most people need only once, so it is not part of ZIP itself.  ZIPDUP 
  457. will duplicate any version of ZIP (indeed, any file, though it's slow and 
  458. cumbersome compared to ZIP itself).
  459.  
  460.      1.  Connect the cable to the desired serial ports (COM1 or COM2 only).  
  461. The cable must have the DTR lines connected, as well as the data lines -- see 
  462. cabling diagram under "Technical Information" below -- or ZIPDUP will not work.
  463.  
  464.      2.  Set up the receiving end:  Make sure the MSDOS utilities DEBUG and 
  465. MODE are available (either in the current directory or accessible via PATH).
  466.      Be certain that the last character of your DOS prompt is ">".  (Yes, this 
  467. actually matters!)  If in doubt, type the command:
  468.               PROMPT $P$G
  469.      Then prepare to receive data by typing these two commands:
  470.               MODE COM#:96,N,8,1     ("#" = 1 or 2 only)
  471.               CTTY COM#
  472. (The CTTY command gives control to the sending computer, via the COM# port.  
  473. The receiving system will seem to "lock up" -- the keyboard is ignored, etc.)
  474.  
  475.      3.  Now, on the sending end, to duplicate your copy of ZIP.COM, type:
  476.               C>ZIPDUP ZIP.COM
  477. (You can omit the filename if it is "ZIP.COM"; otherwise, type it.)
  478.      You will be asked to specify the COM port (1 or 2 only) that the cable is 
  479. connected to; if the connection can be made, the transfer will proceed.  When 
  480. ZIPDUP exits, you will find a duplicate copy of ZIP.COM in the current 
  481. directory on the receiving computer.  You can transfer other files the same 
  482. way, but it's easier to send them using ZIP itself!
  483.  
  484.                                  USING ZIPCFG
  485.  
  486.      If you don't instruct it otherwise (via command-line options or menu 
  487. choices), ZIP assumes its built-in "defaults" of 115200 bps, port COM1.  You 
  488. can, however, configure your copy of ZIP.COM to change these defaults as you 
  489. like, using ZIPCFG.COM: just type "zipcfg FILENAME" (if you omit the filename 
  490. it defaults to "ZIP.COM".)  For the port you may enter simply "COM1" through 
  491. "COM4", or any specific hexadecimal address required by your hardware ("03F0", 
  492. etc).  For the speed you must choose from the allowed values.
  493.  
  494.      There is also a setting to force 40-column display width.  Normally this 
  495. is set to "No"; you will see "Width=AUTO", and ZIP adapts itself to the 
  496. current video mode (40/80 columns).  On the HP95LX palmtop, however, it is 
  497. necessary to force 40-column operation.
  498.  
  499.      Finally, ZIPCFG offers you a choice of color output (via the IBMPC BIOS) 
  500. or standard DOS output.  You might want to select DOS output if color output 
  501. does not display correctly on your video system, or if you will want to 
  502. redirect output from ZIP to a file or device (color output does not redirect).
  503.      If you select color, ZIPCFG displays a palette and offers you a choice of 
  504. text colors.  ZIP uses three different colors: a "message" color, a "hilight" 
  505. color for contrast, and an "active" color (during file transfer activity).  
  506. Each is specified by an "attribute byte" consisting of two hex digits, for a 
  507. background and foreground color.  ("17" = "1", blue background, & "7", white 
  508. text.)  The color digits are:
  509.          0 = BLACK   4 = red       8 = GREY           C = bright red
  510.          1 = blue    5 = magenta   9 = bright blue    D = bright magenta
  511.          2 = green   6 = brown     A = bright green   E = yellow
  512.          3 = cyan    7 = WHITE     B = bright cyan    F = BRIGHT WHITE
  513.      The palette will include 128 colors from 00-7F.  Use of colors 8-F as 
  514. background (80-FF) is also possible but not recommended, since on most systems 
  515. this produces blinking video.  Some colors may be invisible or indistinguish- 
  516. able on monochrome screens, though all MDA systems can display black, white 
  517. and bright white (which are the default colors), and in some cases grey also.
  518.  
  519.      Please DO NOT distribute modified copies of ZIP.COM; this could confuse 
  520. other users.  They are for your personal use only.  (ZIPCFG includes an option 
  521. to restore the original default values.)
  522.  
  523.  
  524. -------------- III. TECHNICAL INFORMATION and TROUBLESHOOTING ---------------
  525.  
  526.  
  527.      Like many communications programs, ZIP does full CRC (Cyclic Redundancy 
  528. checksum) verification on the data to guarantee accurate transfer.  ZIP uses 
  529. its own transfer protocol, and is not compatible with other programs.  Be sure 
  530. to use the SAME version of ZIP on both ends: the transfer protocol may have 
  531. changed.  Do not disturb the cable when ZIP is running, as it will be unable 
  532. to resume its task, and you will have to abort the program and try again.
  533.  
  534.      Using any communications software in a multitasking environment often 
  535. requires special precautions.  ZIP, in particular, may need to be given a 
  536. "non-swappable" or "foreground-operation" status, so that other tasks will not 
  537. interfere with its operation.  You should allocate at least 96k of memory to 
  538. run ZIP.  You may also need to set a somewhat slower speed for ZIP to work 
  539. reliably.
  540.      Do not use ZIP while any serial ports are in use by other software.  In 
  541. particular, potential conflicts exist between COM1 and COM3, and between COM2 
  542. and COM4, because they use the same interrupt vectors.
  543.  
  544.                                    Cabling
  545.  
  546.      SERIAL NULL MODEM CABLES, in various combinations of 9- and 25-pin 
  547. connectors, are available from a wide variety of sources.  I am told that a 
  548. good source for inexpensive double-headed (both 9 and 25 pin on each end) null 
  549. modem cables, ideal for use with ZIP, is:
  550.               DALCO, 233 Pioneer Blvd, Springboro OH 45066
  551.               (800)445-5342
  552.  
  553.      If you're building or shopping for a cable, you need a "null modem" 
  554. cable, meaning the transmit and receive data lines should be crossed, and the 
  555. signal ground connected straight through.  (The pin numbers depend on whether 
  556. you have a 9-pin DB9 or 25-pin DB25 connector, see figure.)  No other 
  557. connections should be needed; ZIP uses no hardware handshaking lines.  (NOTE: 
  558. ZIPDUP does require the connections between pins 20/4 and 6.)
  559.  
  560.         |--COMPUTER 1--|         |--COMPUTER 2--|
  561.          DB9  or   DB25           DB25  or   DB9
  562.       pin 2 - - - - 3 - - - - - - - 2 - - - - 3   \ transmit &
  563.           3 - - - - 2 - - - - - - - 3 - - - - 2   / receive data
  564.           5 - - - - 7 - - - - - - - 7 - - - - 5   - signal ground
  565.  
  566.       pin 4 - - - - 20  - - - - - - 6 - - - - 6 * \
  567.           6 - - - - 6 - - - - - - - 20  - - - 4 *  \handshaking (optional)
  568.           7 - - - - 4 - - - - - - - 5 - - - - 8    /(* required for ZIPDUP)
  569.           8 - - - - 5 - - - - - - - 4 - - - - 7   /
  570.  
  571. Actually, any serial cable that doesn't work by itself, should work with a 
  572. "null modem adapter" attached.  If possible, use a properly shielded cable; 
  573. high speed transmissions can be especially susceptible to RF interference.
  574.  
  575.                               Problems using ZIP
  576.  
  577.      ZIP works well on the vast majority of systems.  Under certain software 
  578. environments, particularly multitasking operating systems and memory resident 
  579. programs (TSRs) such as disk caches, ZIP may fail to work; if you experience 
  580. problems, do not use ZIP with that software.
  581.  
  582.  
  583.                                 ERROR MESSAGES
  584.  
  585.      <Argument error>  invalid command-line argument(s).
  586. <Insufficient memory>  ZIP requires a minimum of 94k free RAM.
  587.       <No connection>  no files transferred.  (Bad cable? Wrong version?)
  588.           <No server>  function requires server mode on other computer.
  589.      <Too many files>  global filespec (eg *.*) includes over 1024 files.
  590. <Error reading @file>  @file nested or too large to read.
  591.  <Conflict with NAME>  name conflicts with a directory or read/only file.
  592.       <Cannot delete>  specified file didn't exist, was read/only, etc.
  593.          <Disk error>  trouble reading or writing to disk.  (Disk full?)
  594.             <Aborted>  you pressed Esc/^C/Ctrl-Break.
  595.               <Error>  error on other end; or, unrecoverable error.
  596.  
  597.  
  598.                                VERSION HISTORY
  599.  
  600. ZIP 1.0  (Apr88) - trial release.
  601.     1.1  (Apr88) - improved protocol; wildcard transfers; receive directory
  602.                   option; original file time/date preserved.
  603.     1.2  (May88) - improved error handling; patchable default port also
  604.                   allows use of COM3,4; small bug fixes.
  605.     1.21 (May88) - slower speed options; fixed bug in initializing ports.
  606.     1.22 (Aug88) - improved protocol; fixed bug in deleting temp file.
  607.     1.23 (Jan89) - menu-driven operation; detects disk-full errors.
  608.     1.3  (Apr89) - selective copy options /P,N,E,T; server mode, fetch;
  609.                   file directory; internal improvements.
  610.     1.4  (Sep89) - improved protocol; Delete function; directory shows
  611.                   free space; ZIPCFG utility; small improvements.
  612.     1.41 (Nov89) - DesqView aware; multiple file arguments.
  613.     1.42 (Feb90) - minor improvements; ZIPDUP utility.
  614.     1.43 (Mar90) - simplified multiple argument syntax.
  615.     1.44 (Aug90) - protocol modified for use in network environments.
  616.     1.45 (Mar91) - 4800, 2400bps added; operation at slow speeds improved.
  617.     1.5  (Aug91) - unlink function; new options /B,U,?; sets ERRORLEVEL;
  618.                   recovers from cable disruption; minor improvements.
  619.     1.51 (Jan92) - new "@FLIST" ability; color output; 40-col operation.
  620.                   (And spaces OR commas now work as filename delimiters)
  621.  
  622. (One final note -- this should be obvious but I'll say it anyway: ZIP is not 
  623. related to the new PKZIP series of file compression utilities by Phil Katz.)
  624.  
  625. ====================================[end]=====================================
  626.