home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / PCMAGUT4.ZIP / MANUALS4.TXT < prev    next >
Text File  |  1992-07-01  |  60KB  |  1,688 lines

  1. DOC 1.1 documentation file
  2. -----------------------------------------------------------------------
  3. Please note - this is a plain ASCII text file but contains multiple 
  4. documents. You may find it most convenient to view or print this file 
  5. using the DOC.EXE program supplied. 
  6. -----------------------------------------------------------------------
  7. Title1:PC Magazine Utilities
  8. Title2:Volume 4
  9. Copyright:(C)1992 Ziff-Davis Publishing
  10.  
  11. @@Introduction
  12. Introduction
  13. PC Magazine Utilities Disk Volume 4
  14. -------------------------------------------------------
  15.  
  16. Volume 4 of the PC Magazine Utilities contains 13
  17. utilities ready-to-run plus comprehensive on-disk 
  18. documentation and an install program. 
  19.  
  20. Installing the programs
  21. -----------------------
  22. If your PC has a hard disk, you can use the install 
  23. program (started by typing GO) to copy the programs 
  24. onto it. You can then change to the new directory 
  25. containing the programs and try them out. After 
  26. installing the software, you can come back to this
  27. documentation by changing to the relevant drive
  28. and directory and entering the command DOC.
  29.  
  30. If you have a floppy-only PC or you don't want to 
  31. put all of the programs straight onto your hard disk,
  32. you can run them directly from this floppy. In this
  33. case, we suggest that you make a working copy of
  34. your original disk with the DOS DISKCOPY command and
  35. keep your original somewhere safe as a back-up.
  36.  
  37. For more information about setting up and starting
  38. the programs, see the "Tech Notes" document.
  39.  
  40. Program summary
  41. ---------------
  42. This summary describes the utilities on this disk.
  43.  
  44. ANSI        Fast, convenient ANSI.SYS replacement
  45. BCOPY       Background file copier
  46. CHKFRAG     Reports on extent of disk fragmentation
  47. CONVERT     Binary, octal, decimal & hex conversion
  48. DIMMER      VGA screen blanker and brightness control
  49. LASERLST    Prints two-up pages on a LaserJet printer
  50. LITES       Simulates an RS232 breakout box
  51. MONO        Force color displays to mono on laptops
  52. MOUSECTL    Adjust mouse sensitivity
  53. SETUP2      Pop-up printer configuration program
  54. SLICE       Split a large file across multiple floppies
  55. SMOOTH      Smooth scrolling text file viewer
  56. ZCOPY       High-speed serial file transfer program
  57. @@Tech notes
  58. Tech Notes
  59. PC Magazine Utilities Disk Volume 4
  60. -------------------------------------------------------
  61.  
  62. This document provides general advice for using and
  63. setting up the PC Magazine utilities on this disk. 
  64. It is divided into these sections...
  65.  
  66.   1. Disk contents
  67.  
  68.   2. Installing the programs
  69.  
  70.          Installing the programs from DOS
  71.  
  72.          Saving hard disk space
  73.  
  74.          Working on a floppy-only PC
  75.  
  76.          Putting the programs in your DOS command PATH
  77.  
  78.          Loading programs from AUTOEXEC.BAT
  79.  
  80.          Using TSR (memory-resident) programs
  81.  
  82.   3. Viewing and printing the documentation
  83.  
  84.   4. Customizing the utilities
  85.  
  86.          Tables of scan codes  (SS)
  87.                    shift masks (MM)
  88.                    color values
  89.                    sound values
  90.  
  91. 1. Disk contents
  92. ================
  93. This disk contains the following files. These are
  94. stored in the root directory as normal and are 
  95. ready to use. Files marked * are part of the 
  96. installation and documentation programs rather
  97. than the utilities themselves. 
  98.  
  99.  ANSI     COM  ANSI program
  100.  BCOPY    COM  BCOPY program
  101.  CHKFRAG  EXE  CHKFRAG program
  102.  CONVERT  COM  CONVERT program
  103.  DIMMER   COM  DIMMER program
  104. *DOC      EXE  Documentation viewer
  105.  EPSON         Sample Epson file for SETUP2
  106. *GO       EXE  Install program
  107.  HP            Sample LaserJet file for SETUP2
  108.  LASERLST COM  LASERLST program
  109.  LITES    COM  LITES program
  110. *MANUALS4 TXT  Documentation for this disk
  111.  MONO     COM  MONO program
  112.  MOUSECTL COM  MOUSECTL program
  113. *PCLOGO   EXE  PC Magazine logo display
  114.  SETUP2   COM  SETUP2 program
  115.  SLICE    COM  SLICE program
  116.  SMOOTH   COM  SMOOTH program
  117.  ZCOPY    COM  ZCOPY program
  118.  
  119. Please note that the SLICE program automatically
  120. creates SPLICE.COM when used... the SPLICE.COM
  121. file is not included on the original disk.
  122.  
  123. 2. Installing the programs
  124. ==========================
  125. To install these programs to a hard disk, use the
  126. install program provided (started by typing GO).
  127. Around 150K of free space is required for all of
  128. the programs and documentation... this will be
  129. checked for you automatically. 
  130.  
  131. The install program initially offers to install the
  132. programs to a new directory on drive C called PCVOL4.
  133. (C:\PCVOL4). 
  134.  
  135. If you wish to use a different directory or a
  136. different hard disk, simply type in a new name. For
  137. example, enter D:\PCMAG to put the programs into a
  138. PCMAG directory on your D drive.
  139.  
  140. You can name an existing directory if you prefer in
  141. which case the install program will add the new 
  142. programs to any files already there.
  143.  
  144. Once you've entered the directory name, disk space is 
  145. checked and then the files are copied across. 
  146.  
  147. After installation is complete, you can return to the
  148. opening menu (for example, to view the documentation)
  149. or go straight to the new directory.
  150.  
  151. Installing the programs from DOS
  152. --------------------------------
  153. You can install all of the programs or just selected
  154. ones using the DOS COPY command in the normal way.
  155. For example, to add the file ZCOPY.COM to your 
  156. normal C:\UTILS directory, enter a command such as
  157.  
  158.    COPY A:\ZCOPY.COM C:\UTILS
  159.  
  160. If you do this, you might also want to copy the
  161. files DOC.EXE and MANUALS4.TXT to a suitable 
  162. directory so that you have the documentation to hand.
  163.  
  164. Saving hard disk space
  165. ----------------------
  166. If you are short of hard disk space, you can remove
  167. those utilities you are not using from your hard
  168. disk with the DOS DEL command in the normal way.
  169. You may also want to delete the documentation files
  170. (DOC.EXE and MANUALS4.TXT) as you can always print
  171. out those parts you need or use the original floppy
  172. when you need to refer to it.
  173.  
  174. Working on a floppy-only PC
  175. ---------------------------
  176. If you do not have a hard disk, we suggest that you
  177. make a working copy of this disk using the DOS
  178. DISKCOPY command. You can work directly from this 
  179. copy or use the COPY command to copy those programs 
  180. you require onto your startup disk or other working
  181. disks as necessary. For example:
  182.  
  183.   COPY B:LITES.COM A:
  184.  
  185.   ...copies LITES.COM from this disk to a disk in 
  186.   drive A
  187.  
  188.   A:MONO
  189.  
  190.   ...loads the MONO program from this disk in drive A
  191.  
  192.   B:
  193.   MONO
  194.  
  195.   ... loads the MONO program from this disk in 
  196.   drive B by first changing to drive B.
  197.  
  198. Putting the programs in your DOS command PATH
  199. ---------------------------------------------
  200. You can start the utility programs by either:
  201.  
  202.    Changing to the drive and directory they are
  203.    in and then entering the relevant command.
  204.    For example:
  205.  
  206.    C:
  207.    CD \PCVOL4
  208.    CHKFRAG
  209.  
  210. or 
  211.  
  212.    Giving the relevant drive and directory 
  213.    before the command name (DOS 3.xx and
  214.    later only). For example:
  215.  
  216.    C:\PCVOL4\CHKFRAG
  217.  
  218. However, it's easier if you make the programs
  219. available from any disk and directory by 
  220. ensuring that they are in your DOS command
  221. search path, set with the PATH command. 
  222.  
  223. You can do this by either:
  224.  
  225.    Adding the directory the utilities are 
  226.    in to your normal PATH command in AUTOEXEC.BAT.
  227.    For example, if the PATH command in your 
  228.    AUTOEXEC.BAT file reads
  229.  
  230.    C:\DOS;C:\UTILS;C:\WINDOWS
  231.  
  232.    you might change it to read
  233.  
  234.    C:\DOS;C:\UTILS;C:\WINDOWS;C:\PCVOL4
  235.  
  236.    You should be careful when making changes to
  237.    AUTOEXEC.BAT not to disturb other commands
  238.    already in it. See your DOS manual for full
  239.    instructions.
  240.  
  241. or
  242.  
  243.    Copying those programs you use often to a
  244.    directory already in your PATH command. Many
  245.    PCs already have a directory called C:\BIN or 
  246.    C:\UTILS for small utility programs like these.
  247.    For example, if you have a C:\BIN directory on 
  248.    drive C and use the ZCOPY program often, 
  249.    copy it across with a command like this:
  250.  
  251.    COPY C:\PCVOL4\ZCOPY.COM C:\BIN
  252.  
  253. Loading programs from AUTOEXEC.BAT
  254. ----------------------------------
  255. Many of these utilities are designed to be loaded or
  256. run whenever your PC is working by placing the
  257. relevant command in the AUTOEXEC.BAT startup file.
  258. Before doing this, we recommend that you test the
  259. utilities out by loading them from the command line
  260. as normal to ensure that they operate correctly
  261. with your other software.
  262.  
  263. Please bear in mind:
  264.  
  265. * The program file must be available for
  266.   AUTOEXEC.BAT to load it. If it is not
  267.   in a directory already named in a PATH
  268.   command earlier in AUTOEXEC.BAT, you 
  269.   must give the drive and directory where
  270.   it is stored (e.g. C:\PCVOL4\SETUP2) 
  271.   or copy the file to the root directory
  272.   of the hard disk.
  273.  
  274. * The order in which resident programs are
  275.   loaded can be significant. If there appears
  276.   to be a conflict, try re-ordering the lines
  277.   in AUTOEXEC.BAT.
  278.  
  279. * If your AUTOEXEC.BAT file starts a particular
  280.   program or menu system running, the command
  281.   to do so will normally be the last in the
  282.   file... add any commands to load TSR programs
  283.   before it.
  284.  
  285. * Always keep a startup floppy to hand and
  286.   a back-up copy of your AUTOEXEC.BAT file
  287.   so that if problems arise you can restore
  288.   things to normal.
  289.  
  290. Using TSR (memory-resident) programs
  291. ------------------------------------
  292. Many of these utilities are 'TSRs' or memory-resident
  293. programs. These load into memory when first started
  294. and remain there, either operating invisibly or 
  295. waiting to be called up.
  296.  
  297. TSR programs are very popular and those on this disk
  298. are carefully written and fully tested. However, the
  299. design of DOS means that there is always a chance of
  300. conflict between different TSR programs or between a
  301. TSR and your main software. 
  302.  
  303. To avoid problems, please note:
  304.  
  305. 1. You should carefully test any new TSR program
  306.    on your system before using it while doing 
  307.    your normal work.
  308.  
  309. 2. Each TSR uses up memory. If you load too many
  310.    at once, your normal software may not be 
  311.    able to run or may perform poorly.
  312.  
  313. 3. If you discover a conflict, loading the TSRs
  314.    in a different order may resolve it.
  315.  
  316. 4. You can change the 'hotkey' used to call up 
  317.    many of the TSRs on this disk to avoid a conflict
  318.    with your other programs. See the manual
  319.    for the program in question and the notes and 
  320.    tables below. 
  321.  
  322. 3. Viewing and printing the documentation
  323. -----------------------------------------
  324. The documentation for these programs is supplied in a
  325. plain ASCII text file called MANUALS4.TXT. You can
  326. view or print this file using normal DOS facilities
  327. (such as TYPE, MORE and PRINT) or third-party
  328. products such as most word processor or text editor 
  329. programs.
  330.  
  331. However, since MANUALS4.TXT contains multiple documents
  332. you will probably find it most convenient to view or
  333. print it using the DOC.EXE program supplied. 
  334.  
  335. To start DOC after installation, change to the 
  336. drive and directory where you installed the disk to
  337. (e.g. enter C: then CD \PCVOL4) and then enter DOC.
  338.  
  339. For full information on using DOC, see the document
  340. entitled DOC.
  341.  
  342. 4. Customizing the utilities
  343. ----------------------------
  344. Most of these utilities are compact assembly language
  345. .COM programs to make them small, fast and efficient.
  346. This means that many of the programs do not include
  347. built-in configuration options.
  348.  
  349. However, if you're experienced with DEBUG, you can
  350. 'patch' the programs to customize their operation.
  351. The manual for each program will describe the ways
  352. in which it can be customized but typically you 
  353. can do so to:
  354.  
  355. *  Customize the screen colors the program uses
  356.    (if the display is hard to read on your screen).
  357.  
  358. *  Change the 'hotkey' used by one of the TSR 
  359.    programs to avoid a conflict with your other
  360.    software.
  361.  
  362. *  Change defaults such as sorting order, size of
  363.    records and so on.
  364.  
  365. To customize a utility, follow this general procedure
  366. in conjunction with the manual for the program. (You 
  367. SHOULD NOT ATTEMPT this if you are not confident about
  368. using DEBUG as a mistake may stop the program from
  369. working or even crash your PC.)
  370.  
  371. 1. Always MAKE A COPY of the .COM file for the program
  372.    in question as a back-up. For example, enter 
  373.  
  374.    COPY POP-CAL.COM ORIGCAL.COM
  375.  
  376. 2. Start DEBUG with the name of the program to modify. 
  377.    You must have the DOS DEBUG program available for 
  378.    this to work. For example, enter
  379.  
  380.    DEBUG POP-CAL.COM
  381.  
  382.    DEBUG loads the file and presents a - prompt.
  383.  
  384. 3. Use the DEBUG E command to modify the areas of
  385.    the program as described in its documentation.
  386.  
  387.    For example, the hotkey for POP-CAL can be
  388.    changed by entering a new keyboard scan code at
  389.    location 174. If we wanted to use Alt-P rather
  390.    than Alt-C we can see from the scan code (SS) table 
  391.    below that we need to change this to code 19. 
  392.  
  393.    This can then be entered in DEBUG with:
  394.  
  395.    E174 19
  396.  
  397. 4. After making all the necessary changes, save the
  398.    file back onto disk with the W command. Enter
  399.  
  400.    W
  401.  
  402. 5. Now leave DEBUG. Enter
  403.  
  404.    Q
  405.  
  406. 6. Now load and test out the new program. If it no
  407.    longer works, delete it, restore your back-up
  408.    copy (e.g. COPY ORIGCAL.COM POP-CAL.COM) 
  409.    and then try again.
  410.  
  411. The tables below list the values necessary for
  412. customizing colors and hotkeys.
  413.  
  414.              Keyboard scan codes 
  415.              for alternative hotkeys
  416.              (Values for SS)
  417.              -----------------------
  418.  
  419.          Scan                    Scan
  420. Key      Code (hex)    Key       Code (hex)
  421. -------- ----------    --------- ----------    
  422. Esc       01           Z          2C
  423. 1 !       02           X          2D
  424. @ 2       03           C          2E
  425. # 3       04           V          2F
  426. $ 4       05           B          30
  427. % 5       06           N          31
  428. ^ 6       07           M          32
  429. & 7       08           < ,        33
  430. * 8       09           > .        34
  431. ( 9       0A           ? /        35
  432. ) 0       0B           R Shift    36
  433. _ -       0C           PrtSc *    37
  434. + =       0D           Alt        38
  435. Bkspace   0E           Spacebar   39
  436. Tab       0F           CapsLk     3A
  437. Q         10           F1         3B
  438. W         11           F2         3C
  439. E         12           F3         3D
  440. R         13           F4         3E
  441. T         14           F5         3F
  442. Y         15           F6         40
  443. U         16           F7         41
  444. I         17           F8         42
  445. O         18           F9         43
  446. P         19           F10        44
  447. { [       1A           NumLock    45
  448. } ]       1B           ScrlLk     46
  449. Enter     1C           7 Home     47
  450. Ctrl      1D           8 UpArr    48
  451. A         1E           9 PgUp     49
  452. S         1F           -          4A
  453. D         20           4 LArrow   4B
  454. F         21           5          4C
  455. G         22           6 RArrow   4D
  456. H         23           +          4E
  457. J         24           1 End      4F
  458. K         25           2 DnArr    50
  459. L         26           3 PgDn     51
  460. : ;       27           0 Ins      52
  461. " '       28           . Del      53
  462. `         29           SysReq     54
  463. L Shift   2A           F11        57
  464. | \       2B           F12        58
  465.  
  466.              Shift Mask codes
  467.              for alternative hotkeys
  468.              (Values for MM)
  469.              -----------------------
  470.  
  471.     Value  Alt  Ctrl  L-Shift  R-Shift
  472.     -----  ---  ----  -------  -------
  473.       0
  474.       1                           X
  475.       2                  X
  476.       3                  X        X
  477.       4           X
  478.       5           X               X
  479.       6           X      X
  480.       7           X      X        X
  481.       8     X
  482.       9     X                     X
  483.       A     X            X
  484.       B     X            X        X
  485.       C     X     X
  486.       D     X     X               X
  487.       E     X     X      X
  488.       F     X     X      X        X 
  489.  
  490. X signifies that this key must pressed. For example,
  491. to use Left Shift and Right Shift for the hotkey, 
  492. the value to use for MM would be 3.
  493.  
  494.              Color values
  495.              ------------
  496.              Black     0     
  497.              Blue      1     
  498.              Green     2     
  499.              Cyan      3     
  500.              Red       4     
  501.              Magenta   5     
  502.              Brown     6     
  503.              Lt Gray   7     
  504.              Dark Gray 8
  505.              Lt Blue   9
  506.              Lt Green  A
  507.              Lt Cyan   B
  508.              Orange    C
  509.              Violet    D
  510.              Yellow    E
  511.              White     F
  512.  
  513. A full color value is two hex digits, the first
  514. for the background color and the second for the 
  515. foreground. For example, bright white on a dark
  516. blue background is 1F. Do not choose light colors
  517. (values larger than 7) for the background as it 
  518. will produce a blinking display in most of the
  519. programs.
  520. @@PC MagNet
  521. About PC MagNet
  522. PC Magazine's On-Line Reader Service
  523. -------------------------------------------------------
  524.  
  525. PC Magazine operates PC MagNet, a 24-hour-a-day 
  526. interactive on-line service where you can download the
  527. latest versions and source code to these, and other,
  528. PC Magazine utilities. 
  529.  
  530. PC MagNet is just a part of ZiffNet, hosted on
  531. CompuServe, offering a vast range of resources,
  532. including weekly news from PC Week, product reviews
  533. index, Buyers' Market and the chance to share opinions
  534. and get help from, or give help to, other readers.
  535.  
  536. How to access PC MagNet
  537. -----------------------
  538. 1. Set your communications software and modem to 300,
  539.    1200, 2400 or 9600 bits-per-second (BPS or baud),
  540.    7 data bits, even parity, 1 stop bit and full duplex.
  541.  
  542. 2. To find the number nearest you, call 800-346-3247. 
  543.    When the modem connects, press Enter. At the Host 
  544.    Name prompt, enter PHONES. Follow the menus, note 
  545.    the number closest to you then hang up and dial
  546.    the number you've just found. 
  547.  
  548.    (In Canada, dial 800-635 6225 voice only for your 
  549.     closest number.)
  550.  
  551. 3. To obtain the latest PC Magazine utility without 
  552.    ZiffNet connect charges, at the HOST NAME prompt, 
  553.    enter CIS. At the USER ID prompt, enter 60116,1.
  554.    At the PASSWORD prompt, enter PCMAGUTIL.
  555.  
  556. 4. To join ZiffNet, at the HOST NAME prompt, enter
  557.    CIS. At the USER ID prompt, enter 177000,5000.
  558.    At the PASSWORD prompt, enter PC*MAGNET. Finally,
  559.    at the ENTER AGREEMENT NUMBER prompt, enter
  560.    Z11D9200. Now follow the instructions displayed 
  561.    for opening your own account.
  562.    
  563. 5. Existing CompuServe members may join by typing
  564.    GO PCMAG at any CIS prompt.
  565.  
  566. 6. ZiffNet membership costs $2.50 per month. PC MagNet
  567.    per hour costs $6.30 for 300bps, $12.80 for 1200 
  568.    or 2400bps or $22.80 for 9600bps based on 1-minute 
  569.    increments.
  570. @@ANSI
  571. ANSI                                 Michael J. Mefford
  572. Fast, convenient replacement for ANSI.SYS   version 1.3
  573. -------------------------------------------------------
  574.  
  575. Purpose
  576. -------
  577. A memory-resident utility that enables selectable use
  578. of the extended screen and keyboard control sequences
  579. that normally require loading the ANSI.SYS device
  580. driver.
  581.  
  582. Unlike ANSI.SYS, ANSI.COM supports all video modes,
  583. permits sizing and clearing the key-assignment buffer,
  584. and provides high-speed screen updating.
  585.  
  586. Format
  587. ------
  588.  
  589.     ANSI [FAST | SLOW][ON | OFF][/B nnn][/C][/U]
  590.  
  591.     Loads ANSI resident program. 
  592.  
  593. Remarks
  594. -------
  595. ANSI.COM may be installed either at the DOS prompt or
  596. through an AUTOEXEC.BAT file. It will not load itself
  597. if ANSI.SYS has already been loaded as part of a
  598. CONFIG.SYS file. ANSI.COM will not load multiple copies
  599. of itself, so its command name may be invoked
  600. repeatedly in the same session to change
  601. user-selectable parameters.
  602.  
  603. Upon loading, ANSI defaults to the FAST and ON status
  604. parameters. For use with IBM CGA video cards (where
  605. direct screen writes produce "snow") or with some
  606. screen capture software, the SLOW (screen writing via
  607. the BIOS, as with ANSI.SYS) status option may be
  608. selected. Entering ANSI OFF disables recognition of the
  609. ANSI control codes.
  610.  
  611. The ANSI.COM key assignment buffer defaults to a size
  612. of 200 bytes. The buffer may be increased to as much as
  613. 60K or decreased to 0 bytes by entering ANSI with the
  614. /B switch and the desired number of bytes as nnn.
  615. Resizing the buffer after initial installation requires
  616. deinstallation, which may be accomplished using the /U
  617. switch. Current key assignments are lost if the buffer
  618. is resized. The buffer can be cleared without resizing
  619. by invoking ANSI with the /C switch.
  620.  
  621. The full set of IBM-ANSI control sequences is printed
  622. in the DOS Technical Reference manual.
  623. @@BCOPY
  624. BCOPY                                    Douglas Boling
  625. Background file copy
  626. -------------------------------------------------------
  627.  
  628. Purpose
  629. -------
  630. A memory-resident utility that copies files in the
  631. background so the user does not have to wait until the
  632. copying is completed before continuing their work.
  633.  
  634. Format
  635. ------
  636.  
  637.     BCOPY [source  [target]] [/X][/U]
  638.  
  639. Remarks
  640. -------
  641. The source and target parameters have the same usage in
  642. BCOPY as in the DOS COPY command, except that if the
  643. source is a directory, BCOPY will not automatically
  644. assume an implicit \*.*. DOS wildcard characters (* and
  645. ?) are supported, however, and a source filename need
  646. not be repeated as part of the target filespec unless
  647. the name is to be changed. If initially run with the /X
  648. command line switch, BCOPY will use one page of
  649. Expanded memory for its data buffer, thus saving 4 KB
  650. of conventional RAM. Run with the /U switch, BCOPY will
  651. uninstall itself from memory, if possible. BCOPY will
  652. always complete all copying tasks in its queue before
  653. deinstallation.
  654.  
  655. BCOPY does not support the DOS COPY /A and /B switches:
  656. it makes straight binary file copies and does not stop
  657. at a Ctrl-Z end-of-file marker. Nor does BCOPY allow
  658. using the plus (+) sign to combine multiple source
  659. files into a single copy.
  660.  
  661. Notes
  662. -----
  663. Unlike the DOS COPY command, BCOPY does not return a
  664. Target Disk Full error message, so care must be
  665. exercised to ensure that adequate storage space is
  666. available. Since the principal use of BCOPY is to load
  667. files to a RAM disk during the execution of an AUTOEXEC
  668. or other batch file, however, this should not present a
  669. problem in normal use.
  670. @@CHKFRAG
  671. CHKFRAG                 Bob Flanders and Michael Holmes
  672. Reports on disk fragmentation               version 1.7
  673. -------------------------------------------------------
  674.  
  675. Purpose
  676. -------
  677. To report, on-screen, the extent of file fragmentation
  678. on a hard disk, and provide an ERRORLEVEL value usable
  679. within a batch file to call a defragmenting program.
  680.  
  681. Format
  682. ------
  683.  
  684.     CHKFRAG [d:] [/% | /N | /E | /F] [/L] [/4]
  685.  
  686. Remarks
  687. -------
  688. Executed without any of its optional parameters,
  689. CHKFRAG produces a screen report indicating the number
  690. of files and directories, how many and what percentage
  691. of these are fragmented, and how many extra (non-
  692. contiguously stored) parts of files are contained on
  693. the currently-logged drive.  An ERRORLEVEL code from
  694. 0-100, reflecting the percentage of fragmented files,
  695. (the /% parameter is the default) is also shown.
  696.  
  697. An alternative drive (d:) to be analyzed may be
  698. specified, as may be ERRORLEVEL return codes that
  699. reflect the actual number of fragmented files (the /N
  700. parameter), the number of contiguous free areas on the
  701. disk or of extra sections (the /E parameter).  The
  702. ERRORLEVEL return codes are not intended for strict
  703. accuracy:  if any file is fragmented the minimum
  704. ERRORLEVEL returned by the /% parameter is 1%, and 254
  705. is the maximum ERRORLEVEL returned by the /N and /E
  706. switch options.  These return codes are intended to be
  707. used to trigger automatic loading and execution of the
  708. user's defragmenting utility from within a batch
  709. file.  An ERRORLEVEL return code of 255 is used to
  710. indicate an error condition, which halts operation.
  711.  
  712. If desired, a list of the names of fragmented files
  713. and directories can be produced by specifying the
  714. optional /L parameter.  The normal screen output from
  715. CHKFRAG may be redirected to a file or to a printer,
  716. for easier analysis.
  717.  
  718. If you are using DOS 3.31 (or any version of DOS before
  719. 4.x that used 32 bit sector numbers for large hard
  720. disks), the /4 parameter will cause CHKFRAG to use a
  721. the DOS 4.x interface for large drives.
  722.  
  723. The DOS CHKDSK command, specified with its /F switch,
  724. should be executed before running CHKFRAG; lost
  725. clusters or cross-linked files are interpreted by
  726. CHKFRAG as a error condition.  Drives created with the
  727. DOS ASSIGN or SUBST commands, and directories created
  728. by JOIN, are not checked by CHKFRAG.  While analyzing
  729. large disks, the utility requires approximately 100KB
  730. of available RAM.  On-screen recommendations are to
  731. consider using a defragmenting utility when file
  732. fragmentation is in the range from 11% to 75%, and
  733. definitely to defragment disks that show more than 75%
  734. fragmentation.
  735.  
  736. Notes
  737. -----
  738. If CHKFRAG is used within a batch job, the "/%"
  739. parameter must be specified as "/%%".  This is
  740. necessary because the DOS batch interpreter uses the
  741. percent (%) character to indicate where replaceable
  742. parameters are to be inserted in the command line.
  743. @@CONVERT
  744. CONVERT                              Michael J. Mefford
  745. Convert between hex, decimal, octal and binary
  746. -------------------------------------------------------
  747.  
  748. Purpose
  749. -------
  750. Simultaneously displays an ASCII code or whole number
  751. between 0 and 65,535 in its hexadecimal, decimal,
  752. octal, and binary equivalents; especially useful in
  753. translating printer, modem, or display escape
  754. sequences and set-up strings from one number base to
  755. another.
  756.  
  757. Format
  758. ------
  759.  
  760.     CONVERT number[-number][base] | "character(s)"
  761.  
  762. Remarks
  763. -------
  764. Either a single number or a number-number range may be
  765. input to CONVERT for multiple number base display.
  766. Decimal input is assumed, unless otherwise indicated by
  767. adding b (binary), o (octal), or h (hexadecimal) to the
  768. number(s). An ASCII code to be converted must be placed
  769. within double quotes. Control codes (for example,
  770. Ctrl-A) may be entered normally at the keyboard (within
  771. double quotes), with the exception of the escape
  772. character. To display the equivalents (including the
  773. ASCII left-arrow graphic) of the escape character,
  774. enter CONVERT 27.
  775.  
  776. When large numbers are converted, the 2-byte sequence
  777. displayed within quotes in the right-hand column as the
  778. ASCII "equivalent" should not be used in translating
  779. set-up strings. It represents the individual byte
  780. values, not the value of the combination. Note, too,
  781. that in this display, decimal 0 (null), 32 (space), and
  782. 255 (blank) all appear as blanks. The output from
  783. CONVERT may be redirected to a printer or to file, so a
  784. multi-line table of values can be created. When
  785. redirection is used, however, the ASCII equivalent
  786. normally shown in the right-hand column is dropped.
  787. @@DIMMER
  788. DIMMER                  Douglas Boling and Jeff Prosise
  789. Software VGA brightness control
  790. -------------------------------------------------------
  791.  
  792. Purpose
  793. -------
  794. To provide software control of VGA monitor brightness
  795. interactively from the keyboard, through parameters
  796. entered on the command line, or at a specified
  797. interval after the last keystroke.
  798.  
  799. Format
  800. ------
  801.  
  802.     DIMMER [[+|-]adj] [/D time [+|-]adj] [/V[+|-]] [/U]
  803.  
  804. Remarks
  805. -------
  806. Entered without any of its optional parameters, DIMMER
  807. uses the Alt-Up-Arrow and Alt-Down-Arrow keys to
  808. increase or decrease screen brightness. The original
  809. intensity level can be restored at any time by
  810. pressing Alt-Home. DIMMER is a memory-resident program
  811. and can be uninstalled by being run with the /U switch.
  812.  
  813. The adj parameter accepts integer values from +63 to
  814. -63. Although relative to the intensity level in
  815. effect when the program loads, a value of -63 will
  816. completely blank the screen and +63 will wash out
  817. almost all colors. The time parameter sets the number
  818. of minutes (up to 65,534) to allow after the last
  819. keystroke. Used in conjunction with the optional /D
  820. switch and an adj value (usually -63), the time
  821. parameter is normally used when it is desired to blank
  822. the screen after a specified period of keyboard
  823. inactivity. Any subsequent keypress will restore the
  824. screen to its original level, but as this keystroke
  825. will be fed to the application, it is safest to hit an
  826. unaccompanied Ctrl, Alt, or Shift key. Once active,
  827. the screen-saver option can be cancelled by entering
  828. DIMMER /D 0.
  829.  
  830. With applications that do not write directly to the
  831. video BIOS, a blanked screen can be automatically
  832. restored when the program attempts to update the
  833. display. This is accomplished by using the optional
  834. /V (or V+) switch. By default, DIMMER restores the
  835. intensity level only when a keystroke is entered,
  836. which is equivalent to running the program with a /V-
  837. command-line switch.
  838. @@DOC
  839. DOC
  840. Documentation viewer and printer            version 1.1
  841. -------------------------------------------------------
  842.  
  843. Purpose
  844. -------
  845. DOC is a simple on-disk documentation viewer to present 
  846. the manuals for the programs on this disk. It displays
  847. a list of available documents down the left side of the
  848. screen and shows the text of the currently selected 
  849. document on the right. DOC has a simple printing ability 
  850. which will produce a neat printout of a document so 
  851. that you can have a manual to hand while working
  852. with a program.
  853.  
  854. Running DOC
  855. -----------
  856. To start DOC, enter the command DOC. If you're looking
  857. for a particular manual, you may also give it at the
  858. command line. For example:
  859.  
  860.     DOC CDX 
  861.  
  862. starts DOC and asks it to look for the manual for the 
  863. CDX program.
  864.  
  865. To select documents, use the up and down arrow keys to
  866. move through the list on the left. Typing the initial
  867. letter of a document name will jump directly to the
  868. next matching document. Once you've found the document
  869. you want, press TAB or the right arrow key to move
  870. to the text of the document on the right. The cursor
  871. keys (Home, End, Up, Down, PgUp, PgDn) will now move
  872. through the text. Press the left arrow or TAB key 
  873. again to go back to select other documents.
  874.  
  875. The DOC menu
  876. ------------
  877. To call up DOC's menu, press the ESC key. DOC 
  878. presents various options which you can select with
  879. the cursor and Return keys or by pressing one of
  880. the highlighted letters. The options will vary 
  881. depending on your PC's configuration and the 
  882. document files available.
  883.  
  884. Pressing ESC a second time cancels the menu.
  885.  
  886. Quitting DOC
  887. ------------
  888. Choose the Quit option from the menu to leave
  889. the DOC program and return to DOS.
  890.  
  891. Color Display Off
  892. -----------------
  893. Choose Color display off from the menu to ask
  894. DOC to work in black-and-white. You may wish to
  895. do this if you're using a laptop with an LCD screen
  896. that doesn't show colors well or with some greyscale
  897. or CGA composite video monitors. 
  898.  
  899. If you need to do this, you might also enter the
  900. DOS command MODE BW80 before running DOC. This makes
  901. DOC and many other programs start up in black-and-
  902. white. Adding /M to the DOC command at the DOS prompt
  903. also forces monochrome operation.
  904.  
  905. This menu option does not appear on PCs that do not
  906. have a color capability.
  907.  
  908. Extended screen on
  909. ------------------
  910. Choosing this menu option switches the display to
  911. 43 or 50 lines so that you can see more text without
  912. scrolling. You can go back to the normal display by
  913. choosing Extended screen off subsequently.
  914.  
  915. If you have a Super VGA display card and a program
  916. to set extended text modes, such as 60 lines deep,
  917. you might like to try setting an appropriate mode 
  918. before starting DOC. DOC will usually operate with 
  919. the non-standard format.
  920.  
  921. This menu option is only available on EGA or VGA
  922. equipped PCs.
  923.  
  924. Fast screen on
  925. --------------
  926. This menu option only appears on PCs fitted with
  927. CGA standard or equivalent displays. Normally the
  928. DOC program deliberately slows down on this type
  929. of display to prevent the screen flicker or 'snow'
  930. that genuine IBM CGA displays (and some compatible
  931. makes) can suffer from. If your system does not
  932. suffer from snow, choose 'Fast screen on' for a 
  933. faster screen display. There's no harm in trying
  934. this option either way on your PC... snow does
  935. no harm and you might prefer to have a fast display
  936. that flickers to a slow one that doesn't.
  937.  
  938. Print Document
  939. --------------
  940. Choose this menu option to print the currently selected
  941. document. A menu appears from where you can make four 
  942. print settings, choose Go to start printing or Cancel 
  943. to return to viewing documents. You may need to alter 
  944. the settings to suit your system before choosing Go 
  945. as follows: 
  946.  
  947. 1. Output port
  948.  
  949.    This is the printer interface that DOC should print 
  950.    the document to. By pressing O you can step through 
  951.    the ports fitted to your computer. The default LPT1, 
  952.    the first parallel printer port, is correct for 
  953.    most PCs. DOC can work with a serial printer (COM1 
  954.    or COM2) if you have one but you must make sure that 
  955.    the port is correctly set up (e.g. with a command
  956.    such as MODE COM1:9600,n,8,1,p) BEFORE running DOC. 
  957.    X-On/X-Off handshaking is automatically provided 
  958.    for serial printers.
  959.  
  960.    You can set the output port to "FILE". In this case, 
  961.    DOC will ask for the name of a disk file when you 
  962.    start printing and will then print to disk rather 
  963.    than to a printer. If the file you name already 
  964.    exists, DOC will append pages to it.
  965.  
  966.    Note that DOC will not print on PostScript printers.
  967.    If you have one of these, you might like to use the 
  968.    print to FILE option and then use a PostScript 
  969.    conversion program or word processor to print the
  970.    resulting file.
  971.  
  972. 2. Lines per page
  973.  
  974.    This is the number of printable lines on each page 
  975.    on your printer. DOC will print with this set 
  976.    incorrectly but will not be able to put page breaks 
  977.    and headers in the right place. The default is 66 
  978.    lines for standard fan-fold paper. Other common
  979.    values are 60, 62, 64 and 70.
  980.  
  981.    If you have difficulty with this setting, a 
  982.    workaround is to set the form-length correctly on 
  983.    your printer, enter a small number of lines per 
  984.    page (e.g. 60) and then select the "Use form-feeds" 
  985.    option.
  986.  
  987. 3. Use form-feeds
  988.  
  989.    Set this option to Yes if you're using a LaserJet-
  990.    style printer or any printer with the form-length 
  991.    set correctly. DOC will work with this option set 
  992.    to No by counting output lines but this is slower.
  993.  
  994. 4. Pause between pages
  995.  
  996.    Set this option to Yes if you're feeding single-
  997.    sheets to the printer... DOC will pause for you 
  998.    to get the next sheet ready between each page. 
  999.  
  1000. Working with document files
  1001. ---------------------------
  1002. Document files should be kept in the same directory as 
  1003. the  DOC.EXE program. Under DOS 3.0 or later, DOC will 
  1004. find the files when it starts no matter which drive or
  1005. directory is current (with older versions of DOS, you 
  1006. should change to the relevant drive and directory before 
  1007. starting DOC).
  1008.  
  1009. Multiple document files
  1010. -----------------------
  1011. You can, if you like, place more than one document file 
  1012. in the DOC.EXE directory. DOC will display a menu of 
  1013. available files when first started and offer a 'Select 
  1014. document file' option on its menu to let you switch
  1015. between documents.
  1016.  
  1017. You can start DOC with a particular document file from
  1018. the command line by entering its name. For example:
  1019.  
  1020.     DOC MANUALS4
  1021.  
  1022. You can also search for a particular program.
  1023. If you enter a command such as:
  1024.  
  1025.     DOC ZCOPY
  1026.  
  1027. DOC will search each document file in turn looking for
  1028. a ZCOPY document. If you know which document file 
  1029. the document you want is in, you can reduce the search
  1030. time by telling DOC on the command line. For example:
  1031.  
  1032.     DOC MANUALS4 ZCOPY
  1033. @@LASERLST
  1034. LASERLST                Michael Holmes and Bob Flanders
  1035. Two-up printer on HP LaserJet printers
  1036. -------------------------------------------------------
  1037.  
  1038. Purpose
  1039. -------
  1040. Formats text files so that two standard-sized pages
  1041. will print side-by-side on a single landscape mode
  1042. page when using an HP LaserJet (or compatible) laser
  1043. printer.
  1044.  
  1045. Format
  1046. ------
  1047.  
  1048.     LASERLST infile [outfile] [/Tn]
  1049.  
  1050. Remarks
  1051. -------
  1052. The infile parameter designates the text file(s) to be
  1053. printed. DOS "wildcards" (* and ?) can be used to
  1054. designate multiple files, and a drive and path may
  1055. also be included as part of infile.
  1056.  
  1057. By default, LASERLST sends its output to the standard
  1058. DOS printing device, which is normally LPT1:. The
  1059. optional outfile parameter can be used to direct the
  1060. output either to another DOS device (e.g., LPT2:), or
  1061. to a disk file instead. The optional /Tn switch
  1062. causes each tab character (ASCII 9) in the infile to
  1063. be replaced in the outfile with n spaces. The default
  1064. value of n is 8; other values up to 16 may be used.
  1065.  
  1066. The outfile produced by LASERLST contains the
  1067. requisite formatting and printing Escape sequences
  1068. used by the HP LaserJet series printers. The infile
  1069. is printed in landscape mode with two 66-line x
  1070. 81-character pages on each physical page. Files
  1071. suitable for processing by LASERLST should be ASCII
  1072. files that do not contain Escape sequences of their
  1073. own and that do not require any specific word
  1074. processor's formatting codes. Underlining produced by
  1075. a backspace and character overstrike is supported,
  1076. however. LASERLST may be used with files whose line
  1077. lengths exceed 81 characters if it is understood that
  1078. lines will be wrapped automatically at their 82nd
  1079. character and that no provision is made for word
  1080. wrap. LASERLST is especially suitable for printing
  1081. program listings, readme files, and rough drafts of
  1082. text to be edited.
  1083.  
  1084. Updated
  1085. -------
  1086. 8/24/90  To fix problem with IID, IIP and other
  1087.          series II near compatibles
  1088. @@LITES
  1089. LITES                                      Jeff Prosise
  1090. Display RS232 status
  1091. -------------------------------------------------------
  1092.  
  1093. Purpose
  1094. -------
  1095. Replaces an RS232 breakout box by displaying the
  1096. status of the DTR, DSR, RTS, CTS, DCD, and RI pins;
  1097. also indicates the data rate, parity, number of
  1098. data bits, and number of stop bits of the serial
  1099. port being monitored.
  1100.  
  1101. Format
  1102. ------
  1103.  
  1104.     LITES [comport] [U]
  1105.  
  1106. Remarks
  1107. -------
  1108. LITES is a memory-resident utility and may be
  1109. loaded either at the DOS prompt or as part of an
  1110. AUTOEXEC.BAT file. If no communications port is
  1111. specified, the default comport monitored is COM1. 
  1112. After loading, alternately pressing Alt-L (the
  1113. default hotkey) pops up and cancels the on-screen
  1114. display, which is located (by default) in the upper
  1115. right corner of the screen. LITES can be
  1116. deinstalled by entering it with the optional u (or
  1117. U) parameter, which  simplifies changing the
  1118. comport to be monitored. (Do not precede the U
  1119. with a slash.)
  1120. @@MONO
  1121. MONO                                 Michael J. Mefford
  1122. Force screen display to mono on laptop screens
  1123. -------------------------------------------------------
  1124.  
  1125. Purpose
  1126. -------
  1127. Makes the display of color applications legible on
  1128. laptop computers and other monochrome screens that
  1129. have limited intensity range capabilities, by
  1130. translating the color attributes into black-and-
  1131. white.
  1132.  
  1133. Format
  1134. ------
  1135.  
  1136.     MONO [U]
  1137.  
  1138. Remarks
  1139. -------
  1140. MONO is a memory-resident utility that is normally
  1141. loaded as part of an AUTOEXEC.BAT file.  If no other
  1142. TSR programs are installed after it, MONO can be
  1143. deinstalled by reentering the command with the U
  1144. parameter added.
  1145.  
  1146. Once installed, MONO automatically converts color
  1147. attributes into black-and-white, updating the screen
  1148. approximately five times each second.  Since a typical
  1149. 80 by 25 display contains 2,000 attribute bytes, some
  1150. loss in speed must be anticipated, though the amount
  1151. of degradation will vary with the type and clock speed
  1152. of the system microprocessor.  For applications that
  1153. do not require MONO, its active state can be toggled
  1154. off and on with alternate presses of Alt-M, the
  1155. default hotkey.
  1156.  
  1157. The default hotkey values, screen update speed and
  1158. display algorithm, and CGA snow-eliminating routine
  1159. can all be changed with DEBUG.COM.  The addresses,
  1160. bytes allocated, and default values are shown below:
  1161.  
  1162. Function                      Address Bytes  Default
  1163. ------------------------      ------- -----  -------
  1164. Hotkey ID String              0299h     5    "Alt M"
  1165. Hotkey Scan Code (SS)         0194h     1      32h
  1166. MONO Update Frequency         016Ah     1      40h
  1167. MONO Screen Display Alg.      0211h     2     07 70h
  1168. CGA Snow check (off)          0213h     2     90 90h
  1169. Hotkey Shift Mask             018Eh     1       8
  1170.  
  1171. The Hotkey Scan Code (SS) and Shift Mask (MM) values
  1172. you can substitute for the defaults are listed in the
  1173. Tech Notes document on this disk.  Decreasing the 
  1174. Update Frequency value (default 40h) lowers the load 
  1175. MONO puts on your system, and increasing its value 
  1176. speeds up screen updating.  If the default screen
  1177. display algorithm produces inverse video on your 
  1178. machine, change the 07 70 to 70 07 at address 0211h to
  1179. reverse the algorithm.  Changing the two bytes at 0213h
  1180. to EB 14 will add snow checking, but will slow down your
  1181. machine considerably.
  1182.  
  1183. Note
  1184. ----
  1185. MONO is not intended to work with graphics programs.
  1186. @@MOUSECTL
  1187. MOUSECTL                             Michael J. Mefford
  1188. Adjusts mouse sensitivity
  1189. -------------------------------------------------------
  1190.  
  1191. Purpose
  1192. -------
  1193. Provides multiple sensitivity settings for achieving
  1194. more precise and smooth control of IBM and MicroSoft
  1195. mice.
  1196.  
  1197. Format
  1198. ------
  1199.  
  1200.     MOUSECTL [n ... n | filename | /U]
  1201.  
  1202. Remarks
  1203. -------
  1204. MOUSECTL is a memory-resident utility that can be
  1205. loaded either at the DOS prompt or as part of an
  1206. AUTOEXEC.BAT file. It can be used only with IBM or
  1207. Microsoft mouse drivers and must be loaded after
  1208. either MOUSE.SYS or MOUSE.COM. MOUSECTL can be
  1209. deinstalled by entering the command with the /U
  1210. switch.
  1211.  
  1212. The optional n parameters consist of up to eight
  1213. "multiplier" values between 0 and 32767, which are
  1214. used to modify the mouse sensitivity. The default
  1215. values are 5,6,10,15,22,30,50,70. Other values for n
  1216. may be entered using either a space or a comma
  1217. delimiter. The n values are entered into a look-up
  1218. table from left to right; if less than 8 numbers are
  1219. entered those already in the table remain in force.
  1220.  
  1221. The range values represent the number of mickeys
  1222. (1/200th-inch increments) the mouse actually moves
  1223. during its 25-millisecond reporting period. The
  1224. multiplier values (n) are divided by 10 and then
  1225. multiplied by the range value to determine the
  1226. adjusted number of mickeys reported to the application
  1227. program. For example, an actual motion of 5 mickeys,
  1228. multiplied by 0.6 results in 3 mickeys being reported,
  1229. slowing the mouse movement to obtain more precise
  1230. control for drawing. A movement of 30 mickeys in one
  1231. 25-ms period will be multiplied by 5.0, so that 150
  1232. mickeys will be reported, moving the cursor very
  1233. rapidly for page scanning.
  1234.  
  1235. Note
  1236. ----
  1237. Because Microsoft Windows loads its own mouse driver,
  1238. MOUSECTL cannot be used with Windows utilities or with
  1239. programs (such as Pagemaker) that must, rather than
  1240. may, be run under Windows.
  1241. @@SETUP2
  1242. SETUP2                                     Jeff Prosise
  1243. Pop-up printer configuration program
  1244. -------------------------------------------------------
  1245.  
  1246. Purpose
  1247. -------
  1248. Sends menu-selected or typed control codes to a
  1249. printer from within an application or from the DOS
  1250. prompt.
  1251.  
  1252. Format
  1253. ------
  1254.  
  1255.     SETUP2 [d:][path][filename] | [/C codes] | [/U]
  1256.  
  1257. Remarks
  1258. -------
  1259. Entered without the /C option, SETUP2 becomes a RAM-
  1260. resident utility with a pop-up menu of user-configured
  1261. printer control sequences specified in filename.  The 
  1262. default hotkey is Ctrl-Right Shift. Esc closes the menu
  1263. window and returns to any already running application. 
  1264. Entering SETUP2 with the /U option uninstalls the 
  1265. utility if no subsequent TSR program has been loaded.
  1266.  
  1267. Any ASCII text editor or word processor can be used to
  1268. create filename, which contains the desired printer
  1269. commands.  This file may be up to 64KB in overall
  1270. size, and may contain any number of lines, each each
  1271. of which must be ended by pressing Enter.  The first
  1272. line identifies the printer or company (hit Enter
  1273. alone to leave it blank), and may be up to 26
  1274. characters long.  Subsequent lines consist of up to 20
  1275. characters of identifying ASCII text, followed by a
  1276. semicolon, followed by up to 255 bytes containing the 
  1277. printer control sequence.  For example, the first four
  1278. lines of a filename for an HP LaserJet might be
  1279. entered thus:
  1280.  
  1281.     HP LASERJET
  1282.     Spreadsheet;        27,"&l1o2e5.647c66F",27,"&k2S"
  1283.     Reset Printer;      27,"E"
  1284.     Form Feed;          12
  1285.  
  1286. ASCII 27 is the (decimal) escape character; it could
  1287. alternatively be entered in hexadecimal notation as
  1288. x1B or 0x1B, following the C-language style.  Numeric
  1289. entries may be separated by commas (as shown), or by
  1290. spaces or tabs.  Literal ASCII text must be enclosed
  1291. either within double quotes (as shown) or single
  1292. quotes.  White space to the right of the semicolon is
  1293. ignored, and any line in filename beginning with a
  1294. pound sign (#) is treated as a comment line and will
  1295. not appear in the SETUP2 window.
  1296.  
  1297. In the example just cited, when the SETUP2 menu is
  1298. popped up with Ctrl-Right Shift, the words
  1299. "Spreadsheet," "Reset Printer," and "Form Feed" will
  1300. appear next to lines identified as F1, F2, and F3.
  1301. The associated printer control codes do not appear in
  1302. the on-screen menu, but are sent to the printer either
  1303. by pressing the indicated function key or by moving
  1304. the menu highlight bar to the appropriate line with
  1305. the Up- and Down-Arrow keys and pressing Enter.  The
  1306. PgDn and PgUp keys bring lines in filename beyond the
  1307. first "page" (ten lines) into the menu window.
  1308.  
  1309. Below F10 in the SETUP2 menu is a blank line that may
  1310. be used to send printer control sequences not
  1311. contained in filename.  This line is accessed by
  1312. pressing the Slash key (/), typing in the actual
  1313. control codes (using the format conventions previously
  1314. discussed), and pressing Enter.  In this case, the
  1315. actual printer codes are shown on the screen; the
  1316. entry line scrolls horizontally to accommodate
  1317. sequences of more than 100 characters.
  1318.  
  1319. Entering SETUP2 with the /C option enables sending
  1320. printer control codes from the DOS command line
  1321. without making the utility RAM-resident.  This is
  1322. useful both for testing and for batch file
  1323. operations.  The codes are again entered with the
  1324. numeric and quotemark conventions previously
  1325. indicated.  Note that each line must end with an ASCII
  1326. 13,10 (carriage return/line feed) sequence.
  1327.  
  1328. By default, SETUP2 uses LPT1.  Users familiar with
  1329. DEBUG.COM can change the entry at offset 018A
  1330. (normally 0) to 1 (for LPT2) or to 2 (for LPT3).
  1331. Similarly, the default Ctrl-Right Shift hotkey can be
  1332. changed to another shifting key combination by
  1333. changing the entry at offset 01B3 (normally 5).  A hex
  1334. value of C in this location would change the hotkey to
  1335. Ctrl-Alt, for example.  A complete table of shift-mask
  1336. values is contained in the HOTKEY.MOD file on this
  1337. disk.
  1338.  
  1339. A sample file with the menu entries and codes for most
  1340. Epson dot-matrix printers is shown below:
  1341.  
  1342.     #============================================
  1343.     # Epson RX/FX-80 Printer Make File
  1344.     # Copyright (c) 1989 Ziff Communications Co.
  1345.     #============================================
  1346.     EPSON RX/FX-80 PRINTER
  1347.     Compressed Mode On;     15
  1348.     Compressed Mode Off;    18
  1349.     Expanded Mode On;       27,"W1"
  1350.     Expanded Mode Off;      27,"W0"
  1351.     Emphasized Mode On;     27,"E"
  1352.     Emphasized Mode Off;    27,"F"
  1353.     Double-Strike On;       27,"G"
  1354.     Double-Strike Off;      27,"H"
  1355.     Miniature Mode On;      15,27,83,0,27,65,6
  1356.     Miniature Mode Off;     18,27,84,27,50
  1357.     #--------------------------------------------
  1358.     Elite Mode On;          27,"M"
  1359.     Elite Mode Off;         27,"P"
  1360.     Skip Perforation On;    27,78,8
  1361.     Skip Perforation Off;   27,79
  1362.     1/8" Line Spacing;      27,"0"
  1363.     7/72" Line Spacing;     27,"1"
  1364.     1/6" Line Spacing;      27,"2"
  1365.     Line Feed;              10
  1366.     Form Feed;              12
  1367.     Reset Printer;          27,"@"
  1368.  
  1369. A similar sample for LaserJet printers is:
  1370.  
  1371.     #============================================
  1372.     # HP LaserJet Printer Make File              
  1373.     # Copyright (c) 1989 Ziff Communications Co. 
  1374.     #============================================
  1375.     HEWLETT-PACKARD LASERJET
  1376.     Portrait Mode;      27,"&l0O"
  1377.     Landscape Mode;     27,"&l1O"
  1378.     10 Pitch;           27,"&k0S"
  1379.     12 Pitch;           27,"&k4S"
  1380.     16.66 Pitch;        27,"&k2S"
  1381.     Light;              27,"(s-3B"
  1382.     Medium;             27,"(s0B"
  1383.     Bold;               27,"(s3B"
  1384.     Form Feed;          12
  1385.     Reset Printer;      27,"E"
  1386.     #--------------------------------------------
  1387.     Line Printer;       27,"(s0T"
  1388.     Pica;               27,"(s1T"
  1389.     Elite;              27,"(s2T"
  1390.     Courier;            27,"(s3T"
  1391.     Helvetica;          27,"(s4T"
  1392.     Times Roman;        27,"(s5T"
  1393.     Gothic;             27,"(s6T"
  1394.     Spreadsheet;        27,"&l1o2e5.647c66F",27,"&k2S"
  1395.  
  1396. These two sample files are included with SETUP2.COM,
  1397. called HP and EPSON. If you have an Epson-compatible
  1398. dot-matrix printer, you can try SETUP2 with the
  1399. command:
  1400.  
  1401.     SETUP2 EPSON
  1402.  
  1403. followed by pressing Ctrl and Right-shift to pop-up
  1404. the program. If you have an HP LaserJet or compatible
  1405. printer, enter
  1406.  
  1407.     SETUP2 HP
  1408.  
  1409. @@SLICE & SPLICE
  1410. SLICE & SPLICE          Bob Flanders and Michael Holmes
  1411. Split large file across multiple floppies   version 1.3
  1412. -------------------------------------------------------
  1413.  
  1414. Purpose
  1415. -------
  1416. Spreads a DOS file too large to be copied onto a single
  1417. floppy disk across multiple diskettes, enabling the
  1418. file to be restored onto a second machine.
  1419.  
  1420. Format
  1421. ------
  1422.  
  1423.     SLICE [d:][path]filename[.ext] d:
  1424.  
  1425. Remarks
  1426. -------
  1427. The filename of the file to be divided may be preceded
  1428. with a drive and/or path, if needed. The target
  1429. drive may be any drive that DOS recognizes as a
  1430. removable medium. Diskettes from 160KB to 1.44MB
  1431. capacity may be used, as may disk cartridges whose
  1432. device driver identifies them as employing a removable
  1433. medium.
  1434.  
  1435. As each target diskette is filled, the user is
  1436. prompted to insert a fresh one; up to 99 formatted
  1437. target disks may be accommodated. On the first of
  1438. these, SLICE also creates a short (approximately 1KB)
  1439. program, SPLICE.COM, which is subsequently used to
  1440. reassemble the separate sections into which filename
  1441. has been broken. The syntax for SPLICE.COM is:
  1442.  
  1443. Format
  1444. ------
  1445.  
  1446.     d:\SPLICE s: [t:][path] [/R]
  1447.  
  1448. Remarks
  1449. -------
  1450. The d: parameter designates the drive on which
  1451. SPLICE.COM has been written, and s: designates the
  1452. source drive. Normally, these are the same. The
  1453. optional t: and path identify the hard disk/path onto
  1454. which the file is to be reassembled as single entity.
  1455. If these latter parameters are unspecified, the default
  1456. drive and directory will be used for restoration. The
  1457. original filename cannot be changed in either the SLICE
  1458. or SPLICE operations, each of which requires
  1459. approximately 34KB of available memory. The optional /R
  1460. parameter tells the program to disable the check for
  1461. removable media. If you receive an error message
  1462. saying, "Must be removable media," you can try running
  1463. SPLICE with the /R parameter. This is useful when the
  1464. device driver for a drive does not support the IOCTL
  1465. requesting removable status.
  1466.  
  1467. Note
  1468. ----
  1469. Although the DOS BACKUP and RESTORE utilities also
  1470. permit a single file to be divided among multiple
  1471. disks, they require that the same version of DOS be
  1472. present on both the originating and the receiving
  1473. machines.
  1474. @@SMOOTH
  1475. SMOOTH                               Michael J. Mefford
  1476. Smooth scrolling text file viewer
  1477. -------------------------------------------------------
  1478.  
  1479. Purpose
  1480. -------
  1481. An EGA or VGA text-browsing utility that makes reading
  1482. from the screen easier by providing smooth scrolling in
  1483. either direction at user-selectable speeds.
  1484.  
  1485. Format
  1486. ------
  1487.  
  1488.     SMOOTH filespec [/W][/Snn][Cmmm]
  1489.  
  1490. Remarks
  1491. -------
  1492. The filespec entered with SMOOTH is a filename plus any
  1493. required drive and path information. The optional /W
  1494. switch strips the "high bit" from WordStar document
  1495. files. The optional /Snn switch sets the scrolling
  1496. speed, where nn is a decimal number that represents
  1497. twice the number of pixel rows to be scanned on each
  1498. screen refresh cycle. The default value for nn is 3.
  1499. For comparative purposes, the DOS TYPE command used
  1500. with an EGA (14 pixel rows per character) would have an
  1501. nn of 28. The optional /Cmmm sets the foreground and
  1502. background colors according to:
  1503.  
  1504.     mmm = Foreground color + (Background color * 16)
  1505.  
  1506. The foreground and background color numbers are given
  1507. in the BASIC manual under the heading, color
  1508. statement. The default is 23 (white letters on a blue
  1509. background).
  1510.  
  1511. The up-arrow and down-arrows set the scrolling
  1512. direction, and PgUp and PgDn flip a screen page. The
  1513. Home and End keys go directly to the top and bottom of
  1514. the file. Pressing the space bar (or the numeral 0)
  1515. freezes the screen, which can be restarted by pressing
  1516. any key. Hitting Esc cancels SMOOTH and returns to DOS.
  1517. Pressing the plus and minus keys speeds up or slows
  1518. down the scroll rate, as does pressing the number keys.
  1519.  
  1520. Note
  1521. ----
  1522. Since SMOOTH manipulates the Cathode Ray Tube
  1523. Controller registers directly, it is incompatible with
  1524. operation of SideKick and Print Screen.
  1525. @@ZCOPY 
  1526. ZCOPY                                      Bob Flanders
  1527. High-speed serial file transfer             Version 1.4
  1528. -------------------------------------------------------
  1529.  
  1530. Purpose
  1531. -------
  1532. Transfers files at high speed, via a serial link,
  1533. between two PCs. It can be used to move files 
  1534. between machines that do not share a common disk 
  1535. format, such as a laptop and desktop PC or to
  1536. conveniently move large quantities of data between
  1537. two standalone PCs.
  1538.  
  1539.  
  1540. Format
  1541. ------
  1542.  
  1543.     ZCOPY source [target] [/w][/n][/u][/o][/a][/p][/d]
  1544.  
  1545. Remarks
  1546. -------
  1547. The two machines must be IBM-compatible and must be
  1548. connected by a standard "null modem" cable. ZCOPY is
  1549. executed, with appropriate parameters, on both
  1550. machines; a 30-second (default) connect timeout is
  1551. provided.
  1552.  
  1553. On the sending machine both a source (filename plus any
  1554. needed drive and path) and a target (COM1 or COM2) must
  1555. be specified. ZCOPY supports the * and ? DOS filename
  1556. "wildcards," but it does not permit renaming files
  1557. during transfer. On the receiving machine the source is
  1558. COM1 or COM2, and the target, if specified, must be a
  1559. directory path. (Any needed subdirectories must be
  1560. created on the receiving machine before using ZCOPY.)
  1561.  
  1562. The optional /w and /n switches operate before
  1563. connection is established, and so are entered on the
  1564. ZCOPY command line of each machine. The /w parameter
  1565. prolongs the default connection timeout indefinitely;
  1566. it can be cancelled with Ctrl-Break. The /n parameter
  1567. sets the highest bit-per-second (bps) rate at which
  1568. ZCOPY will attempt to transfer data. If used, it must
  1569. be the same on both machines. The default is /1 (115
  1570. kbps). Other acceptable values are /2 through /6 (57.6
  1571. kbps, 38.4 kbps, 19.2 kbps, 9600 kbps, and 4800 kbps,
  1572. respectively). If ZCOPY cannot maintain error-free
  1573. transfer at a given transfer rate, it automatically
  1574. steps down to the next lower speed.
  1575.  
  1576. The other optional parameters may be entered on either
  1577. machine's ZCOPY command line. The /u (Update) switch
  1578. permits overwriting same-named files on the receiving
  1579. machine without operator confirmation if the source
  1580. file is more recent. The /o (Overwrite) switch
  1581. suppresses the confirmation prompt for all files. By
  1582. default, when ZCOPY receives a disk-full signal, before
  1583. aborting it tries to find a smaller selected source
  1584. file that will fit on the receiving disk. The /a (Abort
  1585. on Full) aborts at the first disk-full indication. The
  1586. /p (Pause) switch creates a pause before the transfer
  1587. operation begins after the connection between machines
  1588. has been made, permitting changing a disk. The /d
  1589. option changes the date of a received file to that of
  1590. the receiving machine.
  1591.  
  1592. Null modem cable
  1593. ----------------
  1594. A Null modem cable is one that allows data to be 
  1595. transmitted directly between two PCs and most dealers
  1596. will be able to supply a suitable one. If you need to
  1597. have one made, ZCOPY's standard configuration is:
  1598.  
  1599. 1st Machine    2nd Machine
  1600. -----------    -----------
  1601.   PIN               PIN
  1602.    2   <---------->  3
  1603.    3   <---------->  2
  1604.    7   <---------->  7
  1605.  
  1606. All other leads are optional and are not used by ZCOPY.
  1607.  
  1608. Transferring ZCOPY without common media
  1609. ---------------------------------------
  1610. If you find yourself in the situation where you have
  1611. ZCOPY one one machine but not on the other and can't
  1612. get ZCOPY on a disk for the other machine, you can
  1613. use the following procedure to transfer ZCOPY itself
  1614. over the serial link.
  1615.  
  1616. 1. Connect the two machines together via the null 
  1617.    modem cable. You must know which communications 
  1618.    ports you are using.
  1619.  
  1620. 2. At each machine, set the communications port to
  1621.    the same communications parameters use the DOS
  1622.    MODE command. Enter:
  1623.  
  1624.    MODE COM1:1200,N,8,1
  1625.   
  1626.    Substitute COM2, COM3 or COM4 if appropriate on
  1627.    each machine but keep the other values the same.
  1628.  
  1629. 3. On the machine receiving ZCOPY, do the following
  1630.    (without the comments):
  1631.  
  1632.    A>COPY CON TMP.DBG ; Build the debug script
  1633.    n zcopy.com        ; Name of the received program
  1634.    a 5000             ; Assemble at a high address
  1635.    CALL    5016       ; Get low character of count
  1636.    MOV     CL,AL      ; cl = low byte
  1637.    CALL    5016       ; .. Get high character
  1638.    MOV     CH,AL      ; cx = length of program
  1639.    PUSH    CX         ; .. save it
  1640.    MOV     DI,0100    ; di -> output area for program
  1641.    CALL    5016       ; Get program character
  1642.    STOSB              ; Store it
  1643.    LOOP    500E       ; .. Loop until all received
  1644.    POP     CX         ; cx = length for write
  1645.    INT     3          ; .. return to debug
  1646.    ADD     DX,+05     ; dx -> line status register
  1647.    IN      AL,DX      ; al = lsr value
  1648.    TEST    AL,01      ; q. any data available?
  1649.    JZ      5019       ; a. no .. loop until ready
  1650.    SUB     DX,+05     ; dx -> data register
  1651.    IN      AL,DX      ; get the character
  1652.    RET                ; return w/al = character
  1653.                       ; enter a blank line to stop
  1654.    rdx                ; set dx ...
  1655.  
  1656.    :3f8 <== Note: This would be 3F8 for COM1, 2F8 for
  1657.             COM2, 3E8 for COM3, 2E8 for COM4!
  1658.  
  1659.    g=5000             ; start the program
  1660.    rip                ; IP = write address
  1661.    :100               ; .. address 100 hex
  1662.    w                  ; write out ZCOPY.COM
  1663.    q                  ; .. and back to DOS
  1664.    ^Z<CR>             ; (or use F6<CR>)
  1665.    A>debug <tmp.dbg
  1666.  
  1667.    Complete these steps before the next one... the
  1668.    receiving machine will wait for ZCOPY to be sent
  1669.    to it.
  1670.  
  1671. 4. On the machine sending ZCOPY, do the following:
  1672.  
  1673.    A>debug zcopy.com  ; bring in zcopy
  1674.    rdx                ; setup the comm port
  1675.  
  1676.    :3f8 <== Note: This would be 3F8 for COM1, 2F8 for
  1677.             COM2, 3E8 for COM3, 2E8 for COM4!
  1678.  
  1679.    g=103              ; call the self-transfer routine
  1680.                       ; (30-40 secs will pass)
  1681.    AX=00CC BX=0000 CX=0000 DX=03F8  SP=FFFE BP=0000 SI=1354 DI=0000
  1682.    DS=1FE1 ES=1FE1 SS=1FE1 CS=1FE1  IP=1353 NV UP EI PL NZ NA PO NC
  1683.    1FE1:1353 CC   INT 3
  1684.    q
  1685.    A>
  1686.  
  1687. ZCOPY is now on the receiving machine.
  1688.