home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / dos_util / pcmprogb.zip / MANUALS2.TXT < prev    next >
Text File  |  1992-07-01  |  138KB  |  4,055 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 2
  9. Copyright:(C)1992 Ziff-Davis Publishing
  10.  
  11. @@Introduction
  12. Introduction
  13. PC Magazine Utilities Disk Volume 2
  14. -------------------------------------------------------
  15.  
  16. Volume 2 of the PC Magazine Utilities contains 34
  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. The utilities on this disk cover a wide variety of
  43. tasks... you may not need them all but you're sure
  44. to find some useful ones. This summary lists the
  45. programs in general categories so that you can quickly
  46. see what facilities are available and which programs
  47. are of most interest to you. Remember even if you
  48. don't need a particular program now, you may find
  49. it's just what need in future so it's worth getting
  50. familiar with the programs.
  51.  
  52. --- General utilities ---
  53. APPBK             Pop-up appointment book
  54. ASC               Pop-up ASCII chart
  55. BROWSE            Text file viewer
  56. DRAW              Create graphics with batch files
  57. FREEZE            Lock keyboard for security
  58. PARSE             Count lines, words, sentences & more
  59. PLAY              Play tunes with batch files
  60. SCHEDULE          Pop-up diary
  61. SUGGEST           Flash messages on-screen at intervals
  62.  
  63. --- Disk & File utilities ---
  64. 2FILE & 2FLOPPY   Floppy disk image copying
  65. CHANGE            Search and replace text
  66. DIRCOMP           List two directories for comparison
  67. DIRMATCH          Full-screen compare of 2 directories
  68. FILECTRL          Multi-format file viewer
  69. REPEATS           Helps find duplicate files
  70. SEARCH            Disk-wide search for word or phrase
  71. XDIR              Pop-up a DIR listing at any time
  72.  
  73. --- DOS command and batch file utilities ---
  74. BATCHMAN          Powerful batch file enhancer
  75. COPYSAFE          Prevent accidents with COPY commands
  76. MAKEBAR           Create menus for SLASHBAR
  77. SLASHBAR          Add Lotus-style menus to any program
  78.  
  79. --- Keyboard utilities ---
  80. TIMEKEY           Enter time and date with a single key
  81. VISITYPE          Extend keyboard buffer
  82.  
  83. --- Video utilities ---
  84. BLOAD & BSAVE     Save & recall screens (use with DRAW)
  85. CS                Clear screen for 43/50 line EGA/VGA
  86. EGA12             Set 12 line display
  87. EGA25             Set 25 line display
  88. EGA35             Set 35 line display
  89. EGA43             Set 43 line display
  90. EGA50             Set 50 line display
  91. EGA512            Allow use of two fonts on EGA/VGA
  92. EGACOLOR          Remap colors on EGA/VGA
  93. EGAITAL           Create an italic font on EGA/VGA
  94. EGAPALET          See all 64 EGA colors at once
  95. EGAPRTSC          Enable 43/50 line PrintScreen key
  96. FONTEDIT          Text screen font editor
  97. SPECTRUM          Pop-up color selector
  98. VIDMODE           Set current video mode
  99. VIDPAGE           Set current video page
  100. @@Tech notes
  101. Tech Notes
  102. PC Magazine Utilities Disk Volume 2
  103. -------------------------------------------------------
  104.  
  105. This document provides general advice for using and
  106. setting up the PC Magazine utilities on this disk.
  107. It is divided into these sections...
  108.  
  109.   1. Disk contents
  110.  
  111.   2. Installing the programs
  112.  
  113.          Installing the programs from DOS
  114.  
  115.          Saving hard disk space
  116.  
  117.          Working on a floppy-only PC
  118.  
  119.          Putting the programs in your DOS command PATH
  120.  
  121.          Loading programs from AUTOEXEC.BAT
  122.  
  123.          Using TSR (memory-resident) programs
  124.  
  125.   3. Viewing and printing the documentation
  126.  
  127.   4. Customizing the utilities
  128.  
  129.          Tables of scan codes  (SS)
  130.                    shift masks (MM)
  131.                    color values
  132.                    sound values
  133.  
  134. 1. Disk contents
  135. ================
  136. This disk contains the following files. These are
  137. stored in the root directory as normal and are
  138. ready to use. Files marked * are part of the
  139. installation and documentation programs rather
  140. than the utilities themselves.
  141.  
  142.  2FILE    EXE  2FILE program (part of 2FILE/2FLOPPY)
  143.  2FLOPPY  EXE  2FLOPPY program (part of 2FILE/2FLOPPY)
  144.  APPBK    COM  APPBK program
  145.  ASC      COM  ASC program
  146.  BATCHMAN COM  BATCHMAN program
  147.  BLOAD    COM  BLOAD program (part of BLOAD/BSAVE)
  148.  BROWSE   COM  BROWSE program
  149.  BSAVE    COM  BSAVE program (part of BLOAD/BSAVE)
  150.  CHANGE   COM  CHANGE program
  151.  COPYSAFE COM  COPYSAFE program
  152.  CS       COM  CS program
  153.  DIRCOMP  COM  DIRCOMP program
  154.  DIRMATCH COM  DIRMATCH program
  155. *DOC      EXE  Documentation viewer
  156.  DOS      BAR  Sample file for SLASHBAR
  157.  DOS      BDF  Source file of above for MAKEBAR
  158.  DRAW     COM  DRAW program
  159.  DRAW     DAT  Sample DRAW drawing file
  160.  EGA12    COM  EGA12 program
  161.  EGA25    COM  EGA25 program
  162.  EGA35    COM  EGA35 program
  163.  EGA43    COM  EGA43 program
  164.  EGA50    COM  EGA50 program
  165.  EGA512   COM  EGA512 program
  166.  EGACOLOR COM  EGACOLOR program
  167.  EGAITAL  COM  EGAITAL program
  168.  EGAPALET COM  EGAPALET program
  169.  EGAPRTSC COM  EGAPRTSC program
  170.  FILECTRL COM  FILECTRL program
  171.  FONTEDIT COM  FONTEDIT program
  172.  FREEZE   COM  FREEZE program
  173. *GO       EXE  Install program
  174.  MAKEBAR  COM  MAKEBAR program
  175. *MANUALS2 TXT  Documentation for this disk
  176.  MOVIE    DAT  Sample file for use with DRAW
  177.  PARSE    COM  PARSE program
  178. *PCLOGO   EXE  PC Magazine logo display
  179.  PLAY     COM  PLAY program
  180.  PLAY     DAT  Sample tune for PLAY
  181.  REPEATS  COM  REPEATS program
  182.  SCHEDULE COM  SCHEDULE program
  183.  SEARCH   COM  SEARCH program
  184.  SLASHBAR COM  SLASHBAR program
  185.  SPECTRUM COM  SPECTRUM program
  186.  STING    DAT  Sample tune for PLAY
  187.  SUGGEST  COM  SUGGEST program
  188.  TIMEKEY  COM  TIMEKEY program
  189.  VIDMODE  COM  VIDMODE program
  190.  VIDPAGE  COM  VIDPAGE program
  191.  VISITYPE COM  VISITYPE program
  192.  XDIR     COM  XDIR program
  193.  
  194. 2. Installing the programs
  195. ==========================
  196. To install these programs to a hard disk, use the
  197. install program provided (started by typing GO).
  198. Around 360K of free space is required for all of
  199. the programs and documentation... this will be
  200. checked for you automatically.
  201.  
  202. The install program initially offers to install the
  203. programs to a new directory on drive C called PCVOL2.
  204. (C:\PCVOL2).
  205.  
  206. If you wish to use a different directory or a
  207. different hard disk, simply type in a new name. For
  208. example, enter D:\PCMAG to put the programs into a
  209. PCMAG directory on your D drive.
  210.  
  211. You can name an existing directory if you prefer in
  212. which case the install program will add the new
  213. programs to any files already there.
  214.  
  215. Once you've entered the directory name, disk space is
  216. checked and then the files are copied across.
  217.  
  218. After installation is complete, you can return to the
  219. opening menu (for example, to view the documentation)
  220. or go straight to the new directory.
  221.  
  222. Installing the programs from DOS
  223. --------------------------------
  224. You can install all of the programs or just selected
  225. ones using the DOS COPY command in the normal way.
  226. For example, to add the file FILECTRL.COM to your
  227. normal C:\UTILS directory, enter a command such as
  228.  
  229.    COPY A:\FILECTRL.COM C:\UTILS
  230.  
  231. If you do this, you might also want to copy the
  232. files DOC.EXE and MANUALS2.TXT to a suitable
  233. directory so that you have the documentation to hand.
  234.  
  235. Saving hard disk space
  236. ----------------------
  237. If you are short of hard disk space, you can remove
  238. those utilities you are not using from your hard
  239. disk with the DOS DEL command in the normal way.
  240. You may also want to delete the documentation files
  241. (DOC.EXE and MANUALS2.TXT) as you can always print
  242. out those parts you need or use the original floppy
  243. when you need to refer to it.
  244.  
  245. Working on a floppy-only PC
  246. ---------------------------
  247. If you do not have a hard disk, we suggest that you
  248. make a working copy of this disk using the DOS
  249. DISKCOPY command. You can work directly from this
  250. copy or use the COPY command to copy those programs
  251. you require onto your startup disk or other working
  252. disks as necessary. For example:
  253.  
  254.   COPY B:PARSE.COM A:
  255.  
  256.   ...copies PARSE.COM from this disk to a disk in
  257.   drive A
  258.  
  259.   A:VIDMODE 3
  260.  
  261.   ...runs the VIDMODE program from this disk in drive A
  262.  
  263.   B:
  264.   SCHEDULE
  265.  
  266.   ... starts the SCHEDULE program from this disk in
  267.   drive B by first changing to drive B.
  268.  
  269. Putting the programs in your DOS command PATH
  270. ---------------------------------------------
  271. You can start the utility programs by either:
  272.  
  273.    Changing to the drive and directory they are
  274.    in and then entering the relevant command.
  275.    For example:
  276.  
  277.    C:
  278.    CD \PCVOL2
  279.    FILECTRL
  280.  
  281. or
  282.  
  283.    Giving the relevant drive and directory
  284.    before the command name (DOS 3.xx and
  285.    later only). For example:
  286.  
  287.    C:\PCVOL2\FILECTRL
  288.  
  289. However, it's easier if you make the programs
  290. available from any disk and directory by
  291. ensuring that they are in your DOS command
  292. search path, set with the PATH command.
  293.  
  294. You can do this by either:
  295.  
  296.    Adding the directory the utilities are
  297.    in to your normal PATH command in AUTOEXEC.BAT.
  298.    For example, if the PATH command in your
  299.    AUTOEXEC.BAT file reads
  300.  
  301.    C:\DOS;C:\UTILS;C:\WINDOWS
  302.  
  303.    you might change it to read
  304.  
  305.    C:\DOS;C:\UTILS;C:\WINDOWS;C:\PCVOL2
  306.  
  307.    You should be careful when making changes to
  308.    AUTOEXEC.BAT not to disturb other commands
  309.    already in it. See your DOS manual for full
  310.    instructions.
  311.  
  312. or
  313.  
  314.    Copying those programs you use often to a
  315.    directory already in your PATH command. Many
  316.    PCs already have a directory called C:\BIN or
  317.    C:\UTILS for small utility programs like these.
  318.    For example, if you have a C:\BIN directory on
  319.    drive C and use the FILECTRL program often,
  320.    copy it across with a command like this:
  321.  
  322.    COPY C:\PCVOL2\FILECTRL.COM C:\BIN
  323.  
  324. Loading programs from AUTOEXEC.BAT
  325. ----------------------------------
  326. Many of these utilities are designed to be loaded or
  327. run whenever your PC is working by placing the
  328. relevant command in the AUTOEXEC.BAT startup file.
  329. Before doing this, we recommend that you test the
  330. utilities out by loading them from the command line
  331. as normal to ensure that they operate correctly
  332. with your other software.
  333.  
  334. Please bear in mind:
  335.  
  336. * The program file must be available for
  337.   AUTOEXEC.BAT to load it. If it is not
  338.   in a directory already named in a PATH
  339.   command earlier in AUTOEXEC.BAT, you
  340.   must give the drive and directory where
  341.   it is stored (e.g. C:\PCVOL2\XDIR)
  342.   or copy the file to the root directory
  343.   of the hard disk.
  344.  
  345. * The order in which resident programs are
  346.   loaded can be significant. If there appears
  347.   to be a conflict, try re-ordering the lines
  348.   in AUTOEXEC.BAT.
  349.  
  350. * Always keep a startup floppy to hand and
  351.   a back-up copy of your AUTOEXEC.BAT file
  352.   so that if problems arise you can restore
  353.   things to normal.
  354.  
  355. Using TSR (memory-resident) programs
  356. ------------------------------------
  357. Many of these utilities are 'TSRs' or memory-resident
  358. programs. These load into memory when first started
  359. and remain there, either operating invisibly or
  360. waiting to be called up.
  361.  
  362. TSR programs are very popular. However, the design of
  363. DOS means that there is always a chance of conflict
  364. between different TSR programs or between a TSR and
  365. your main software.
  366.  
  367. To avoid problems, please note:
  368.  
  369. 1. You should carefully test any new TSR program
  370.    on your system before using it while doing
  371.    your normal work.
  372.  
  373. 2. Each TSR uses up memory. If you load too many
  374.    at once, your normal software may not be
  375.    able to run.
  376.  
  377. 3. If you discover a conflict, loading the TSRs
  378.    in a different order may resolve it.
  379.  
  380. 4. You can change the 'hotkey' used to call up
  381.    many of the TSRs on this disk to avoid a conflict
  382.    with your other programs. See the manual
  383.    for the program in question and the notes and
  384.    tables below.
  385.  
  386. 3. Viewing and printing the documentation
  387. -----------------------------------------
  388. The documentation for these programs is supplied in a
  389. plain ASCII text file called MANUALS2.TXT. You can
  390. view or print this file using normal DOS facilities
  391. (such as TYPE, MORE and PRINT) or most word processor
  392. or text editor programs.
  393.  
  394. However, since MANUALS2.TXT contains multiple documents
  395. you will probably find it most convenient to view or
  396. print it using the DOC.EXE program supplied.
  397.  
  398. To start DOC after installation, change to the
  399. drive and directory where you installed the disk to
  400. (e.g. enter C: then CD \PCVOL2) and then enter DOC.
  401.  
  402. See the document entitled DOC for more information.
  403.  
  404. 4. Customizing the utilities
  405. ----------------------------
  406. Most of these utilities are compact assembly language
  407. .COM programs to make them small, fast and efficient.
  408. This means that many of the programs do not include
  409. built-in configuration options.
  410.  
  411. However, if you're experienced with DEBUG, you can
  412. 'patch' the programs to customize their operation.
  413. The manual for each program will describe the ways
  414. in which it can be customized but typically you
  415. can do so to:
  416.  
  417. *  Customize the screen colors the program uses
  418.    (if the display is hard to read on your screen).
  419.  
  420. *  Change the 'hotkey' used by one of the TSR
  421.    programs to avoid a conflict with your other
  422.    software.
  423.  
  424. *  Change defaults such as sorting order, size of
  425.    records and so on.
  426.  
  427. To customize a utility, follow this general procedure
  428. in conjunction with the manual for the program. (You
  429. SHOULD NOT ATTEMPT this if you are not confident about
  430. using DEBUG as a mistake may stop the program from
  431. working or crash your PC.)
  432.  
  433. 1. Always MAKE A COPY of the .COM file for the program
  434.    in question as a back-up. For example, enter
  435.  
  436.    COPY POP-CAL.COM ORIGCAL.COM
  437.  
  438. 2. Start DEBUG with the name of the program to modify.
  439.    You must have the DOS DEBUG program available for
  440.    this to work. For example, enter
  441.  
  442.    DEBUG POP-CAL.COM
  443.  
  444.    DEBUG loads the file and presents a - prompt.
  445.  
  446. 3. Use the DEBUG E command to modify the areas of
  447.    the program as described in its documentation.
  448.  
  449.    For example, the hotkey for POP-CAL can be
  450.    changed by entering a new keyboard scan code at
  451.    location 174. If we wanted to use Alt-P rather
  452.    than Alt-C we can see from the scan code (SS) table
  453.    below that we need to change this to code 19.
  454.  
  455.    This can then be entered in DEBUG with:
  456.  
  457.    E174 19
  458.  
  459. 4. After making all the necessary changes, save the
  460.    file back onto disk with the W command. Enter
  461.  
  462.    W
  463.  
  464. 5. Now leave DEBUG. Enter
  465.  
  466.    Q
  467.  
  468. 6. Now load and test out the new program. If it no
  469.    longer works, delete it, restore your back-up
  470.    copy (e.g. COPY ORIGCAL.COM POP-CAL.COM)
  471.    and then try again.
  472.  
  473. The tables below list the values necessary for
  474. customizing colors and hotkeys.
  475.  
  476. Keyboard scan codes
  477. for alternative hotkeys
  478. (Values for SS)
  479. -----------------------
  480.  
  481.          Scan                    Scan
  482. Key      Code (hex)    Key       Code (hex)
  483. -------- ----------    --------- ----------
  484. Esc       01           Z          2C
  485. 1 !       02           X          2D
  486. @ 2       03           C          2E
  487. # 3       04           V          2F
  488. $ 4       05           B          30
  489. % 5       06           N          31
  490. ^ 6       07           M          32
  491. & 7       08           < ,        33
  492. * 8       09           > .        34
  493. ( 9       0A           ? /        35
  494. ) 0       0B           R Shift    36
  495. _ -       0C           PrtSc *    37
  496. + =       0D           Alt        38
  497. Bkspace   0E           Spacebar   39
  498. Tab       0F           CapsLk     3A
  499. Q         10           F1         3B
  500. W         11           F2         3C
  501. E         12           F3         3D
  502. R         13           F4         3E
  503. T         14           F5         3F
  504. Y         15           F6         40
  505. U         16           F7         41
  506. I         17           F8         42
  507. O         18           F9         43
  508. P         19           F10        44
  509. { [       1A           NumLock    45
  510. } ]       1B           ScrlLk     46
  511. Enter     1C           7 Home     47
  512. Ctrl      1D           8 UpArr    48
  513. A         1E           9 PgUp     49
  514. S         1F           -          4A
  515. D         20           4 LArrow   4B
  516. F         21           5          4C
  517. G         22           6 RArrow   4D
  518. H         23           +          4E
  519. J         24           1 End      4F
  520. K         25           2 DnArr    50
  521. L         26           3 PgDn     51
  522. : ;       27           0 Ins      52
  523. " '       28           . Del      53
  524. `         29           SysReq     54
  525. L Shift   2A           F11        57
  526. | \       2B           F12        58
  527.  
  528. Shift Mask codes
  529. for alternative hotkeys
  530. (Values for MM)
  531. -----------------------
  532.  
  533. Value  Alt  Ctrl  L-Shift  R-Shift
  534. -----  ---  ----  -------  -------
  535.   0
  536.   1                           X
  537.   2                  X
  538.   3                  X        X
  539.   4           X
  540.   5           X               X
  541.   6           X      X
  542.   7           X      X        X
  543.   8     X
  544.   9     X                     X
  545.   A     X            X
  546.   B     X            X        X
  547.   C     X     X
  548.   D     X     X               X
  549.   E     X     X      X
  550.   F     X     X      X        X
  551.  
  552. X signifies that this key must pressed. For example,
  553. to use Left Shift and Right Shift for the hotkey,
  554. the value to use for MM would be 3.
  555.  
  556. Color values
  557. ---------------
  558. Black     0
  559. Blue      1
  560. Green     2
  561. Cyan      3
  562. Red       4
  563. Magenta   5
  564. Brown     6
  565. Lt Gray   7
  566. Dark Gray 8
  567. Lt Blue   9
  568. Lt Green  A
  569. Lt Cyan   B
  570. Orange    C
  571. Violet    D
  572. Yellow    E
  573. White     F
  574.  
  575. A full color value is two hex digits, the first
  576. for the background color and the second for the
  577. foreground. For example, bright white on a dark
  578. blue background is 1F. Do not choose light colors
  579. (values larger than 7) for the background as it
  580. will produce a blinking display in most of the
  581. programs.
  582. @@2FILE & 2FLOPPY
  583. 2FILE & 2FLOPPY                            Steve Cooper
  584. Floppy disk image copying                  & Ken Hipple
  585. -------------------------------------------------------
  586.  
  587. Purpose
  588. -------
  589. 2FILE creates an exact, sector-by-sector copy of a
  590. floppy disk as a single hard disk file for modem
  591. transmission, multiple floppy duplication and so
  592. forth. 2FLOPPY provides the opposite capability,
  593. formatting and writing a new floppy disk from a file
  594. produced by 2FILE. 2FILE and 2FLOPPY support all
  595. 5.25-inch and 3.5-inch DOS diskette formats.
  596.  
  597. Format
  598. ------
  599.  
  600.     2FILE d: [e:][\path\]filename[.ext]
  601.  
  602. and
  603.  
  604.     2FLOPPY d: [e:][\path\]filename[.ext]
  605.             [/number] [/q] [/v]
  606.  
  607. Using 2FILE
  608. -----------
  609. The d: parameter is the drive containing the floppy
  610. disk to be copied, and filename is the name to be
  611. given to the 2FILE copy. A default .FLP extension will
  612. be supplied if none is specified, and the
  613. currently-logged hard drive and path will be used for
  614. storage unless otherwise specified with the optional
  615. e: and \path\ parameters. The hard disk must have
  616. enough space to hold the entire floppy plus a 13-byte
  617. header.
  618.  
  619. Files created with 2FILE can be compressed before
  620. modem transmission with ARC, PKARC, PKZIP and similar
  621. utilities.
  622.  
  623. Using 2FLOPPY
  624. -------------
  625. The d: parameter is the drive containing the floppy
  626. disk to be formatted and written to. The filename is
  627. that of the 2FILE source file, which is assumed to be
  628. located on the currently-logged hard disk and
  629. directory unless the e: and/or \path\ parameters are
  630. supplied. The 2FILE source is presumed to have the
  631. default .FLP extension unless an .ext is specified.
  632.  
  633. The optional /number parameter is used when a number
  634. of floppy diskettes are to be made from the same 2FILE
  635. source. Values for /number may range from 1 through
  636. 32,767 (default: 1). The user will be prompted with a
  637. message and a beep to insert new floppies, as needed.
  638. To silence the beep, use the /q parameter. Copies are
  639. verified unless the /v parameter is specified. The /q
  640. and /v switches may be entered in either upper- or
  641. lower-case.
  642.  
  643. Notes
  644. -----
  645. 1. Just like the DOS DISKCOPY command, 2FILE and
  646.    2FLOPPY produce exact copies of a disk,
  647.    preserving any file fragmentation on the disk.
  648.    If you're sending a .FLP file via modem to
  649.    someone, you might want to ensure that your
  650.    original disk is unfragmented before you
  651.    use 2FILE on it.
  652.  
  653. 2. 2FLOPPY formats and writes over the destination
  654.    disk with the 2FILE-produced file. ANYTHING
  655.    ALREADY ON THE DISK WILL BE LOST so make sure
  656.    you only use it on a new or unwanted floppy.
  657. @@APPBK
  658. APPBK                                Michael J. Mefford
  659. Pop-up appointment reminder
  660. -------------------------------------------------------
  661.  
  662. Purpose
  663. -------
  664. Reminds you of appointments at the times you specify;
  665. provides additional optional hourly chime and
  666. continuous on-screen date/time display.
  667.  
  668. Format
  669. ------
  670.  
  671.     APPBK
  672.  
  673. or
  674.  
  675.     APPBK [f,][b,][s,][h,][a]
  676.  
  677.  
  678. Remarks
  679. -------
  680. APPBK is a memory-resident utility that is normally
  681. loaded through your AUTOEXEC.BAT file. It must be
  682. loaded after any system time/date setting routines,
  683. and before loading SideKick (if used).
  684.  
  685. Pressing Alt-R opens the on-screen APPBK window, in
  686. which you enter your appointments. Enter times as
  687. 2:00, not 02:00, and include the A or P before the M
  688. in the window. You can edit your appointment list
  689. using the F-1 and F-3 keys, by overstriking letters,
  690. and with the deleting backspace key. F-2 toggles an
  691. hourly chime on and off; F-4 similarly toggles a
  692. continuous on-screen display of the time and date.
  693.  
  694. An alarm will sound at the appointment times
  695. specified. Additionally, should you be away from your
  696. desk and not hear the reminder, your first keystroke
  697. following the alarm will pop up the APPBK window. To
  698. close the window, press Esc or the Alt-R (default)
  699. APPBK trigger key.
  700.  
  701. At the time it is loaded, APPBK may be given
  702. alternative parameters for its color (f), border color
  703. (b), trigger-key scan code (s), hourly chime frequency
  704. (h), and alarm frequency (a). The default values are
  705. 7,112,19,2217,2960. Tables of acceptable alternative
  706. parameter values are give below. In entering 
  707. parameters, separate each with a comma. Commas alone 
  708. may be used for initial parameters you do not wish 
  709. to change.
  710.  
  711. Example
  712. -------
  713.  
  714.     APPBK ,,,1760
  715.  
  716. would change only the frequency (tone) of the
  717. hourly chime (the h parameter).
  718.  
  719. Parameter Tables
  720.  
  721. COLOR CODES (f and b parameters)
  722.  
  723. Color Adapter
  724. -------------
  725. fore-   back-            fore-
  726. ground  ground  color    ground  color
  727.   0       0     Black      8     Gray
  728.   1      16     Blue       9     Light Blue
  729.   2      32     Green     10     Light Green
  730.   3      48     Cyan      11     Light Cyan
  731.   4      64     Red       12     Light Red
  732.   5      80     Magenta   13     Light Magenta
  733.   6      96     Brown     14     Yellow
  734.   7     112     White     15     Bright White
  735.  
  736. Monochrome Adapter
  737. ------------------
  738. fore-   back-
  739. ground  ground  color
  740.   0       0     Black
  741.   7     112     White
  742.  15      NA     Bright White
  743.  
  744.  
  745. Add foreground color to the background color to
  746. arrive at parameter number. For example, blue letters
  747. on cyan (light blue) would be 48 + 1 = 49.
  748.  
  749. Defaults are 7 (white on black) for the datebook field
  750. (foreground) and 112 (black on white) for the frame
  751. (border).
  752.  
  753. SCAN CODES FOR ALT-KEY COMBINATIONS (s parameter)
  754. Code Key   Code Key   Code Key   Code  Key
  755.  16   Q     30   A     44   Z     120   1
  756.  17   W     31   S     45   X     121   2
  757.  18   E     32   D     46   C     122   3
  758.  19   R     33   F     47   V     123   4
  759.  20   T     34   G     48   B     124   5
  760.  21   Y     35   H     49   N     125   6
  761.  22   U     36   J     50   M     126   7
  762.  23   I     37   K                127   8
  763.  24   O     38   L                128   9
  764.  25   P                           129   0
  765.                                   130   -
  766. Default is 19 (Alt R)             131   =
  767.  
  768. TONE/FREQUENCY (h and a parameters)
  769. A    55  110  220  440   880  1760  3520   1740  14080
  770. A#   58  117  233  466   932  1857  3714   7428  14856
  771. B    62  123  247  494   988  1976  3952   7904  15808
  772. C    65  131  262  523  1046  2093  4186   8372  16744
  773. C#   69  139  277  554  1109  2217  4434   8868  17736
  774. D    74  149  294  587  1175  2349  4698   9396  18792
  775. D#   78  156  311  622  1245  2489  4978   9956  19912
  776. E    82  165  330  659  1319  2637  5274  10548  21096
  777. F    87  175  349  698  1397  2794  5588  11176  22352
  778. F#   93  185  370  740  1480  2960  5920  11840  23680
  779. G    98  196  392  784  1568  3136  6272  12544  25088
  780. G#  104  208  415  831  1661  3322  6644  13288  26576
  781.  
  782. Middle C is 262. The defaults are 2217 (C#) for the
  783. hourly chime and 2960 (F#) for the alarm chime.
  784.  
  785. Note
  786. ----
  787. 1. While APPBK is compatible with most applications
  788.    programs and resident utilities, complete
  789.    compatibility cannot be assured. It cannot, for
  790.    example, be  used with XyWrite.
  791. @@ASC
  792. ASC                                        Jeff Prosise
  793. Pop-up ASCII Chart
  794. -------------------------------------------------------
  795.  
  796. Purpose
  797. -------
  798. Provides a pop-up ASCII chart showing decimal,
  799. hexadecimal, and character equivalents for the full IBM
  800. character set.
  801.  
  802. Format
  803. ------
  804.  
  805.     ASC
  806.  
  807. Remarks
  808. -------
  809. ASC is a memory-resident utility that is normally
  810. loaded at boot-up, via your AUTOEXEC.BAT file. Once
  811. loaded, pressing Alt-A pops up the first page (32 ASCII
  812. codes) of the display window over any currently active
  813. applications program. The Up- and Down-Arrow, PgUp and
  814. PgDn, and Home and End keys access the remaining ASCII
  815. display pages. Pressing Esc closes the window,
  816. restoring the original screen display.
  817.  
  818. In operation, ASC requires approximately 2.5K of RAM.
  819. It is compatible with most applications and TSR
  820. (terminate and stay resident) programs that do not
  821. themselves require the Alt-A key combination.
  822.  
  823. Notes
  824. -----
  825. 1. Users familiar with using DEBUG can modify the
  826.    default border, text, and header colors of ASC.
  827.    These values, initially 0Fh, 1Fh, and 1Eh,
  828.    respectively, are located at offsets 014D through
  829.    014F in the .COM file. For use with a composite
  830.    monochrome display, the values 70h, 07h, and
  831.    07h are suggested.
  832. @@BATCHMAN
  833. BATCHMAN                             Michael J. Mefford
  834. Batch file enhancer and multi-function utility
  835. -------------------------------------------------------
  836.  
  837. Purpose
  838. -------
  839. BATCHMAN is designed both to give your batch files
  840. significantly more power and to add many of the
  841. refinements we all wish DOS provided. You can check the
  842. DOS version, available memory, or display type and then
  843. branch accordingly. You can create colorful menus that
  844. branch on a user keypress. And, among its many other
  845. capabilities, BATCHMAN will let you adjust the keyboard
  846. typematic rate and tame the grating DOS beep or turn it
  847. into a tune.
  848.  
  849. BATCHMAN is actually a collection of 48 batch file
  850. enhancement utilities, all rolled into one 6K program.
  851. This provides more than convenience: if BATCHMAN's
  852. utilities were stored separately, at a minimum one
  853. cluster each, they'd take up about 100K of disk space.
  854.  
  855. ERRORLEVELS
  856. -----------
  857. The key to BATCHMAN's operations is the ERRORLEVEL
  858. code, a number that programs can report to DOS when
  859. they terminate and that can be acted upon from a batch
  860. file. ERRORLEVEL is abbreviated as EL for the
  861. remainder of this documentation.
  862.  
  863. An EL can have a value between 0 and 255. Each of the
  864. BATCHMAN commands returns information as an EL. An
  865. explanation of the syntax of each of the BATCHMAN
  866. commands and the ELs they return will be found below.
  867.  
  868. Format
  869. ------
  870.  
  871.     BATCHMAN [command] [arguments] [/R]
  872.  
  873. Entering BATCHMAN without any parameters (or with an
  874. invalid parameter) will bring up a multi-screen display
  875. that lists all the BATCHMAN commands. The optional
  876. arguments are parameters for any given command. If you
  877. add the optional /R switch, BATCHMAN will display the
  878. EL returned from the command. The Report option will be
  879. most helpful when you are designing and debugging your
  880. batch files. Be sure to place BATCHMAN in a directory
  881. included on the DOS PATH so your batch files can find
  882. it.
  883.  
  884. THE BATCHMAN COMMANDS
  885. ---------------------
  886. The following conventions are used in the explanations
  887. below. The commands are listed first, followed by any
  888. parameters they might accept, followed by the EL the
  889. command will return. The EL is given in curly brackets
  890. to make it clear that it is not part of the command
  891. syntax and should not be typed in.
  892.  
  893. For example:
  894.  
  895.     CLS [nn]  {EL=0}
  896.  
  897. Entered without the optional nn color argument,
  898. the command:
  899.  
  900.     BATCHMAN CLS
  901.  
  902. will clear the screen with whatever color it finds at
  903. the current cursor position. This provides the most
  904. flexibility when you plan to distribute a BATCHMAN
  905. batch file to other systems because it retains the
  906. user's custom color scheme.
  907.  
  908. If you wish to control the CLS color, just add the
  909. color argument nn, where nn is a decimal or
  910. hexadecimal value. Hexadecimal numbers need a suffix of
  911. "h" to distinguish them from decimal. Selecting a
  912. color in hex is easier than decimal because each of
  913. the 16 possible values for each of the background and
  914. foreground colors fits into a single digit: the first
  915. digit is background, the second foreground.
  916.  
  917. To clear the screen so that subsequent DOS output will
  918. use blue letters on a light gray background, for
  919. example, you would enter:
  920.  
  921.     BATCHMAN CLS 71h
  922.  
  923. The first number (7) is the background color, and the
  924. second (1) is the foreground color. To do the same
  925. using a decimal number requires a little maths: the
  926. background color is multiplied by 16 and added to the
  927. foreground. In the above example, the decimal
  928. equivalent would be (7 * 16) + 7 = 113, so the
  929. equivalent command in decimal would be:
  930.  
  931.     BATCHMAN CLS 113
  932.  
  933. Like its DOS counterpart, BATCHMAN's CLS also homes the
  934. cursor to the top left corner. Unlike the DOS CLS,
  935. however, BATCHMAN's will clear the whole screen
  936. properly in video modes such as the EGA/VGA 43/50 line
  937. modes.
  938.  
  939.     CECHO [C] [nn,]string{EL=0}
  940.  
  941. CECHO is similar to the DOS ECHO command except you can
  942. choose the color of the echoed string. The nn color
  943. value is entered in the same manner as with CLS, and
  944. again, if you don't enter a color value, BATCHMAN will
  945. use the currently specified color. To echo a "Zowie!"
  946. to the display in an eye-catching blinking yellow on
  947. red, you would enter:
  948.  
  949.     BATCHMAN CECHO CEh,Zowie!
  950.  
  951. The C (hex) value for the background color normally
  952. displays as orange for a foreground color. When used
  953. as a background color, however, it displays as the
  954. blinking low intensity counterpart, red. Any high
  955. intensity color selected for the background will
  956. select a blinking color.
  957.  
  958. The optional C parameter shown in CECHO syntax (don't
  959. confuse it with the hex C color value in the example
  960. above) stands for "no carriage returns." Normally,
  961. both CECHO and the DOS ECHO move to the next line after
  962. echoing a string. At times this is not desirable. For
  963. example, you might wish to echo two strings, with
  964. different colors, on the same line. With BATCHMAN
  965. you can suppress the carriage return by adding a
  966. solitary C as the first argument. For example, to
  967. display a red on yellow blinking "Zowie!" followed by a
  968. normal red on yellow "Batchman!" on the same line your
  969. batch file would consist of:
  970.  
  971.     ECHO OFF
  972.     BATCHMAN CECHO C CEh,Zowie!
  973.     BATCHMAN CECHO 4Eh,Batchman!
  974.  
  975. You can suppress the carriage return to prevent the
  976. display from scrolling when you echo to the last line
  977. of the display.
  978.  
  979.     SETLOOP  [n]  {EL=0}
  980.     .
  981.     .
  982.     DECLOOP  {EL=SETLOOP-1}
  983.  
  984. You use the SETLOOP and DECLOOP commands when you want
  985. to repeat a set of batch file commands. SETLOOP sets a
  986. loop counter to the n argument, which can be a decimal
  987. number between 0 and 255. Once the counter is set, the
  988. BATCHMAN DECLOOP command will decrement the counter
  989. each time it is executed and return the new value of
  990. the loop counter as an EL. The short batch file:
  991.  
  992.     ECHO OFF
  993.     BATCHMAN SETLOOP 10
  994.     :HERE
  995.     BATCHMAN CECHO ZONK!
  996.     BATCHMAN DECLOOP
  997.     IF ERRORLEVEL 1 GOTO HERE
  998.  
  999. will echo "ZONK!" to the display 10 times before
  1000. terminating. The batch processor will branch to the
  1001. HERE label as long as EL is 1 or greater.
  1002.  
  1003. Programmers may wonder where the loop counter is stored
  1004. while other commands are executing. For the SETLOOP and
  1005. PUSHPATH commands (PUSHPATH/POPPATH are discussed below)
  1006. BATCHMAN creates a small TSR of approximately 500 bytes.
  1007. The loop counter uses one byte for its storage; the
  1008. balance is reserved for path strings. When the loop
  1009. counter becomes zero, the BATCHMAN TSR data area is
  1010. returned to the system memory pool (unless PUSHPATH
  1011. is also using the data area). Note that since the loop
  1012. counter is only one byte, you can not do loop nesting.
  1013.  
  1014. If you exit a batch file before SETLOOP has decremented
  1015. to zero, the TSR data area will not be released. You
  1016. should construct your batch files so that any early
  1017. exit from a loop will execute a SETLOOP 0 to force a
  1018. recovery of the TSR data area. BATCHMAN is smart enough
  1019. not only to find its previous TSR data, but will
  1020. prevent the creation of another if you try to enter two
  1021. SETLOOP commands.
  1022.  
  1023.     QFORMAT [d:] [N]
  1024.  
  1025.     {EL=0 if successful; EL=1 if not.}
  1026.  
  1027.  
  1028. QFORMAT is designed to wipe out all the files and
  1029. subdirectories on a floppy disk at a single stroke. To
  1030. keep you from accidentally trashing your hard disk, the
  1031. command will only accept A: or B: as drive arguments.
  1032.  
  1033. As a further precaution, QFORMAT warns you that all
  1034. data will be lost and requires that you press Y and
  1035. Enter to confirm. Any other keypress will abort the
  1036. process. If you don't want BATCHMAN to pause and ask
  1037. for your approval, however, you can add the optional N
  1038. argument to the command. The N stands for No Ask. Use
  1039. this option with caution!
  1040.  
  1041. QFORMAT will work only on diskettes that have already
  1042. been formatted by DOS. The DOS FORMAT command puts
  1043. vital information about the media type, number of
  1044. clusters per FAT, and so forth, in the boot sector of
  1045. the disk. BATCHMAN's QFORMAT command uses this
  1046. information to find and place zeros in the FAT and root
  1047. directory sectors of the disk.
  1048.  
  1049. The reason why QFORMAT can be so fast is that it
  1050. doesn't have to do the same work as the DOS FORMAT
  1051. command. FORMAT not only does a low level format but
  1052. also writes over the entire data area of the disk. It's
  1053. the low-level-and-data-format process that takes
  1054. forever. A low level format really needs be done only
  1055. once, and QFORMAT blithely skips that step. QFORMAT is
  1056. sophisticated enough to preserve bad sector
  1057. information, however.
  1058.  
  1059.     PUSHPATH
  1060.     {EL=0 if successful; EL=1 if not}
  1061.     .
  1062.     .
  1063.     POPPATH
  1064.     {EL=0 if successful; EL=1 if not}
  1065.  
  1066. PUSHPATH saves the current drive and directory, which
  1067. can then later be restored with POPPATH. Typically, a
  1068. batch file that executes an application includes a DOS
  1069. CD command (often a change of drive as well) move
  1070. operations to the place where the application resides.
  1071. After the application terminates, it's usually
  1072. desirable to return to the original path.
  1073.  
  1074. By way of example, to run Lotus 1-2-3 on drive D: and
  1075. then return to the default path afterwards, your batch
  1076. file would look something like this:
  1077.  
  1078.     BATCHMAN PUSHPATH
  1079.     D:
  1080.     CD \123
  1081.     123
  1082.     BATCHMAN POPPATH
  1083.  
  1084. PUSHPATH saves the current path in a TSR data area,
  1085. just as the SETLOOP command does. While only one byte
  1086. is reserved for SETLOOP's loop counter, however,
  1087. BATCHMAN's TSR data area allows stacking up several
  1088. paths with PUSHPATH. Subsequent POPPATH commands will
  1089. retrieve the paths in a LIFO (Last In First Out) stack
  1090. basis.
  1091.  
  1092. Suppose, for instance, that you're currently in your
  1093. directory and you issue the following commands:
  1094.  
  1095.     BATCHMAN PUSHPATH
  1096.     CD \DOS
  1097.     BATCHMAN PUSHPATH
  1098.     CD \PCMAG
  1099.     BATCHMAN POPPATH
  1100.     BATCHMAN POPPATH
  1101.  
  1102. In this sequence, the first POPPATH puts you back into
  1103. the \DOS subdirectory, and the last POPPATH restores
  1104. you to the root directory from which you started.
  1105.  
  1106. The number of path layers that can be stored will vary
  1107. with the length of each path pushed onto the stack.
  1108. BATCHMAN's TSR area reserves 408 bytes for paths, which
  1109. allows for 6 levels of nested paths if each path is the
  1110. maximum 65 characters allowed by DOS. Shorter path
  1111. names will allow nesting greater than 6 levels.
  1112.  
  1113. BATCHMAN returns an EL of 1 if it finds the stack too
  1114. full for another PUSHPATH or if the stack is already
  1115. empty with a POPPATH. Otherwise, the EL returned is
  1116. zero. When the last path is popped off the stack, the
  1117. TSR data area is discarded and returned to the DOS
  1118. memory pool.
  1119.  
  1120.     ANSI  {EL=0 if ANSI found;
  1121.     EL=1 if not found}
  1122.  
  1123. This BATCHMAN command is designed simply to determine
  1124. whether ANSI.SYS is or is not installed. If the EL is 1
  1125. you can then branch around any ANSI.SYS escape
  1126. sequences contained in your batch files. BATCHMAN is
  1127. smart enough to detect ANSI.SYS, but it will not find
  1128. other ANSI.SYS emulators, such as DesqView's DV-ANSI.
  1129.  
  1130.     BEEP [m,n[;m,n]...]{EL=0}
  1131.  
  1132. The BATCHMAN BEEP command gives you a great deal of
  1133. flexibility in controlling the frequency and length of
  1134. the sound DOS emits in response to a Ctrl-G character.
  1135. The m,n beep arguments are decimal numbers and are used
  1136. in pairs, separated by a comma. The m value represents
  1137. the frequency (in Hz.), and n is the number of 1/18th
  1138. second increments that comprise the duration.
  1139.  
  1140. The command for a middle C beep of a 1/2 second, for
  1141. example, would be:
  1142.  
  1143.     BATCHMAN BEEP 262,9
  1144.  
  1145. By separating the argument pairs with semicolons, you
  1146. can produce a series of tones with the same BEEP
  1147. command. You might, for example, try:
  1148.  
  1149. BATCHMAN BEEP 392,3;523,3;659,3;784,3;10,3;659,3;784,12
  1150.  
  1151. The lowest valid frequency is 19, a very low buzzing
  1152. sound. You can use a value less than 19 to create
  1153. pauses between tones: no sound will be emitted, but the
  1154. duration argument is executed, effectively producing a
  1155. programmable delay between notes.
  1156.  
  1157. If you omit all arguments, BEEP defaults to 1046,1 --
  1158. a C note for 1/18 of a second. The DOS Ctrl-G beep is a
  1159. frequency of 886 that lasts for one second. Musically,
  1160. a frequency of 886 is an out-of-tune A, which probably
  1161. explains why it grates on so many ears.
  1162.  
  1163.     WAITTIL hh:mm[ss]
  1164.  
  1165.     {EL=0 if successful; EL=1 if aborted}
  1166.  
  1167. WAITTIL provides a convenient way to pause until a
  1168. certain time of day. The hh:mm:[ss] argument is the
  1169. time in hours, minutes, and optionally seconds.
  1170. BATCHMAN will wait until the specified time arrives
  1171. but you can manually abort the wait by entering any
  1172. keystroke. A typical application for WAITTIL would be
  1173. to execute an electronic bulletin board communications
  1174. program that would automatically download messages late
  1175. at night when rates are lower.
  1176.  
  1177.     WAITFOR [mm:]ss
  1178.  
  1179.     {EL=0 if successful; EL=1 if aborted}
  1180.  
  1181. WAITFOR simply pauses for a specified number of minutes
  1182. (mm) and seconds (ss). You can omit the minute part of
  1183. the argument if you desire. As with WAITTIL, the
  1184. WAITFOR delay can be over-ridden by pressing a key.
  1185.  
  1186.     CURSORTYPE [m,n]
  1187.  
  1188. You can use CURSORTYPE either to create a cursor size
  1189. that suits your taste or to restore the normal
  1190. underline cursor after an application alters it.
  1191. Entering CURSORTYPE without any arguments will default
  1192. to the standard underline cursor. To create a custom
  1193. cursor, you supply the m,n arguments as the start and
  1194. stop line values. These values can be either decimal or
  1195. hex; for hex input, add an "h" suffix to the number.
  1196.  
  1197. The top of the character box is logical line zero;
  1198. successively-numbered lines increment downward. The
  1199. valid scan line values used for m and n are 0-7 for a
  1200. CGA, 0-13 for a monochrome or EGA, and 0-15 for a VGA.
  1201. The default underline cursor start/stop lines are 6,7
  1202. for a CGA, 11,12 for a monochrome or EGA, and 13,14 for
  1203. a VGA. To set an EGA solid block cursor, for example,
  1204. enter:
  1205.  
  1206.     BATCHMAN CURSORTYPE 0,13
  1207.  
  1208. Note that the EGA BIOS on some video boards will
  1209. attempt to override your selections. BATCHMAN
  1210. temporarily turns off this BIOS EGA emulation logic for
  1211. all video boards when the cursor type is set, and this
  1212. seems to work for most systems. However, if entering
  1213. CURSORTYPE without arguments does not give you the
  1214. normal default underline cursor, you can explicitly
  1215. request an underline cursor that fits your display. You
  1216. may need to do this for video modes other than the
  1217. normal 25 line modes. A "wrap around" cursor, in which
  1218. the stop line has a lesser value than the start line,
  1219. is supported by the hardware of only some video
  1220. systems.
  1221.  
  1222.     BREAK                 {EL=0 if OFF; EL=1 if ON}
  1223.  
  1224. The BATCHMAN BREAK command returns the current state of
  1225. DOS's Ctrl-Break checking. You can change the state of
  1226. BREAK with the DOS command of the same name.
  1227.  
  1228.     DRIVEEXIST d:         {EL=1 if exist; EL=0 if not}
  1229.     DIREXIST directory    {EL=1 if exist; EL=0 if not}
  1230.  
  1231. These two BATCHMAN commands are used to return an EL of
  1232. 1 to your batch files if the specified variable exists.
  1233.  
  1234.     ISVOL [d:]volume      {EL=1 if exist; EL=0 if not}
  1235.  
  1236. Similarly, this command returns an EL of 1 if a
  1237. particular disk volume exists on the named drive.
  1238.  
  1239.     YEAR      {EL=year from 1980 (0-199), where 0=1980}
  1240.     MONTH     {EL=(1-12)}
  1241.     DAY       {EL=(1-31)}
  1242.     WEEKDAY   {EL=(0-6), where Sun=0; Sat=6}
  1243.     HOUR      {EL=(0-23)}
  1244.     MINUTE    {EL=(0-59)}
  1245.     SECOND    {EL=(0-59)}
  1246.  
  1247. This group of BATCHMAN commands returns the system time
  1248. and date. Note that you can obtain a relatively fine
  1249. resolution of the time.
  1250.  
  1251.     VIDEOMODE             {EL=(0-19)}
  1252.  
  1253. The EL returned by the VIDEOMODE command allows you to
  1254. determine which of the possible screen modes listed in
  1255. Figure 3 is currently being used by your display.
  1256.  
  1257.     ROWS                  {EL=display rows}
  1258.     COLS                  {EL=display columns}
  1259.  
  1260. These obvious but very handy commands return the
  1261. current number of rows or columns displayed.
  1262.  
  1263.     SETCURSOR m,n         {EL=0}
  1264.  
  1265. By supplying values for m (the row) and n (the column)
  1266. you can use SETCURSOR to place your cursor at the
  1267. specified screen location. By using SETCURSOR in
  1268. concert with CECHO you can precisely control the
  1269. location of your messages. For example, to display
  1270. "Gotham City" in blue in the middle of the screen, you
  1271. would create the following batch file:
  1272.  
  1273.     ECHO OFF
  1274.     BATCHMAN SETCURSOR 12,35
  1275.     BATCHMAN CECHO 1,Gotham City
  1276.  
  1277. Be sure to include the ECHO OFF command, both so that
  1278. DOS won't spoil your display by echoing the commands.
  1279.  
  1280. A related use of SETCURSOR is to hide the cursor. You
  1281. can do this by setting the cursor to display on line
  1282. 26, which is off screen. Be sure to issue a second
  1283. SETCURSOR command that puts the cursor back on screen
  1284. once the hidden cursor is no longer needed, or you
  1285. won't be able to see what you type! If you forget,
  1286. don't panic. Just press Esc, blindly type CLS and press
  1287. Enter, and things will return to normal.
  1288.  
  1289.     E43V50           {EL=0 if successful; EL=1 if not}
  1290.  
  1291. This BATCHMAN command loads the 8x8 BIOS font for an
  1292. EGA or VGA monitor. This changes the number of lines
  1293. displayed to 43 (EGA) or 50 (VGA}. You can use the DOS
  1294. MODE command to return to the normal 25-line display.
  1295.  
  1296.     PRTSC            {EL=0}
  1297.  
  1298. This command will execute a printer screen dump exactly
  1299. as if you had pressed Shift-PrtSc on an 83-key keyboard
  1300. or the dedicated Print Screen key on a 101-key
  1301. keyboard.
  1302.  
  1303.     COMPARE string1 string2
  1304.  
  1305.     {EL=0 if match; EL=1 if no match}
  1306.  
  1307. The BATCHMAN COMPARE makes a case insensitive
  1308. comparison between two strings. For most purposes
  1309. you'll probably want to use COMPARE instead of the case
  1310. sensitive DOS batch command:
  1311.  
  1312.     IF string1==string2
  1313.  
  1314. With the DOS IF string comparison a non-case sensitive
  1315. match one test for uppercase and one for lowercase.
  1316. Even this does not guarantee a match if the string is a
  1317. mixture of upper and lower case. COMPARE solves this
  1318. problem. Note that the BATCHMAN COMPARE does not need
  1319. the double equal signs the DOS IF command uses.
  1320.  
  1321.     CANCOPY filespec [d:]
  1322.  
  1323.     {EL=0 if room to copy; EL=1 if not}
  1324.  
  1325. Before you copy a file or a number of files to another
  1326. drive (especially a floppy disk drive), you can use
  1327. CANCOPY to see if there is enough room for all the
  1328. specified files. The filespec you supply can use the
  1329. DOS ? and * wildcards. If you don't specify the target
  1330. drive, the default drive is checked. Thus, for example,
  1331. to check whether the collection of PC Magazine
  1332. utilities you keep in a directory called PCMAG on drive
  1333. C: will fit onto a floppy, you would enter:
  1334.  
  1335.     BATCHMAN CANCOPY C:\PCMAG\*.* A:
  1336.  
  1337. BATCHMAN returns an EL of 0 if there is room; otherwise
  1338. a 1 would be returned. If you enter this from the DOS
  1339. command line, you'll want to include the /R option to
  1340. see the EL returned on screen.
  1341.  
  1342.     WARMBOOT
  1343.     COLDBOOT
  1344.  
  1345. As their names imply, WARMBOOT and COLDBOOT reboot your
  1346. system. WARMBOOT does the same thing as pressing
  1347. Ctrl-Alt-Del; COLDBOOT is like hitting the big red
  1348. switch. A COLDBOOT does a memory check (among other
  1349. things) that WARMBOOT does not, and it takes a lot more
  1350. time. Of course, be forewarned that with either of
  1351. these commands all unsaved data in RAM memory will be
  1352. lost. Note that WARMBOOT and COLDBOOT may not work on
  1353. some non-compatible systems.
  1354.  
  1355.     SHIFT ALT | CTRL
  1356.  
  1357.     {EL=1 if depressed; EL=0 if not}
  1358.  
  1359. This command returns the state of either the Alt or
  1360. Ctrl key. For example,
  1361.  
  1362.     BATCHMAN CTRL
  1363.  
  1364. returns an EL of 1 if the Ctrl key is currently
  1365. depressed. You can use the SHIFT command along with the
  1366. BATCHMAN GETKEY command without arguments to detect
  1367. alternate key presses. (See GETKEY, below, for an
  1368. example.)
  1369.  
  1370.     NUMLOCK [ON | OFF]   {EL=0}
  1371.     CAPSLOCK [ON | OFF]  {EL=0}
  1372.     SCROLLOCK [ON | OFF] {EL=0}
  1373.  
  1374. These three self-explanatory commands toggle the
  1375. current shift state of the NumLock, CapsLock or
  1376. ScrollLock keys when used without the ON or OFF
  1377. options. They explicitly turn the three keys on or off
  1378. if the optional arguments are supplied.
  1379.  
  1380. Thus, for example:
  1381.  
  1382.     BATCHMAN NUMLOCK
  1383.  
  1384. will toggle the NumLock state on if it was off or off
  1385. if it was on. Entering
  1386.  
  1387.     BATCHMAN NUMLOCK OFF
  1388.  
  1389. will turn the NumLock state off regardless of whether
  1390. it is currently on or off. This latter would be a
  1391. useful line in your AUTOEXEC.BAT if you use the numeric
  1392. keypad for cursor navigation instead of number entry.
  1393. Note that on some keyboards the LED indicator lights
  1394. may not faithfully track changes in shift status.
  1395.  
  1396.     RENDIR old new {EL=0 if successful; EL=1 if not}
  1397.  
  1398. The RENDIR command will rename a directory, but only on
  1399. systems using DOS 3.0 or later. To use it simply enter
  1400. the path of the old directory and the new name.
  1401.  
  1402. For example, to change the name of a temporary
  1403. directory named TMP on the C: drive to a permanent
  1404. name, say, ROBIN, you would enter:
  1405.  
  1406.     BATCHMAN RENDIR C:\TMP C:\ROBIN
  1407.  
  1408. Be sure to include the complete path for both the old
  1409. and new directory names if the directory is other than
  1410. the default.
  1411.  
  1412.     ROMDATE  {EL=0}
  1413.  
  1414. ROMDATE displays the eight bytes of the BIOS date at
  1415. address FFFF:0005 of the ROM BIOS. Usually, the display
  1416. will be something like 10/07/87, but some clone BIOSs
  1417. do not have a date. If no ASCII numbers are found,
  1418. BATCHMAN displays nothing.
  1419.  
  1420.     GETKEY ['string' n]
  1421.  
  1422.     {EL=scan code if no ['string' n] list;
  1423.      else EL=position in list.}
  1424.  
  1425. There are probably hundreds of versions of the batch
  1426. file GETKEY program. They return the scan code of the
  1427. next key you press as an EL. If you enter the BATCHMAN
  1428. GETKEY command without the optional (bracketed)
  1429. arguments, it will do the same thing.
  1430.  
  1431. Entered without arguments, GETKEY can also be used with
  1432. the BATCHMAN SHIFT command to detect Alt- or Ctrl- key
  1433. combinations. The scan code for the "Q" key is 16. To
  1434. check for an Alt-Q keypress (perhaps as a Quit key
  1435. command), you would use the following batch file:
  1436.  
  1437.     ECHO OFF
  1438.     GETKEY
  1439.     BATCHMAN GETKEY
  1440.     IF NOT ERRORLEVEL 16 GOTO GETKEY
  1441.     BATCHMAN SHIFT ALT
  1442.     IF NOT ERRORLEVEL 1 GOTO GETKEY
  1443.     ECHO Alt-Q was pressed.
  1444.  
  1445. GETKEY's optional key list provides still another kind
  1446. of functionality with its optional key list. The
  1447. information you need may not be the scan code of a
  1448. given key, but rather its position in a string. If you
  1449. supply the optional 'string' argument to GETKEY,
  1450. BATCHMAN will wait either until one of those keys
  1451. listed has been pressed or until you break out of the
  1452. command with Ctrl-Break or Ctrl-C. An example may
  1453. helpful here. With the command:
  1454.  
  1455.     BATCHMAN GETKEY 'yn'
  1456.  
  1457. BATCHMAN will wait until either the "Y" or the "N" key
  1458. or one of the break keys mentioned above is
  1459. detected. All other keypresses are ignored, and if the
  1460. break-out keys are pressed, the EL returned will be
  1461. 255. GETKEY is not case sensitive, so if either "Y" or
  1462. "y" is pressed, the EL will be 1, since the "y" is the
  1463. first character in the string of valid keypresses. For
  1464. "N", an EL of 2 will return.
  1465.  
  1466. The string must be enclosed in a pair either of single
  1467. or double quotes. If you want the single quote included
  1468. as a valid keypress, enclose it in double quotes and
  1469. vice versa for double quotes, as in the following
  1470. example:
  1471.  
  1472.     BATCHMAN GETKEY '"'
  1473.  
  1474. You can also include the function keys (even the F11
  1475. and F12 keys of the extended keyboard) in the GETKEY
  1476. list. The function key numbers are listed without
  1477. quotes, (they are designated by the n in the command
  1478. syntax above), and may or may not be further identified
  1479. with a leading "F." Multiple function keys are
  1480. delimited by either a space, comma or semicolon. To add
  1481. the F1 and F2 as valid keys to the "yn" string example
  1482. above, you would enter either:
  1483.  
  1484.     BATCHMAN GETKEY "yn" F1 F2
  1485.  
  1486. or just
  1487.  
  1488.     BATCHMAN GETKEY "yn" 1 2
  1489.  
  1490. If F1 is now pressed, the returned EL will be 3, since
  1491. F1 is the third entry in the list.
  1492.  
  1493.     DOSVER           {EL=(major*32)+minor}
  1494.  
  1495. DOSVER returns an EL representation of the DOS version
  1496. in use. DOS version numbers have two parts, the Major
  1497. version (the number to the left of the decimal point)
  1498. and the Minor version (the number to the right). For
  1499. DOS version 3.10, then, 3 is the major and the 10 is
  1500. the minor. Since the largest EL number is 255, the DOS
  1501. version number does not fit conveniently into an EL.
  1502. For DOS 3.10, for example, if the dot is discarded the
  1503. remaining 310 is too large for an EL.
  1504.  
  1505. Of course, BATCHMAN could be content to return only the
  1506. major number, truncating anything after the dot, or
  1507. even the first digit after the dot. But that would be
  1508. less than sufficient for some applications. So instead,
  1509. the DOSVER command compresses the version number by
  1510. multiplying the major number by 32 and adding it to the
  1511. minor number. With DOS 3.30 the result will be (3*32)+
  1512. 30=126; with DOS 4.00 it would be 128. If there had
  1513. been a DOS version 3.32 we would have a problem of
  1514. course, since this would also return 128. Historically
  1515. speaking however, we are safe here.
  1516.  
  1517.     MAINMEM n | R  {EL=0 if enough}
  1518.     EXPMEM  n | R  {EL=0 if enough}
  1519.     EXTMEM  n | R  {EL=0 if enough}
  1520.  
  1521. The arguments for these three memory commands can be
  1522. either a decimal number, n, or an R. The decimal
  1523. argument is used to check whether the desired amount of
  1524. memory (in KB) is free. If BATCHMAN finds that there is
  1525. enough free memory to meet the request, the EL will be
  1526. 0. Thus, if an application needs 512K bytes of the 640K
  1527. maximum possible with DOS, you would enter:
  1528.  
  1529.     BATCHMAN MAINMEM 512
  1530.  
  1531. The EL will return 0 if there are at least 512K bytes
  1532. free; otherwise, a 1. Your batch file can then branch
  1533. to an error message if there is not enough memory to
  1534. run the application. Note that these memory commands do
  1535. not allocate the memory. They only check if it is free.
  1536.  
  1537. The alternative R argument stands for Report and will
  1538. display the current free memory of the type requested
  1539. on the screen. To see how much free expanded memory you
  1540. have, for example, enter:
  1541.  
  1542.     BATCHMAN EXPMEM R
  1543.  
  1544. The report option of the three types of memory will go
  1545. nicely with BATCHMAN's ROMDATE command in a system
  1546. information batch file.
  1547.  
  1548.     DISPLAY              {EL=display type}
  1549.  
  1550. The DISPLAY command will report on the type of display
  1551. your system has installed. The values returned by
  1552. DISPLAY as EL codes are:
  1553.  
  1554.     1=MDA
  1555.     2=CGA
  1556.     4=EGA color
  1557.     5=EGA mono
  1558.     6=PGS
  1559.     7=VGA mono
  1560.     8=VGA color
  1561.     11=MCGA mono
  1562.     12=MCGA color
  1563.  
  1564.     CPU  {EL=CPU type}
  1565.  
  1566. Similarly, the CPU command returns an EL that indicates
  1567. the microprocessor used by your machine. The specific
  1568. EL numbers are: 1=8086/8088; 2=80186; 3=80286; and
  1569. 4=80386.
  1570.  
  1571.     WINDOW m,n,w,h[,c,b]
  1572.  
  1573.     {EL=0 if successful; EL=1 if not}
  1574.  
  1575. The powerful WINDOW command displays screen boxes. It
  1576. provides several parameters and options. The first two
  1577. decimal numbers (m,n) are the row and column of the top
  1578. left hand corner of the window. The next two decimal
  1579. numbers (w,h) are the desired width and height of the
  1580. window (including the border characters.)
  1581.  
  1582. The smallest size that WINDOW allows is 2 characters in
  1583. width and height. The optional fifth parameter, c, can
  1584. be either a hexadecimal or decimal number for the
  1585. color of the window. If no color argument is
  1586. supplied, the current color of the screen is used by
  1587. default. The last parameter, b, sets the type of border
  1588. used to surround the window. If no parameter is found,
  1589. spaces are used. If you enter a minus sign for b, a
  1590. single-line box character will be drawn. An equals sign
  1591. for b will produce a the double-line box character. In
  1592. all cases, the center of the window is cleared with
  1593. spaces of the chosen color. For example, the command
  1594.  
  1595.     BATCHMAN WINDOW 1,1,80,25,17h,=
  1596.  
  1597. will create a blue window with white double line box
  1598. characters that will fill the entire screen, making a
  1599. nice menu frame. Text could then be added with the
  1600. BATCHMAN SETCURSOR and CECHO commands.
  1601.  
  1602.     TYPEMATIC [m,n | N]
  1603.  
  1604.     {EL=0 if valid parameters; EL=1 if not}
  1605.  
  1606.     m=typematic rate (0 - 31); larger m=faster rate
  1607.     n=initial delay  (0 - 3); larger n=longer delay
  1608.     N=normal: m=20; n=1; default: m=25; n=0
  1609.  
  1610. TYPEMATIC works only with keyboards that support
  1611. adjustable typematic (automatic key repeating) rates at
  1612. the BIOS level. That includes most machines, starting
  1613. with the AT, but not all clones.
  1614.  
  1615. The first optional decimal parameter, m, is a number
  1616. between 0 and 31 and represents the desired typematic
  1617. rate. The larger the m value, the faster your keyboard
  1618. will repeat keystrokes. The second parameter, n, has a
  1619. range of 0-3, and sets the initial delay. This delay is
  1620. the length of time you must hold down a key before it
  1621. begins repeating. The larger the delay value the longer
  1622. the delay. The delay parameters are in increments of
  1623. 1/4 second, with 0=1/4 and 3=1 second. The typematic
  1624. parameters are divisors and cannot be easily be
  1625. translated into fractions of a second, however, and so
  1626. should be thought of only as a gradient scale.
  1627.  
  1628. If you don't enter any parameters, TYPEMATIC defaults
  1629. to a repeat rate of 25 and a delay of 0. The 25
  1630. translates into about 17 characters per second with
  1631. an initial delay of 1/4 second. You can restore the
  1632. typematic rate to the normal hardware defaults with:
  1633.  
  1634.     BATCHMAN TYPEMATIC N
  1635.  
  1636. @@BLOAD & BSAVE
  1637. BLOAD and BSAVE
  1638. Save and reload the screen display
  1639. -------------------------------------------------------
  1640.  
  1641. Purpose
  1642. -------
  1643. Similar to the BASIC commands of the same name, these
  1644. two programs provide a simple ability to save and
  1645. reload screen displays. They are included here for
  1646. use with the DRAW program.
  1647.  
  1648. Format
  1649. ------
  1650.  
  1651.     BSAVE filename
  1652.  
  1653. then
  1654.  
  1655.     BLOAD filename
  1656.  
  1657. Remarks
  1658. -------
  1659. BSAVE stores the currently displayed screen in a file.
  1660. The BLOAD command can then be used to reload it. If
  1661. the screen is a graphic image, you should use the
  1662. VIDMODE command included on this disk to set
  1663. the appropriate display mode before using BLOAD.
  1664.  
  1665. BLOAD and BSAVE can be used in batch files to
  1666. quickly display complete screens or drawings.
  1667. See the DRAW command for more information.
  1668. @@BROWSE
  1669. BROWSE                                  Charles Petzold
  1670. Browse text files on-screen
  1671. -------------------------------------------------------
  1672.  
  1673. Purpose
  1674. -------
  1675. BROWSE displays any plain text file on-screen and lets
  1676. you scroll forward and backward without having to start
  1677. a word processing program.
  1678.  
  1679. Format
  1680. ------
  1681.  
  1682.     BROWSE [d:][path]filename[.ext] [/W]
  1683.  
  1684. Remarks
  1685. -------
  1686. The DOS TYPE command does not permit you to scroll
  1687. ahead or go back to previously displayed material in a
  1688. file. It also exits at the first instance of Ctrl-Z
  1689. (ASCII 26, conventionally used as an End-of-File
  1690. marker), making it impossible to scan binary (e.g.
  1691. .COM) files for error messages, copyright notices, and
  1692. the like.
  1693.  
  1694. BROWSE overcomes these shortcomings, giving you the
  1695. chance to go immediately to the top or to the end of a
  1696. file (the Home and End keys, respectively), to the
  1697. succeeding or previous screen (PgUp and PgDn), or to
  1698. move up or down a line at a time (Up Arrow or Down
  1699. Arrow). To return to DOS, simply press the Escape key
  1700. or Ctrl-Break.
  1701.  
  1702. Wide displays, e.g. a spreadsheet file, are not broken
  1703. at 80 columns, as with TYPE. BROWSE ignores carriage
  1704. returns (ASCII 13), breaking lines only on line feeds
  1705. (ASCII 10). The Right Arrow key scrolls the display to
  1706. the right in eight-character increments (see Note 3
  1707. below) to view wide displays; the Left Arrow key
  1708. returns you immediately to column zero.
  1709.  
  1710. BROWSE expands tab characters (ASCII 9) to the next
  1711. eight-character boundary, but does no other character
  1712. processing unless the /W parameter is specified. Use of
  1713. the /W option permits using BROWSE with WordStar files.
  1714.  
  1715. Notes
  1716. -----
  1717. 1. BROWSE can run under TopView or Windows; specify
  1718.    "writes directly to screen" in the .PIF and use the
  1719.    default 52K memory requirement. (The program
  1720.    actually requires only approximately 33K to run.)
  1721.  
  1722. 2. BROWSE is compatible with the IBM Monochrome, CGA,
  1723.    EGA and VGA displays, and will run in the 43- or
  1724.    50-line mode. Files prepared with word-processors
  1725.    that employ a one-line-per-paragraph format (such
  1726.    as Microsoft Word and XyWrite) may require
  1727.    excessive right scrolling, however.
  1728.  
  1729. 3. BROWSE can be patched with DEBUG so that its
  1730.    right-scroll jumps by more than the default eight
  1731.    characters. The address to patch is 10F in the .COM
  1732.    file. After entering DEBUG BROWSE.COM type:
  1733.  
  1734.     E 10F
  1735.  
  1736.    and the default value (08h) will appear. Type the
  1737.    desired hexadecimal number (28 for a 40-column
  1738.    increment; 50 for an 80-column increment) and press
  1739.    <Enter>. Then type W<Enter> to write to the disk and
  1740.    Q<Enter> to quit DEBUG.
  1741.  
  1742. 4. Requires DOS 2.0 or later.
  1743. @@CHANGE
  1744. CHANGE                               Michael J. Mefford
  1745. Fast text search-and-replace
  1746. -------------------------------------------------------
  1747.  
  1748. Purpose
  1749. -------
  1750. Performs a rapid search-and-replace operation for text
  1751. strings and/or ASCII decimal codes throughout a file of
  1752. maximum 40,000-byte length.
  1753.  
  1754. Format
  1755. ------
  1756.  
  1757.     CHANGE filespec findstring replacestring
  1758.  
  1759. Remarks
  1760. -------
  1761. The filespec parameter may include a drive letter and a
  1762. path in addition to the designated filename.
  1763.  
  1764. Findstring and replacestring may consist of text
  1765. characters enclosed within (double) quote marks or
  1766. ASCII decimal codes whose numbers are separated by
  1767. commas. Note that the format requires that each
  1768. parameter be separated by a single space. Text strings
  1769. in quotes and ASCII values in numerals may be combined
  1770. in either string if separated by commas.
  1771.  
  1772. Example
  1773. --------
  1774. To change all references to Miss Jones to Mrs Smith in
  1775. the file NOGOSSIP.ART on the current directory, you
  1776. would enter
  1777.  
  1778.     CHANGE NOGOSSIP.ART "Miss Jones" "Mrs Smith"
  1779.  
  1780. Example
  1781. --------
  1782. To strip out all carriage return-line feeds (i.e.
  1783. replace them with a null string) in the file MCI.B16 in
  1784. the \COMM subdirectory, enter
  1785.  
  1786.     CHANGE \COMM\MCI.B16 13,10 ""
  1787.  
  1788. Notes
  1789. -----
  1790. 1. In the second example you might want to use a space
  1791.    between the quote marks rather than a null string to
  1792.    keep the words from running together. Observe that
  1793.    by putting the number of the month in hexadecimal
  1794.    (B=November) you can fit both month and day within
  1795.    the three character DOS filename extension.
  1796. @@COPYSAFE
  1797. COPYSAFE                             Michael J. Mefford
  1798. Adds overwrite protection to the COPY command
  1799. -------------------------------------------------------
  1800.  
  1801. Purpose
  1802. -------
  1803. Prevents accidentally over-writing files when using the
  1804. COPY command.
  1805.  
  1806. Format
  1807. ------
  1808.  
  1809.     COPYSAFE
  1810.  
  1811. Remarks
  1812. -------
  1813. COPYSAFE is a memory-resident utility that displays the
  1814. filename(s), drive, and directory of any file that will
  1815. be overwritten if a COPY command is executed. After
  1816. being warned, you are given the opportunity either to
  1817. terminate the COPY procedure or to continue, and so
  1818. overwrite the file(s).
  1819.  
  1820. COPYSAFE should be loaded only once per session. The
  1821. best procedure is to include it in an AUTOEXEC.BAT
  1822. file. Be sure, however, to load COPYSAFE after any
  1823. commands (such as DATE or TIME) that pause for user
  1824. input.
  1825.  
  1826. Notes
  1827. -----
  1828. 1. Because of the way DOS processes commands in a batch
  1829.    file, COPYSAFE cannot warn against accidental
  1830.    overwriting if you run COPY as part of a .BAT file.
  1831.    Similarly, it is not designed to handle instances in
  1832.    which the COPY command is used to concatenate files.
  1833.  
  1834. 2. COPYSAFE is highly compatible with other
  1835.    memory-resident programs, but because absolute
  1836.    compatibility among all possible TSR (terminate but
  1837.    stay resident) utilities cannot be guaranteed, you
  1838.    should check its operation on your system thoroughly
  1839.    before you rely on it completely.
  1840. @@CS
  1841. CS                                      Charles Petzold
  1842. 43- or 50-line mode clear screen
  1843. -------------------------------------------------------
  1844.  
  1845. Purpose
  1846. -------
  1847. Clears the screen when using an EGA or VGA in 43 or 50
  1848. line format.
  1849.  
  1850. Format
  1851. ------
  1852.  
  1853.     CS
  1854.  
  1855. Remarks
  1856. -------
  1857. The DOS CLS command is hard-coded for a 25-line
  1858. display and so does not fully clear the screen when
  1859. using the 43-line format on an EGA or the equivalent
  1860. 50-line format on a VGA display. CS is a simple
  1861. replacement for CLS in such cases.
  1862.  
  1863. CS will also work for other variations on the
  1864. normal 80 column mode 3 display but it doesn't
  1865. operate with non-standard modes such as 132 or
  1866. 120 columns provided by 'Super VGA' displays.
  1867. However, the normal CLS command will usually
  1868. operate in these cases.
  1869.  
  1870. Unlike CLS, CS tries to preserve the current
  1871. screen colors when it clears the screen.
  1872. @@DIRCOMP
  1873. DIRCOMP                                 Charles Petzold
  1874. Lists two directories side-by-side
  1875. -------------------------------------------------------
  1876.  
  1877. Purpose
  1878. -------
  1879. Permits comparison of the contents of two directories
  1880. in alphabetical order, with the options of redirecting
  1881. the screen display either to a file or to a printer.
  1882.  
  1883. Format
  1884. ------
  1885.  
  1886.     DIRCOMP directory1 directory2
  1887.  
  1888. Remarks
  1889. -------
  1890. The directories to be compared do not need to be on
  1891. the same drive. Use the normal DOS backslash (\)
  1892. character in specifying the path to a desired
  1893. directory. The DOS "wildcard" characters (* and ?)
  1894. may be used to limit the filenames displayed.
  1895.  
  1896. Identically-named files are shown side-by-side to
  1897. facilitate comparison of their size, date, and time.
  1898. Other filenames are presented alphabetically in their
  1899. respective directory columns. Press [Pause] to halt
  1900. the display scrolling temporarily; striking any
  1901. key thereafter causes scrolling to resume.
  1902.  
  1903. In comparing large directories it is frequently
  1904. desirable to redirect the output of DIRCOMP either to
  1905. a file (which you can then call up with your word
  1906. processor) or to a printer.
  1907.  
  1908. Example
  1909. -------
  1910. To create a file called COMPARE.TMP in the root
  1911. directory of drive C: (your currently active drive)
  1912. that compares the listings in your \LETTERS
  1913. subdirectory with the files contained on a floppy disk
  1914. in drive B: you would enter:
  1915.  
  1916.     DIRCOMP \LETTERS B: > \COMPARE.TMP
  1917.  
  1918. Example
  1919. -------
  1920. To print out the same comparison without creating a
  1921. file, you would enter:
  1922.  
  1923.     DIRCOMP \LETTERS B: >PRN
  1924. @@DIRMATCH
  1925. DIRMATCH                             Michael J. Mefford
  1926. Visual compare of two directories
  1927. -------------------------------------------------------
  1928.  
  1929. Purpose
  1930. -------
  1931. To display two scrollable, alphabetized, directory
  1932. listings side-by-side, with the more recent of matching
  1933. filenames highlighted; to provide mark, copy, and move
  1934. facilities to update the target directory with one or
  1935. more selected files from the source.
  1936.  
  1937. Format
  1938. ------
  1939.  
  1940.     DIRMATCH source target [/D][/A]
  1941.  
  1942. Remarks
  1943. -------
  1944. The source and target may comprise any combination of
  1945. drives, directories, or subdirectories (with optional *
  1946. and ? wildcards) valid for the DOS DIR command. The
  1947. user will be prompted for target and source directories
  1948. if his entry is incorrect. By default, DIRMATCH
  1949. displays all files in the two directories. The optional
  1950. /D and /A switches restrict the display to Different
  1951. and Alike files, respectively. The on-screen display,
  1952. together with the number-of-files counters, can be
  1953. cycled through All, Different, and Alike modes with F1;
  1954. Shift-F1 cycles in reverse. Pressing Esc exits the
  1955. utility. Ctrl-C will abort the program operation.
  1956.  
  1957. An inverse-video selector bar shows the current
  1958. position in the listings, and may be moved with the
  1959. UpArrow, DownArrow, PgUp, PgDn, Home, and End keys.
  1960. When the selector bar is on a filename, pressing the
  1961. plus (+) key on the keypad or the equal (+=) key on the
  1962. keyboard marks the file for further action. Pressing
  1963. the minus (-) key on the keypad or the hyphen (-) key
  1964. on the keyboard unmarks a marked file. F2 marks all
  1965. files; F3 clears all marks.
  1966.  
  1967. A file under the selector-bar or a group of marked
  1968. files can be copied from source to target directories
  1969. by pressing F4. A confirming prompt is provided.
  1970. Similarly, pressing F5 moves a file or marked group, by
  1971. first copying and then deleting file(s) from the
  1972. source. While older files can be copied (F4) to the
  1973. target directory, by default F5 will not move them.
  1974.  
  1975. F6 will delete the marked files from the source
  1976. directory after prompting for confirmation. F7 moves
  1977. marked files only if there are not existing files in
  1978. the target directory with the same name.
  1979.  
  1980. F8 reverses the source and target directories on the
  1981. screen making the current source the target and the
  1982. current target the source. This allows the user to move
  1983. and copy files in any direction and to delete any file.
  1984. This is especially helpful when updating two
  1985. directories that have been maintained independently
  1986. (e.g., at the office and at home) so that they will
  1987. both have the latest versions of the same file.
  1988.  
  1989. Pressing F9 prints a list of All files, with more
  1990. recent matching filenames identified with a
  1991. greater-than (>) sign. F10 displays the amount of free
  1992. space on the target disk drive.
  1993.  
  1994. DIRMATCH supports any number of screen display lines,
  1995. including 43-line (EGA) and 50-line (VGA) modes. It can
  1996. display up to 1,423 filenames in its listings. Hidden
  1997. and read-only files are not displayed. DIRMATCH
  1998. requires 64K free RAM in order to run.
  1999.  
  2000. New features in Version 2.0:
  2001.  
  2002. F6  Delete file(s)
  2003.  
  2004. F7  Moves file(s)
  2005.     (if not already on Target directory)
  2006.  
  2007. F8  Swaps Target & Source directories
  2008.  
  2009. F9  Pressing F9 prints a list of all files, with more
  2010.     recent matching filenames identified with a
  2011.     greater-than (>) sign
  2012.  
  2013. F10 Checks amount of free disk space in Target
  2014.     directory
  2015.  
  2016. Color patch addresses:
  2017.  
  2018.   EE9 Heading
  2019.   EEE File listings
  2020.   EF3 Bottom menu
  2021.   EF8 Highlight bar
  2022.   EFD Directory names & F1 active mode toggle
  2023.   F02 Recent Files
  2024.  
  2025. How to use DEBUG to patch colors:
  2026.  
  2027.   Dark colors    Light colors
  2028.   -----------    ------------
  2029.   Black    0     Dark Gray 8
  2030.   Blue     1     Lt Blue   9
  2031.   Green    2     Lt Green  A
  2032.   Cyan     3     Lt Cyan   B
  2033.   Red      4     Orange    C
  2034.   Magenta  5     Violet    D
  2035.   Brown    6     Yellow    E
  2036.   Lt Gray  7     White     F
  2037.  
  2038. To change an area's default colors (background &
  2039. foreground), simply choose from the list of available
  2040. colors above and substitute the corresponding values
  2041. at the appropriate location.
  2042.  
  2043. When choosing a color combination, remember that the
  2044. first value represents the background color and the
  2045. second value represents the foreground color. NOTE:
  2046. using a light color as the background color will
  2047. result in blinking characters.
  2048.  
  2049. For example, if you wanted to change the heading from
  2050. the default colors of blue on gray to white on red,
  2051. you would change the value at location EDF from "71" to
  2052. "4F." Here is the sequence of DEBUG commands to do
  2053. this:
  2054.  
  2055.     DEBUG DIRMATCH.COM
  2056.  
  2057.     (Tell DEBUG to load DIRMATCH.COM)
  2058.  
  2059.     E EDF 4F
  2060.  
  2061.     (Edit location "EDF" & replace value with "4F")
  2062.  
  2063.     W
  2064.  
  2065.     (Write the modified DIRMATCH.COM file to disk)
  2066.  
  2067.     Q
  2068.  
  2069.     ( Quit DEBUG)
  2070. @@DOC
  2071. DOC
  2072. Documentation viewer and printer            version 1.1
  2073. -------------------------------------------------------
  2074.  
  2075. Purpose
  2076. -------
  2077. DOC is a simple on-disk documentation viewer to present
  2078. the manuals for the programs on this disk. It displays
  2079. a list of available documents down the left side of the
  2080. screen and shows the text of the currently selected
  2081. document on the right. DOC has a simple printing ability
  2082. which will produce a neat printout of a document so
  2083. that you can have a manual to hand while working
  2084. with a program.
  2085.  
  2086. Running DOC
  2087. -----------
  2088. To start DOC, enter the command DOC. If you're looking
  2089. for a particular manual, you may also give it at the
  2090. command line. For example:
  2091.  
  2092.     DOC CDX
  2093.  
  2094. starts DOC and asks it to look for the manual for the
  2095. CDX program.
  2096.  
  2097. To select documents, use the up and down arrow keys to
  2098. move through the list on the left. Typing the initial
  2099. letter of a document name will jump directly to the
  2100. next matching document. Once you've found the document
  2101. you want, press TAB or the right arrow key to move
  2102. to the text of the document on the right. The cursor
  2103. keys (Home, End, Up, Down, PgUp, PgDn) will now move
  2104. through the text. Press the left arrow or TAB key
  2105. again to go back to select other documents.
  2106.  
  2107. The DOC menu
  2108. ------------
  2109. To call up DOC's menu, press the ESC key. DOC
  2110. presents various options which you can select with
  2111. the cursor and Return keys or by pressing one of
  2112. the highlighted letters. The options will vary
  2113. depending on your PC's configuration and the
  2114. document files available.
  2115.  
  2116. Pressing ESC a second time cancels the menu.
  2117.  
  2118. Quitting DOC
  2119. ------------
  2120. Choose the Quit option from the menu to leave
  2121. the DOC program and return to DOS.
  2122.  
  2123. Color display off
  2124. -----------------
  2125. Choose Color display off from the menu to ask
  2126. DOC to work in black-and-white. You may wish to
  2127. do this if you're using a laptop with an LCD screen
  2128. that doesn't show colors well or with some greyscale
  2129. or CGA composite video monitors.
  2130.  
  2131. If you need to do this, you might also enter the
  2132. DOS command MODE BW80 before running DOC. This makes
  2133. DOC and many other programs start up in black-and-
  2134. white. Adding /M to the DOC command at the DOS prompt
  2135. also forces monochrome operation.
  2136.  
  2137. This menu option does not appear on PCs that do not
  2138. have a color capability.
  2139.  
  2140. Extended Screen On
  2141. ------------------
  2142. Choosing this menu option switches the display to
  2143. 43 or 50 lines so that you can see more text without
  2144. scrolling. You can go back to the normal display by
  2145. choosing Extended screen off subsequently.
  2146.  
  2147. This menu option is only available on EGA or VGA
  2148. equipped PCs.
  2149.  
  2150. Fast screen on
  2151. --------------
  2152. This menu option only appears on PCs fitted with
  2153. CGA standard or equivalent displays. Normally the
  2154. DOC program slows down on this type of display to
  2155. prevent the screen flicker or 'snow' that genuine
  2156. IBM CGA displays (and some compatible makes) can
  2157. suffer from. If your system does not suffer from
  2158. snow, choose 'Fast screen on' for a faster screen
  2159. display.
  2160.  
  2161. Print Document
  2162. --------------
  2163. Choose this menu option to print the currently selected
  2164. document. A menu appears from where you can make four
  2165. print settings, choose Go to start printing or Cancel
  2166. to return to viewing documents. You may need to alter
  2167. the settings to suit your system before choosing Go:
  2168.  
  2169. 1. Output port
  2170.  
  2171.    This is the printer interface that DOC should print
  2172.    the document to. By pressing O you can step through
  2173.    the ports fitted to your computer. The default LPT1,
  2174.    the first parallel printer port, is correct for
  2175.    most PCs. DOC can work with a serial printer (COM1
  2176.    or COM2) if you have one but you must make sure that
  2177.    the port is correctly set up (e.g. with a command
  2178.    such as MODE COM1:9600,n,8,1,p) BEFORE running DOC.
  2179.    X-On/X-Off handshaking is automatically provided
  2180.    for serial printers.
  2181.  
  2182.    You can set the output port to "FILE". In this case,
  2183.    DOC will ask for the name of a disk file when you
  2184.    start printing and will then print to disk rather
  2185.    than to a printer. If the file you name already
  2186.    exists, DOC will append pages to it.
  2187.  
  2188.    Note that DOC will not print on PostScript printers.
  2189.    If you have one of these, you might like to use the
  2190.    print to FILE option and then use a PostScript
  2191.    conversion program or word processor to print the
  2192.    resulting file.
  2193.  
  2194. 2. Lines per page
  2195.  
  2196.    This is the number of printable lines on each page
  2197.    on your printer. DOC will print with this set
  2198.    incorrectly but will not be able to put page breaks
  2199.    and headers in the right place. The default is 66
  2200.    lines for standard fan-fold paper. Other common
  2201.    values are 60, 62, 64 and 70.
  2202.  
  2203. 3. Use form-feeds
  2204.  
  2205.    Set this option to Yes if you're using a LaserJet-
  2206.    style printer or any printer with the form-length
  2207.    set correctly. DOC will work with this option set
  2208.    to No by counting output lines but this is slower.
  2209.  
  2210. 4. Pause between pages
  2211.  
  2212.    Set this option to Yes if you're feeding single-
  2213.    sheets to the printer... DOC will pause for you
  2214.    to get the next sheet ready between each page.
  2215. @@DRAW
  2216. DRAW                                 Michael J. Mefford
  2217. Draws graphics from DOS prompt or batch files
  2218. -------------------------------------------------------
  2219.  
  2220. Purpose
  2221. -------
  2222. Provides low-resolution (320 x 200) color or high-
  2223. resolution (640 x 200) monochrome drawing capabilities
  2224. on CGA, EGA and VGA systems, without the need to work
  2225. in BASIC.
  2226.  
  2227. Format
  2228. ------
  2229.  
  2230.     DRAW [/K]                (Option I)
  2231.  
  2232.     DRAW string [/K]         (Option II)
  2233.  
  2234.     DRAW filespec/F [/K]     (Option III)
  2235.  
  2236. Remarks
  2237. -------
  2238. Entered at the DOS prompt with no arguments on the
  2239. command line (Option I), DRAW looks in the current
  2240. directory for a file named DRAW.DAT and executes the
  2241. commands in that file. A sample DRAW.DAT file is
  2242. included on this disk. The file can be examined, and
  2243. similar files created, with a regular ASCII word
  2244. processor.
  2245.  
  2246. Alternatively, DRAW can be entered with a string of
  2247. commands (Option II) for a simple graphic or with the
  2248. name of a file consisting of commands (Option III).
  2249. Any legal DOS filename may be used, and full path
  2250. support is provided, but a /F terminator must be
  2251. appended to the filename. An optional /K may be added
  2252. to prevent a keystroke from halting execution.
  2253.  
  2254. Example
  2255. -------
  2256. You can get a feel for how DRAW operates by entering,
  2257. at the DOS prompt:
  2258.  
  2259.     DRAW X0 C2 BU50 M+40,70 L80 M+40,-70 BD5 P2,2
  2260.  
  2261. This will create a red triangle in the middle of your
  2262. screen. You can trace the specific steps in this
  2263. command sequence by referring to The DRAW Command Set
  2264. table below.
  2265.  
  2266. The DRAW Command Set
  2267. --------------------
  2268. Xn   Change to low resolution 320X200 color graphics.
  2269.  
  2270.      If X is not found, the default is 640X200 high
  2271.      resolution black and white graphics. X must be
  2272.      the first character of the command line or the
  2273.      first character in a file.
  2274.  
  2275.      The palette will be changed to n, where n can be
  2276.      either zero or one. See C color command below for
  2277.      the color of each palette.
  2278.  
  2279. K    Do not poll the keyboard while drawing. If K is
  2280.      not found, any keystroke terminates the program.
  2281.  
  2282. Sn   Flood the screen color to pattern n. n must be a
  2283.      decimal number in the range 0-255, and represents
  2284.      an eight bit pattern. Normally this command is
  2285.      issued immediately after the X command (if
  2286.      present), to clear the screen with a background
  2287.      color other than black. For example, to clear to
  2288.      color red (2) in low resolution, the command is
  2289.      S170 (binary 10101010).
  2290.  
  2291.          color          320X200          640X200
  2292.            0               0                0
  2293.            1              85              255
  2294.            2             170               NA
  2295.            3             255               NA
  2296.  
  2297.      Pattern colors may also be used. For example, a
  2298.      pattern of half green and half black would be S58
  2299.      (binary 01000100). In high resolution, each bit
  2300.      represents a dot, eight dots per byte. This is
  2301.      why only two colors (black or white) are
  2302.      available. In low resolution, there are two bits
  2303.      per dot, so four combinations can be represented.
  2304.      In the example here the sequence is 01 (green), 00
  2305.      (black), 01 (green), 00 (black). See C (color)
  2306.      command below for complete coding of the colors.
  2307.  
  2308. U,D,L,R,E,F,G,H
  2309.      These commands, followed by a number, will move in
  2310.      one of the following compass directions:
  2311.  
  2312.                           U
  2313.                   H       |       E
  2314.                     \     |     /
  2315.                       \   |   /
  2316.                         \ | /
  2317.                L -- -- -- + -- -- -- R
  2318.                         / | \
  2319.                       /   |   \
  2320.                     /     |     \
  2321.                   G       |       F
  2322.                           D
  2323.  
  2324. Mx,y Move x,y units either relative to the current
  2325.      position or to the absolute coordinates, x,y. If
  2326.      the x coordinate is prefaced with either a plus
  2327.      sign or minus sign, the move is relative.
  2328.      Otherwise, the move is absolute. Note, you do not
  2329.      need to include a plus sign in front of the y
  2330.      coordinate in a positive y move.
  2331.  
  2332. Pp,b Paint the color p until the border color b is
  2333.      found. The paint originates from the current
  2334.      position.
  2335.  
  2336. B    Blank move. The move following a B will move the
  2337.      desired units without plotting points. The next
  2338.      command will then continue drawing.
  2339.  
  2340. N    No update. The draw command following an N
  2341.      command will plot points, but the position will
  2342.      not be updated. The next draw command will start
  2343.      at the same position as the last.
  2344.  
  2345. Cn   Change the color to n. All draws after a C
  2346.      command will be in color n. n can be 0 (black) or
  2347.      1 (white) in high resolution and 0 to 3 in low
  2348.      resolution. In low resolution, the color is
  2349.      dependent on the palette.
  2350.  
  2351.                        320X200                 640X200
  2352.      color     palette 0     palette 1
  2353.        0         black         black            black
  2354.        1         green         cyan             white
  2355.        2         red           magenta          NA
  2356.        3         yellow        white            NA
  2357.  
  2358. Related programs
  2359. ----------------
  2360. This disk also includes BLOAD, BSAVE, VIDMODE and PLAY
  2361. programs which can be used with DRAW to create quite
  2362. sophisticated presentations within batch files.
  2363.  
  2364. The command
  2365.  
  2366.     BSAVE filespec
  2367.  
  2368. saves a byte image of the screen buffer to a file
  2369. (with optional drive and path specifications), and
  2370.  
  2371.     BLOAD filespec
  2372.  
  2373. loads a saved image file back to the screen buffer.
  2374.  
  2375. VIDMODE can be used in a batch file with BLOAD
  2376. to set the appropriate display resolution (VIDMODE 4
  2377. for low res, VIDMODE 6 for high res). The PLAY
  2378. utility plays a tune on the PC's speaker.
  2379.  
  2380. Example
  2381. -------
  2382. This disk includes the example DRAW and PLAY files
  2383. MOVIE.DAT and STING.DAT so that you can try the
  2384. this example. Create the following batch file,
  2385. SAVE.BAT, using an ASCII word processor, EDLIN, or
  2386. COPY CON:
  2387.  
  2388.     ECHO OFF
  2389.     DRAW MOVIE.DAT/F
  2390.     BSAVE PICTURE
  2391.  
  2392. Enter SAVE and the batch file will create a saved
  2393. screen image called PICTURE of the MOVIE.DAT drawing.
  2394. Now, similarly create a second batch file, SHOW.BAT:
  2395.  
  2396.     ECHO OFF               (turn off command display)
  2397.     VIDMODE 4              (select low res graphics)
  2398.     BLOAD PICTURE          (load the image)
  2399.     PLAY STING.DAT/F       (play the tune)
  2400.     PAUSE > NUL            (wait for a keypress)
  2401.     VIDMODE 3              (back to text screen)
  2402.  
  2403. If you now enter SHOW at the DOS prompt the picture
  2404. of two con men will appear, with appropriate musical
  2405. background. Pressing any keystroke will clear the
  2406. display.
  2407.  
  2408. Note
  2409. ----
  2410.  
  2411. 1. The PAUSE > NUL line in SHOW.BAT waits for a
  2412.    keystroke without showing a message on the
  2413.    display. This will not work properly on DOS
  2414.    versions prior to DOS 3.
  2415. @@EGA12 etc.
  2416. EGA12, EGA25, EGA35, EGA43, EGA50       Charles Petzold
  2417. Change number of lines displayed on EGA/VGA PCs
  2418. -------------------------------------------------------
  2419.  
  2420. Purpose
  2421. -------
  2422. These programs allow you to select a different number
  2423. of lines for the display if your PC has an EGA or VGA
  2424. display.
  2425.  
  2426. Format
  2427. ------
  2428.  
  2429.     EGA12   Select 12 line display
  2430.     EGA25   Select 25 line display (normal)
  2431.     EGA35   Select 35 line display
  2432.     EGA43   Select 43 line display
  2433.  
  2434. Remarks
  2435. -------
  2436. These programs alter the number of displayed rows on
  2437. EGA or VGA equipped PCs. The different screen formats
  2438. can be used at the DOS command prompt, in programs
  2439. you write yourself and with some application programs
  2440. (some applications will ignore your settings while
  2441. others may not work properly).
  2442.  
  2443. When you change the number of displayed lines, your
  2444. screen display may contract or roll briefly. This is
  2445. normal and does no harm. To reset your display to
  2446. normal, enter EGA25, the DOS command MODE CO80 or
  2447. use the VIDMODE program on this disk (VIDMODE 3
  2448. is the normal color 80x25 text display). To clear
  2449. the screen in one of the non-standard formats, use
  2450. the CS command on this disk. If you wish to print
  2451. non-standard format screens, run the EGAPRTSC program
  2452. also included on this disk.
  2453.  
  2454. Notes
  2455. -----
  2456. 1. These programs were designed to operate with EGA
  2457.    displays but can be useful on today's VGA equipped
  2458.    machines. The increased resolution of the VGA
  2459.    means that you will get more lines displayed than
  2460.    normal. For example, EGA35 produces a 39 line
  2461.    display on a VGA.
  2462.  
  2463. 2. EGA12 can work well with VIDMODE, also on this disk.
  2464.    Run VIDMODE 1 to select a 40 column display then
  2465.    EGA12 to select 12 lines... this produces a large
  2466.    character display with characters that don't look
  2467.    stretched.
  2468.  
  2469. 3. These programs will work with an EGA attached to a
  2470.    CGA monitor (also called an IBM CD or 200-line
  2471.    monitor)... however, the lower resolution of the
  2472.    monitor will reduce the number of displayed lines.
  2473.  
  2474. 4. The ANSI.SYS driver supplied with your PC may not
  2475.    operate in some of these formats.
  2476. @@EGA512
  2477. EGA512                                  Charles Petzold
  2478. Enable 512 character displays on EGA/VGA systems
  2479. -------------------------------------------------------
  2480.  
  2481. Purpose
  2482. -------
  2483. Permits switching between two loaded EGA fonts when
  2484. used with a 350-line (Enhanced Color or monochrome)
  2485. monitor and software that supports display of bold
  2486. characters.
  2487.  
  2488. Format
  2489. ------
  2490.  
  2491.     EGA512 x y
  2492.  
  2493. Remarks
  2494. -------
  2495. The values of x and y may range from 0 through 3,
  2496. and correspond to the EGA memory blocks into which
  2497. fonts can be loaded. The x parameter corresponds
  2498. to the font that will be displayed with normal
  2499. (low intensity) characters. The y parameter
  2500. accesses the font that will be displayed with
  2501. high-intensity (boldface) characters.
  2502.  
  2503. Example
  2504. -------
  2505. Load the italic font into EGA memory block 1 with
  2506. the command EGAITAL included on this disk...
  2507.  
  2508.     EGAITAL 1
  2509.  
  2510. Then enter the command
  2511.  
  2512.     EGA512 0 1
  2513.  
  2514. If your word processor supports on-screen boldface and
  2515. does not reset the video mode on entry, regular
  2516. characters will now appear normally and boldface
  2517. characters will appear in italics.
  2518.  
  2519. To restore the normal display, enter
  2520.  
  2521.     EGA512 0 0
  2522. @@EGACOLOR
  2523. EGACOLOR                                Charles Petzold
  2524. Remap EGA colors
  2525. -------------------------------------------------------
  2526.  
  2527. Purpose
  2528. -------
  2529. Permits temporarily remapping any of the 16 default
  2530. colors displayable on a 200-line CGA monitor to any of
  2531. the 64 colors displayable on a 350-line Enhanced Color
  2532. Display connected to an Enhanced Graphics Adapter.
  2533.  
  2534. Format
  2535. ------
  2536.  
  2537.     EGACOLOR XX YY
  2538.  
  2539. Remarks
  2540. -------
  2541. The parameters XX and YY are 2-digit octal (base 8)
  2542. numbers derived from the table shown below. Values
  2543. for XX may range from 00 to 17; values for YY may
  2544. range from 00 to 77.
  2545.  
  2546.              IRGB code          Default rgbRGB map
  2547.              ---------          ------------------
  2548. Color        binary octal hex   binary octal hex
  2549. -----        ------ ----- ---   ------ ----- ---
  2550. Black         0000   00   00    000000  00   00
  2551. Blue          0001   01   00    000001  01   01
  2552. Green         0010   02   02    000010  02   02
  2553. Cyan          0011   03   03    000011  03   03
  2554. Red           0100   04   04    000100  04   04
  2555. Magenta       0101   05   05    000101  05   05
  2556. Brown         0110   06   06    010100  24   14
  2557. White         0111   07   07    000111  07   07
  2558. Dark Grey     1000   10   08    111000  70   38
  2559. Light Blue    1001   11   09    111001  71   39
  2560. Light Green   1010   12   0A    111010  72   3A
  2561. Light Cyan    1011   13   0B    111011  73   3B
  2562. Light Red     1100   14   0C    111100  74   3C
  2563. Light Magenta 1101   15   0D    111101  75   3D
  2564. Yellow        1110   16   0E    111110  76   3E
  2565. Bright White  1111   17   0F    111111  77   3F
  2566.  
  2567. The first digit in the 2-digit octal number
  2568. represents the 1/3-intensity rgb signal; the
  2569. second is the 2/3-intensity RGB signal.
  2570.  
  2571. Example
  2572. -------
  2573. To change black to blue and white to yellow (yellow
  2574. letters on a black screen), execute
  2575.  
  2576.     EGACOLOR 00 01
  2577.     EGACOLOR 07 76
  2578.  
  2579. Notes
  2580. -----
  2581.  
  2582. 1. Changing modes resets the default EGA colors. To
  2583.    create more permanent mappings, use SPECTRUM which
  2584.    is also included on this disk.
  2585.  
  2586. 2. EGACOLOR can be used on VGA-equipped PCs.
  2587. @@EGAITAL
  2588. EGAITAL                                 Charles Petzold
  2589. Creates an italic display font on EGA or VGA PCs
  2590. -------------------------------------------------------
  2591.  
  2592. Purpose
  2593. -------
  2594. Produces a displayable italic font from the default
  2595. EGA (8x14) font.
  2596.  
  2597. Format
  2598. ------
  2599.  
  2600.     EGAITAL
  2601.  
  2602. or
  2603.  
  2604.     EGAITAL n
  2605.  
  2606. Remarks
  2607. -------
  2608. EGAITAL can be executed directly from the DOS prompt.
  2609. The slanting algorithm employed is similar (but not
  2610. identical) to that used by Microsoft Word to display
  2611. italics in graphics mode. The normal character
  2612. display can be restored by executing one of the DOS
  2613. MODE commands, by issuing the VIDMODE 3 (color),
  2614. VIDMODE 7 (monochrome) commands on this disk, or by
  2615. executing EGA25 (also on this disk).
  2616.  
  2617. The n parameter shown in the second format above
  2618. accepts values from 0 (the default) through 3. It
  2619. specifies the EGA memory block into which the italic
  2620. font is loaded. An EGA with 256K memory can hold up
  2621. to 4 fonts simultaneously; a 128K EGA, up to 2 fonts.
  2622. A 64K EGA board is limited to one font. The EGA512
  2623. command, described elsewhere in this manual, allows
  2624. two fonts to be active simultaneously when using
  2625. software capable of showing on-screen bold characters.
  2626. @@EGAPALET
  2627. EGAPALET                                Charles Petzold
  2628. Displays the 64 colors available on an EGA
  2629. -------------------------------------------------------
  2630.  
  2631. Purpose
  2632. -------
  2633. Displays all 64 EGA colors simultaneously on an EGA
  2634. compatible (350-line) color monitor.
  2635.  
  2636. Format
  2637. ------
  2638.  
  2639.     EGAPALET
  2640.  
  2641. Remarks
  2642. -------
  2643. EGAPALET is probably most useful to programmers or
  2644. those designing screen displays as it allows the full
  2645. range of 64 EGA colors to be seen at once, even on an
  2646. EGA which nominally can only show a maximum of 16 at
  2647. any one time. EGAPALET works with VGA displays too and
  2648. it can be sensible to stick to the EGA colors so that
  2649. colors chosen can be shown on both types of screen.
  2650.  
  2651. If a number of the color squares look the same at
  2652. first glance, adjust the contrast and brightness
  2653. controls and inspect the screen at close range to
  2654. confirm that different pixels are being lit.
  2655.  
  2656. Starting with the upper left square as row 0, column
  2657. 0, the octal values for each color can be determined
  2658. directly from the screen. Brown, for example, is
  2659. octal 24 (row 2, column 4), a value you might enter in
  2660. the EGACOLOR utility included on this disk.
  2661.  
  2662. Since the EGA is theoretically limited to simultaneous
  2663. display of only 16 (of 64) colors, EGAPALET employs
  2664. the unorthodox technique of remapping eight color
  2665. registers every 1/430th of a second. A certain amount
  2666. of jitter and flickering must therefore be accepted on
  2667. a PC or XT. The display is more stable on an AT, but
  2668. the bottom row of squares is elongated. If you are
  2669. using an AT, this can be cured with DEBUG, as follows:
  2670.  
  2671.     DEBUG EGAPALET.COM
  2672.     e 102
  2673.  
  2674. The value 22. will appear. After the period, enter 2B
  2675. and a carriage return. Then write the modified
  2676. EGAPALET.COM to disk and quit DEBUG by entering the
  2677. following commands, each terminated by a carriage
  2678. return:
  2679.  
  2680.     w
  2681.     q
  2682.  
  2683. EGAPALET.COM is now patched for the PC AT.
  2684.  
  2685. Notes
  2686. -----
  2687.  
  2688. 1. Only 16 colors are available on CGA (200-line)
  2689.    monitors
  2690. @@EGAPRTSC
  2691. EGAPRTSC                                Charles Petzold
  2692. Enables the 43/50 line Print Screen software
  2693. -------------------------------------------------------
  2694.  
  2695. Purpose
  2696. -------
  2697. Replaces the normal Print Screen BIOS routine to
  2698. permit using the <PrintScreen> key (<Shift-PrtSc> on
  2699. older keyboards) with EGA/VGA displays with more than
  2700. 25 rows.
  2701.  
  2702. Format
  2703. ------
  2704.  
  2705.     EGAPRTSC
  2706.  
  2707. Remarks
  2708. -------
  2709. The EGA/VGA BIOS contains a new Print Screen routine
  2710. usable for screen dumps of displays with 35, 43, 50 or
  2711. other 25-plus line displays but this routine is not
  2712. automatically loaded when you start your system.
  2713.  
  2714. EGAPRTSC is a tiny program that installs the updated
  2715. Print Screen routines. If you use this feature often,
  2716. you can run EGAPRTSC from within your AUTOEXEC.BAT
  2717. file.
  2718.  
  2719. Notes
  2720. -----
  2721.  
  2722. 1. EGAPRTSC should be loaded early in the AUTOEXEC.BAT
  2723.    file, before any printer buffers, commands such as
  2724.    GRAPHICS or other programs that use the Print Screen
  2725.    interrupt (interrupt 5).
  2726. @@FILECTRL
  2727. FILECTRL                             Michael J. Mefford
  2728. Multi-format file and directory viewer
  2729. -------------------------------------------------------
  2730.  
  2731. Purpose
  2732. -------
  2733. A full-directory file-viewing and removal utility
  2734. capable of displaying WordPerfect, Microsoft Word, Q&A
  2735. Write, and WordStar documents as if they were in ASCII
  2736. format. FILECTRL automatically supports normal 25-line,
  2737. 43-line (EGA), 50-line (VGA) and UltraVision displays.
  2738.  
  2739. Format
  2740. ------
  2741.  
  2742.     FILECTRL [filespec] [options]
  2743.  
  2744. Remarks
  2745. -------
  2746. Entered without any parameters, FILECTRL displays a
  2747. filename list of the current directory in its left
  2748. window and the first part of the text of the
  2749. highlighted filename in its right window. The text is
  2750. shown stripped of any header and formatting codes. Any
  2751. drive and/or directory can be specified with filespec,
  2752. and * and ? can be used to limit the file list.
  2753. Pressing Esc exits the utility.
  2754.  
  2755. The Tab key (a toggle) shifts between windows, as do
  2756. the Left- and Right-Arrow keys. The display in the
  2757. active window is shown in high-intensity color, and
  2758. scrolling within the active window uses the usual Up-
  2759. and Down- Arrows, PgUp and PgDn, Home and End keys.
  2760. From the file list window pressing a letter jumps the
  2761. selection highlight to the first filename beginning
  2762. with that letter and so continues with subsequent
  2763. keypresses.
  2764.  
  2765. F2 deletes a highlighted filename or empty
  2766. subdirectory, and Ctrl-F2 deletes a group of marked
  2767. filenames. Files can be marked with the + key and
  2768. unmarked with the -; the spacebar toggles the mark on
  2769. and off. All deletions are prompted for confirmation
  2770. prior to execution.
  2771.  
  2772. Pressing F5 successively (1) widens the file list to
  2773. show full DOS directory information, (2) widens the
  2774. text display to a full 80 columns, and (3) returns to
  2775. the original display. Shift-F5 reverses the display
  2776. sequence. Pressing Enter while a filename is
  2777. highlighted toggles between the filelist display and
  2778. the 80-column text display. Pressing Enter while a
  2779. subdirectory (< >) or the parent (<..>) directory is
  2780. highlighted loads the files from that directory. F3
  2781. permits entering a new filespec.
  2782.  
  2783. By default FILECTRL sorts filenames in ascending
  2784. alphabetical order. The F7, F8, F9, and F10 keys set
  2785. the sort field to filename, extension, size, and date,
  2786. respectively. Pressing F6 toggles between ascending and
  2787. descending order.
  2788.  
  2789. FILECTRL also permits entering a number of options as
  2790. command-line switches. These are summarized below.
  2791.  
  2792.     /M+        = Include only files modified
  2793.                  since last back-up
  2794.     /M-        = Include only files NOT modified
  2795.                  since last back-up
  2796.     /H         = Include Hidden files
  2797.     /R         = Include Read-only files
  2798.     /P date    = Only include files ON or Prior date
  2799.     /A date    = Only include files ON or After date
  2800.                  (date format = mm/dd/yy)
  2801.     /W         = WordStar files; remove high bit
  2802.     /N         = Sort by Name
  2803.     /E         = Sort by Extension
  2804.     /S         = Sort by Size
  2805.     /D         = Sort by Date
  2806.     /O         = Sort by Original DOS DIR order
  2807.                  (default is Sort by Name)
  2808.     /F         = Sort in descending order
  2809.  
  2810. For use with laptop computers it may be necessary to
  2811. enter the DOS MODE BW80 command before starting
  2812. FILECTRL.
  2813. @@FONTEDIT
  2814. FONTEDIT                             Michael J. Mefford
  2815. EGA/VGA font editor and loader
  2816. -------------------------------------------------------
  2817.  
  2818. Purpose
  2819. -------
  2820. Permits modifying/creating EGA or VGA character fonts
  2821. with keyboard or mouse and saving the new fonts as
  2822. .COM files which can later be loaded from the DOS
  2823. prompt.
  2824.  
  2825. Format
  2826. ------
  2827.  
  2828.     FONTEDIT
  2829.  
  2830. Remarks
  2831. -------
  2832. If no font filename and path are supplied as the
  2833. FONTEDIT uses the currently-displayed font, beginning
  2834. with the letter A. Pixels in the Edit window are
  2835. toggled on or off with the spacebar or with left and
  2836. right mouse buttons. The highlighted cursor may be
  2837. moved within the Edit window by mouse or with the
  2838. cursor Arrow keys, and it can be "dragged" to adjacent
  2839. pixels by holding down a Shift key or mouse button.
  2840. Editing changes are saved by pressing F4, and
  2841. opportunity is provided to supply a missing filename.
  2842.  
  2843. FONTEDIT will supply the requisite .COM extension
  2844. automatically. Esc quits the program.
  2845.  
  2846. Pressing F5 copies the original character template to
  2847. Edit window.
  2848.  
  2849. New characters to edit can be loaded by pressing the
  2850. appropriate key on the keyboard, by pressing the PgUp
  2851. and PgDn keys (which move in ASCII sequence), or by
  2852. holding down the Alt key while typing the ASCII code
  2853. on the numeric keypad, then releasing Alt. The Tab
  2854. key toggles the cursor between the Edit window and the
  2855. full Character Set window. Highlighted characters in
  2856. the latter can be loaded for editing by pressing Enter
  2857. or one of the mouse buttons.
  2858.  
  2859. The F1, F2, and F3 keys affect all characters within
  2860. the entire font.
  2861.  
  2862. F1 (or the Del key) deletes a whole row of pixels, and
  2863. is used to shorten the height of the character box.
  2864.  
  2865. The default (and maximum) character box size is 8
  2866. pixels wide (this cannot be changed) by 14 pixels high
  2867. (EGA) or 16 pixels high (VGA). A 43-line EGA font
  2868. uses a character box of 8 by 8 pixels, for example.
  2869. When using F1 (or Del) confirmation of the deletion is
  2870. required. F2 inserts a blank row of pixels throughout
  2871. the entire font (maximum height permitting), and F3
  2872. copies each character's current pixel map, as, for
  2873. example, to thicken a serif.
  2874.  
  2875. Modified or created fonts are loaded simply by
  2876. entering their names at the DOS prompt. Normal
  2877. operation is restored by entering any video mode
  2878. command, for example MODE CO80, on a color system or
  2879. MODE MONO in monochrome.
  2880.  
  2881. Applications that reset the video mode on entry or
  2882. when returning from DOS also restore the default ROM
  2883. font and cannot be used successfully with FONTEDIT.
  2884. @@FREEZE
  2885. FREEZE                                     Jeff Prosise
  2886. Locks a running PC to keep sensitive data hidden
  2887. -------------------------------------------------------
  2888.  
  2889. Purpose
  2890. -------
  2891. Ensures confidentiality of in-memory data when it is
  2892. necessary to leave a PC running without storing the
  2893. data to a removable medium or encrypting it. FREEZE
  2894. temporarily suspends program operation, blanks the
  2895. screen, and disables the Ctrl-Alt-Del reboot sequence
  2896. until a user-entered password (up to 64 characters) is
  2897. re-entered.
  2898.  
  2899. Format
  2900. ------
  2901.  
  2902.     FREEZE
  2903.  
  2904. Remarks
  2905. -------
  2906. FREEZE is a memory-resident utility, normally loaded by
  2907. an AUTOEXEC.BAT file. After loading, the machine is
  2908. "locked" by pressing Alt-NumLock and then entering your
  2909. chosen password. The password may include any characters
  2910. except Esc and Enter. Pressing the Esc key aborts
  2911. password entry, and pressing Enter initiates the
  2912. lockdown.
  2913.  
  2914. The Backspace key may be used to correct incidental
  2915. mistakes, but care must be exercised, as the characters
  2916. are not echoed on the screen during entry. To unlock
  2917. the machine, simply re-enter the same password and
  2918. press Enter. Again, the Backspace and Esc keys can be
  2919. used to correct or abort password entry.
  2920.  
  2921. Notes
  2922. -----
  2923. 1. The password is never stored and may be changed each
  2924.    time FREEZE is invoked with Alt-Numlock. If an
  2925.    attempt is made to load FREEZE more than once,
  2926.    an error message will result.
  2927.  
  2928. 2. While FREEZE is believed compatible with most other
  2929.    memory-resident programs, because of the importance
  2930.    of data with which it is expected to be used, it
  2931.    should be thoroughly checked in your specific
  2932.    configuration. In particular, FREEZE should be
  2933.    loaded before SideKick.
  2934. @@MAKEBAR
  2935. MAKEBAR                                Robert L. Hummel
  2936. Creates menu files for SLASHBAR
  2937. -------------------------------------------------------
  2938.  
  2939. Purpose
  2940. -------
  2941. Compiles Lotus-style menus for non-Lotus applications
  2942. programs for use with the SLASHBAR utility
  2943. contained on this disk.
  2944.  
  2945. Format
  2946. ------
  2947.  
  2948.     MAKEBAR input_file output_file
  2949.  
  2950. Remarks
  2951. -------
  2952. The input_file must contain the keystrokes needed to
  2953. activate the application program's commands, and it
  2954. must be constructed using the .BDF format and syntax
  2955. illustrated by the ASCII-readable DOS.BDF file
  2956. contained on this disk. The output_file produced by
  2957. MAKEBAR is a .BAR file suitable for loading as a
  2958. pop-up window by SLASHBAR. Maximum length of the
  2959. compiled .BAR file is approximately 46,000 bytes.
  2960.  
  2961. Constructing a suitable .BDF file for an application
  2962. is not a trivial undertaking. The first step is to
  2963. organize the commands needed by the application into
  2964. a menu-tree arrangement similar to the DOS menu tree
  2965. shown below.
  2966.  
  2967. The categories in the left column will appear on the
  2968. first line of the first menu screen. CLS is
  2969. immediately run from that screen, so it has no lower
  2970. branches.
  2971.  
  2972.                |- COPY
  2973.   |-  FILE   --|- DIR
  2974.   |            |- ERASE
  2975.   |            |- RENAME
  2976.   |            |- TYPE
  2977.   |
  2978.   |            |- ASSIGN
  2979.   |            |            |- PARENT
  2980.   |            |- CHDIR ----|- ROOT
  2981.   |            |            |- OTHER
  2982.   |            |- FORMAT
  2983.   |-  DISK   --|- LABEL
  2984.   |            |- MKDIR
  2985.   |            |- RMDIR
  2986.   |            |- VOL
  2987.   |
  2988.   |            |- DATE
  2989.   |-  SYSTEM  -|- TIME
  2990.   |            |- PROMPT
  2991.   |            |- VER
  2992.   |
  2993.   |-  CLS
  2994.  
  2995. The diagram below shows the basic structure of the
  2996. MENU...MEND blocks from which a .BDF file is
  2997. constructed. Again, study the DOS.BDF file on this
  2998. disk.
  2999.  
  3000. PROGRAM "NAME" ---------- Identification Name
  3001.  
  3002. MENU NAME -----------------------------------|
  3003.      OPTION    NAME,"HELP LINE" --|          |
  3004.           COMMANDS -|             |          |
  3005.              .      |-- Commands  |-- Option |
  3006.              .      |             |   Block  |
  3007.              .     -|           --|          |-- Menu
  3008.      OPTION    NAME,"HELP LINE"              |   Block
  3009.           COMMANDS                           |
  3010.        .                                     |
  3011.        .                                     |
  3012.        .                                     |
  3013. MEND ----------------------------------------|
  3014.  
  3015. MENU NAME----|
  3016.   .          |  Additional menu
  3017.   .          |--block(s) as
  3018.   .          |  required
  3019. MEND---------|
  3020.  
  3021. END -------- End Of File Indicator
  3022.  
  3023. Precede any comments you may wish to include in a .BDF
  3024. menu file with a semicolon. MAKEBAR ignores the
  3025. remainder of any line when it encounters the semicolon
  3026. character. Use the {c}1 key combination to represent
  3027. the semicolon in any names or quoted strings your
  3028. application requires.
  3029.  
  3030. Two types of text entries are used in menu files. A
  3031. STRING is an entry surrounded by quotes ("). "DOS
  3032. 3.1" and "JiffyCalc Spreadsheet" are examples of valid
  3033. strings. A string may not contain the quote
  3034. character, but you can use the {c}3 sequence to
  3035. represent it in a string. A NAME is an entry
  3036. consisting of a single word, and must contain no
  3037. spaces. To aid readability, separation characters may
  3038. be used in names:  DO-THIS, DO_THAT, DO$IT$NOW, are
  3039. all valid. Upper/Lower case is preserved in strings,
  3040. but names are capitalized in the output file.
  3041.  
  3042. Strings may contain any character or key combination
  3043. (except the comment and quote characters) that can be
  3044. recognized by the BIOS. Key combinations in a BDF that
  3045. are not recognized by the BIOS will produce an error
  3046. message. (There may therefore be some commands for a
  3047. given application that cannot be included in the menu
  3048. structure.)
  3049.  
  3050. Alpha-numeric keys are entered by typing them. All
  3051. special keys, such as the function keys and shift-key
  3052. combinations are entered in symbolic form as text
  3053. surrounded by braces. The Shift, Ctrl, and Alt keys
  3054. affect only the immediately following key. The
  3055. available special keys and their representation in a
  3056. .BDF file are:
  3057.  
  3058. {ESC}     Escape              {U}       Arrow Up
  3059. {TAB}     Tab                 {D}       Arrow Down
  3060. {ENTER}   ENTER               {L}       Arrow Left
  3061. {BS}      Backspace           {R}       Arrow Right
  3062. {HOME}    Home                {INS}     Insert
  3063. {PGUP}    Page Up             {DEL}     Delete
  3064. {PGDN}    Page Down           {C}       Control
  3065. {END}     End                 {S}       Shift
  3066.                               {A}       Alt
  3067.  
  3068. Function Keys
  3069.  
  3070. {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10}
  3071.  
  3072. Redundant key combinations, such as {S}a instead of A,
  3073. will produce an error message.
  3074.  
  3075. Example
  3076. -------
  3077. To block out a paragraph in WordPerfect the sequence
  3078. would be:
  3079.  
  3080.     "{A}{F4}{ENTER}"
  3081.  
  3082. To enter the WordStar Ctrl-KD sequence (to end editing
  3083. and save changes), you would use the string:
  3084.  
  3085.     "{C}KD"
  3086.  
  3087. To replace the current file in 1-2-3, enter:
  3088.  
  3089.     "/FSR"
  3090.  
  3091. A .BDF file always begins with the word PROGRAM,
  3092. followed by a string. The first 10 characters of the
  3093. string are encoded in the compiled .BAR file for
  3094. display in the pop-up window. PROGRAM must be the
  3095. first non-comment line in the program, and it must
  3096. appear only once. Conversely, END causes processing of
  3097. the input file to cease and is the last command read.
  3098. Each .BDF file must include an END.
  3099.  
  3100. The remainder of the file consists of MENU-MEND blocks,
  3101. as was diagramed above. Each block corresponds to one
  3102. complete set of command choices. In the DOS.BDF
  3103. example there are five menu blocks:  the top-level
  3104. block; three second level blocks (to represent the
  3105. FILE, DISK, and SYSTEM submenus); and one third level
  3106. block (the CHDIR sub-submenu). Note that the CLS
  3107. option does not require a menu block since that command
  3108. terminates at the first level. The MENU block that
  3109. follows the PROGRAM command is assumed to be the top
  3110. level menu and will be the first one to be executed.
  3111. Subsequent MENU blocks may be in any order.
  3112.  
  3113. Each MENU statement takes a NAME as its argument, and
  3114. no two menus can have the same name. The name is used
  3115. as a target when control is transferred between menus
  3116. with the EXECUTE command. Using identical menu names
  3117. will cause MAKEBAR to report a Bad Menu Reference.
  3118.  
  3119. The MENU block is divided into one or more OPTION
  3120. blocks. An OPTION block comprises three separate
  3121. parts: name, help line, and commands. While, like a
  3122. menu, each option must have a name, there are no
  3123. restrictions as to uniqueness. The same option name
  3124. may be used in different menus with different meanings,
  3125. though this would not be the best design for a
  3126. consistent interface. Because options may be selected
  3127. by pressing their first letter, if two options begin
  3128. with the same letter, the second option can never be
  3129. executed by pressing that letter. (It can be invoked
  3130. by positioning the cursor and pressing ENTER.)  This
  3131. property could be used to prevent accidental use of a
  3132. command by making it more difficult to invoke.
  3133.  
  3134. The help string must follow each option name on the
  3135. same line. This string will be displayed below the
  3136. option names when that option is selected with the
  3137. cursor. The length of this string must be less than 78
  3138. characters in order to fit within the window created by
  3139. SLASHBAR. Beginning on the next line, the application
  3140. program commands to be executed when that option is
  3141. chosen are entered. Each command must begin on a
  3142. separate line, and the entire command must be contained
  3143. on that line. If more keys need to be entered than can
  3144. fit on a single line, multiple TYPE statements (see
  3145. below) can be used.
  3146.  
  3147. The BDF commands, with their syntax, are listed below:
  3148.  
  3149. PROGRAM "string"
  3150. END
  3151. MENU name
  3152. MEND
  3153. OPTION name, "string"
  3154. ASK "string"
  3155. INPUT
  3156. TYPE "string"
  3157. CR
  3158.  
  3159. Remember that a name is a single word with no
  3160. separating spaces, and that a "string" is a series of
  3161. characters surrounded by quotes ("). The quotes symbol
  3162. itself cannot be used within a string, but it can be
  3163. represented in a string by the {c}3 sequence.
  3164.  
  3165. A number of these commands have been discussed above.
  3166. The five that remain, EXECUTE, ASK, TYPE, INPUT, and
  3167. CR, may only appear inside an OPTION block. These
  3168. commands make up a kind of batch language that controls
  3169. the operation of the SLASHBAR utility. At the end of
  3170. each menu path is a command string that will accomplish
  3171. the desired result when fed to the applications
  3172. program, just as if you typed in the commands directly.
  3173.  
  3174. The EXECUTE command transfers control down the menu
  3175. tree. Any option may invoke another menu by executing
  3176. it. Since menu flow is one-way, lines appearing below
  3177. an EXECUTE command within the same OPTION block will
  3178. never be invoked. In addition, since paths in the menu
  3179. tree may not cross, two option blocks cannot execute
  3180. the same menu. MAKEBAR checks for this and signals it
  3181. as an error. This prevents building a circular
  3182. reference into the tree, where a menu could call itself
  3183. indefinitely.
  3184.  
  3185. The ASK command is used to prompt the user for
  3186. information. The string argument appears on the screen
  3187. in the upper half of the pop-up window and does not
  3188. affect the output keystrokes. Because the logical use
  3189. of the ASK command is to request a reply, it is usually
  3190. followed by the INPUT command. By using these commands
  3191. together, it is possible to solicit information to
  3192. complete a command sequence.
  3193.  
  3194. The INPUT command accepts input from the keyboard and
  3195. appends it to the current command string. The input is
  3196. buffered, and the backspace key can be used to correct
  3197. the entry. Up to 78 characters may be entered, and
  3198. input terminates when the Enter key is pressed. The
  3199. keys are put in the command string as they were typed
  3200. without the terminating <Enter>.
  3201.  
  3202. The TYPE command copies the keys in the string argument
  3203. to the command string. Special keys (i.e., function
  3204. keys and shift-key combinations) are stored with a
  3205. special code to indicate that they are extended ASCII.
  3206. A special case of the TYPE command is the CR command.
  3207. It is equivalent to the command
  3208.  
  3209.           TYPE "{ENTER}"
  3210.  
  3211. and is included simply for convenience in closing
  3212. commands after requesting an input.
  3213. @@PARSE
  3214. PARSE                                Michael J. Mefford
  3215. Word count and analysis of text files
  3216. -------------------------------------------------------
  3217.  
  3218. Purpose
  3219. -------
  3220. Displays the number of characters, words, and sentences
  3221. in ASCII text files.
  3222.  
  3223. Format
  3224. ------
  3225.  
  3226.     PARSE [d:][path]filename
  3227.  
  3228. Remarks
  3229. -------
  3230. PARSE also calculates and reports the averages of the
  3231. numbers of characters per word, words per sentence, and
  3232. "long" words (8 or more characters). It uses these to
  3233. calculate and display an approximation of the Fog Index
  3234. grade-level readability rating.
  3235.  
  3236. The accuracy of the various counts may be affected,
  3237. though usually not significantly, by the presence of
  3238. formatting and printing codes included in the file by
  3239. non-ASCII word processors. PARSE does ignore the
  3240. "high-bit" codes produced by WordStar and similar
  3241. programs, but "dot commands" and the like will be
  3242. counted.
  3243.  
  3244. Notes
  3245. -----
  3246. 1. For further information on the Fog Index see
  3247.    Robert Gunning's The Technique of Clear Writing
  3248.    (McGraw-Hill, 1952, 1968).
  3249. @@PLAY
  3250. PLAY                                 Michael J. Mefford
  3251. Plays tones and tunes on the PC's speaker
  3252. -------------------------------------------------------
  3253.  
  3254. Purpose
  3255. -------
  3256. Provides many of the music-producing functions of the
  3257. BASIC PLAY statement without the need to work in
  3258. BASIC.
  3259.  
  3260. Format
  3261. ------
  3262.  
  3263.     PLAY[/K]              (Option I)
  3264.  
  3265.     PLAY string[/K]       (Option II)
  3266.  
  3267.     PLAY filespec/F[/K]   (Option III)
  3268.  
  3269. Remarks
  3270. -------
  3271. Entered at the DOS prompt with no arguments on the
  3272. command line (Option I), PLAY looks in the current
  3273. directory for a file named PLAY.DAT and executes the
  3274. commands in that file. The PLAY.DAT file included on
  3275. this disk is "Greensleeves."  The file can be
  3276. examined, and similar files created, with a regular
  3277. ASCII word processor.
  3278.  
  3279. Alternatively, PLAY can use either a command-line
  3280. string (Option II) or any legal DOS filename (Option
  3281. III) to supply the music command arguments. Filenames
  3282. may include a path designation, but must include the
  3283. /F terminator. A sample file "score," STING.DAT is
  3284. contained on this disk.
  3285.  
  3286. Pressing any key while PLAY is executing will
  3287. terminate operation unless the /K switch has been
  3288. added.
  3289.  
  3290. The command set used with PLAY is shown on the
  3291. following page and is exemplified in the PLAY.DAT and
  3292. STING.DAT files.
  3293.  
  3294. The PLAY Command Set
  3295. --------------------
  3296. K   Keyboard. K will cause PLAY not to poll the
  3297.     keyboard during play. If K is not found, any
  3298.     keystroke will exit.
  3299.  
  3300. On  Octave. n is a decimal number between 0 and 6.
  3301.     Middle C starts 03. The default is 04.
  3302.  
  3303. Ln  Length of time the notes will be played until the
  3304.     next L command is encountered. n is a decimal
  3305.     number between 1 and 64. For example, L4 =
  3306.     quarter-note and L8 = eighth note.
  3307.  
  3308. Tn  Tempo is the pace at which the music is played.
  3309.     n is a decimal number between 32 and 255. The
  3310.     larger the number, the faster the pace. The default
  3311.     is T120.
  3312.  
  3313. A-G Letter names corresponding to the notes of the
  3314.     scale. The letter name may be followed by
  3315.     either a # or + for a sharp, or a - for a flat.
  3316.     O3C = middle C.
  3317.  
  3318. Nn  Note to be played. n is a decimal number between
  3319.     1 and 84. Each increment is 1/12 of an octave. N
  3320.     can be used as an alternative to defining a note
  3321.     by a letter and an octave. For example, N37 =
  3322.     middle C.
  3323.  
  3324. Pn  Pause, or rest, for a length defined by n. P works
  3325.     in the same way as the L command above. For
  3326.     example, P2 = a half rest.
  3327.  
  3328. MN  Music Normal. The note is played 7/8 of its
  3329.     specified time, and 1/8 is a rest between notes.
  3330.     This is the default.
  3331.  
  3332. ML  Music Legato. The note is played the full length of
  3333.     time specified.
  3334.  
  3335. MS  Music Staccato. The note is played 3/4 of the time
  3336.     specified, and 1/4 is a rest between notes.
  3337.  
  3338. .   Dot. A dot can follow a letter note or a pause. A
  3339.     dotted note increases play time by half the duration
  3340.     of the note or pause. More than one dot may be used.
  3341. @@REPEATS
  3342. REPEATS                              Michael J. Mefford
  3343. Helps locate duplicate files
  3344. -------------------------------------------------------
  3345.  
  3346. Purpose
  3347. -------
  3348. Checks all directories on a drive and reports all
  3349. duplicate filenames.
  3350.  
  3351. Format
  3352. ------
  3353.  
  3354.     REPEATS [d:][/P]
  3355.  
  3356. Remarks
  3357. -------
  3358. While not all duplicate files on a disk are
  3359. unnecessary, most are. If a hard disk has been in use
  3360. for some time it is astonishing how many outdated
  3361. versions or outright copies of the same file are
  3362. currently wasting space.
  3363.  
  3364. REPEATS lists all identical filenames, together with
  3365. their directory, size, date, and time information, so
  3366. you can decide which files to delete. The optional /P
  3367. switch directs the program output simultaneously to the
  3368. screen and to a printer. As an alternative, you could
  3369. redirect output to a file, DUPES.FND, by using the DOS
  3370. redirection command, thus:
  3371.  
  3372.     REPEATS > DUPES.FND
  3373.  
  3374. Notes
  3375. -----
  3376. 1. During the time it operates, REPEATS requires 128K of
  3377.    available memory. The program can be terminated
  3378.    prematurely by pressing Ctrl-Break.
  3379. @@SCHEDULE
  3380. SCHEDULE                             Michael J. Mefford
  3381. Appointment scheduler and diary
  3382. -------------------------------------------------------
  3383.  
  3384. Purpose
  3385. -------
  3386. An appointment scheduler that provides both a monthly
  3387. overview and a detailed daily screen with notepad and
  3388. optional reminder chime; includes editing, printing,
  3389. and archiving facilities and can be used as either a
  3390. standalone or a memory-resident utility (15KB RAM
  3391. required).
  3392.  
  3393. Format
  3394. ------
  3395.  
  3396.     SCHEDULE [/I] [/U] [/Hn] [/Pn...n] [/G] [/A] [/C]
  3397.              [/M] [/B]
  3398.  
  3399. Remarks
  3400. -------
  3401. When installed as memory-resident by using the
  3402. optional /I switch, SCHEDULE automatically reminds you
  3403. of appointments by chiming and popping up its
  3404. appointment screen. The default hotkey is Alt-C. This
  3405. can be changed with the /H switch to any alphanumeric
  3406. Ctrl- or Alt-key combination (n), either at or after
  3407. installation. To make Ctrl-S the hotkey, enter
  3408. SCHEDULE /H Ctrl S. The /P parameter allows sending
  3409. up to 10 decimal printer set-up codes (n...n). Include
  3410. the /G switch for printers that support the IBM
  3411. line-drawing characters.
  3412.  
  3413. The reminder chime can be disabled by including the /C
  3414. switch, and automatic screen pop-up can be avoided by
  3415. using the /A option. The /M parameter prevents the
  3416. default midnight pop-up so overnight programs can be
  3417. run. If screen contrast is a problem (e.g. with
  3418. laptops), use the /B (black-and-white) option.
  3419. SCHEDULE can be uninstalled with the /U option,
  3420. subject to usual limitations.
  3421.  
  3422. SCHEDULE and the two files it creates (SCHEDULE.DAT
  3423. and SCHEDULE.ASC) must be stored in the current
  3424. directory when the program is run as a standalone
  3425. or installed as a memory resident. Batch files
  3426. will simplify this requirement. As a text-based
  3427. program, SCHEDULE will not come up over a graphics
  3428. screen (e.g. Microsoft Windows); it must be installed
  3429. before SideKick (if used).
  3430.  
  3431. SCHEDULE.DAT contains all appointment records saved by
  3432. pressing F2 (see command summary overside). It can be
  3433. purged or archived in whole or part by pressing F4. A
  3434. suitable date up to which to purge can be selected by
  3435. F3 (today) or with the PgUp/PgDn keys (moves by days)
  3436. or with Ctrl-PgUp/PgDn (moves by months). F8 selects
  3437. an individual day for purging. Menu prompts are
  3438. provided for determining whether the selected records
  3439. are deleted or automatically appended to SCHEDULE.ASC
  3440. to provide a permanent record usable by any ASCII
  3441. editor.
  3442.  
  3443. The monthly ("calendar") and daily ("appointment")
  3444. displays cover the period from 6:30 A.M. to 9:30 P.M.
  3445. in hour and half-hour increments, respectively. Within
  3446. each screen the following commands can be executed:
  3447.  
  3448. Keystroke       Calendar Screen   Appointment Screen
  3449. ---------       ---------------   ------------------
  3450. PgUp/PgDn       Next month        Next Day
  3451. Ctrl-PgUp/PgDn  Next year         Next Month
  3452. Arrow keys      Select day        Navigate screen
  3453. Home(1)         Beg. of column    Beg. section column
  3454. Home(2)         Beg. of calendar  Top of section
  3455. End(1)          End of column     End section column
  3456. End(2)          End of calendar   End of section
  3457. Ctrl-Home       Beg. of calendar  Beg. of section
  3458. Ctrl-End        End of calendar   End of section
  3459. Ctrl <-         Beg. of column    Beg. section column
  3460. Ctrl ->         End of Column     End  section column
  3461. Enter           Select app't.     Enter
  3462. Esc             Exit Schedule     Return to Calendar
  3463. F2              Save app'ts.      Save app'ts.
  3464. F3              Today             Today
  3465. F4              Purge app'ts.     Purge app'ts.
  3466. F5              Print calendar    Print app'ts.
  3467. F6              Go to Notepad
  3468. Shift-F6        undefined         Clear section
  3469. Ctrl-F6         undefined         Clear all 3 sections
  3470. Tab             undefined         Go to next section
  3471. Shift-Tab       undefined         Go to prev. section
  3472. Del             undefined         Del. char. at cursor
  3473.  
  3474. Customizing Schedule
  3475. --------------------
  3476. The following instructions will enable you to customize
  3477. the colors used by SCHEDULE and to change the tone of
  3478. its chime. Start by making a backup copy of
  3479. SCHEDULE.COM and then enter:
  3480.  
  3481.     DEBUG SCHEDULE.COM
  3482.  
  3483. You are now ready to modify SCHEDULE.COM. If at any
  3484. time you make a mistake, you can abort the editing
  3485. process by entering Q. After entering any desired
  3486. modifications last two commands you enter are:
  3487.  
  3488.     W
  3489.     Q
  3490.  
  3491. for Write to disk and Quit DEBUG.
  3492.  
  3493. COLOR SCHEME
  3494. Enter the following DEBUG (E)nter instructions,
  3495. replacing the xx with a new hexadecimal color value.
  3496. The default color values and descriptions that
  3497. SCHEDULE uses are shown as comments, to the right of
  3498. the semi-colons.
  3499.  
  3500.     E 578 xx   ; 17 Lt. gray on blue.
  3501.     E 579 xx   ; 71 Blue on lt. gray.
  3502.     E 57A xx   ; 1E Yellow on blue.
  3503.     E 57B xx   ; 3B Bright cyan on cyan.
  3504.     E 57C xx   ; 1B Bright cyan on blue.
  3505.     E 57D xx   ; 7E Yellow on lt. gray.
  3506.  
  3507. Alternative colors may be selected from those listed
  3508. below. The background color number is entered for the
  3509. first x and the foreground color for the second x. Do
  3510. not use a light color for the foreground, or the
  3511. display will blink.
  3512.  
  3513.     Dark colors    Light colors
  3514.     -----------    ------------
  3515.     0 Black        8 Dark gray
  3516.     1 Blue         9 Lt. blue
  3517.     2 Green        A Lt. green
  3518.     3 Cyan         B Lt. cyan
  3519.     4 Red          C Orange
  3520.     5 Magenta      D Violet
  3521.     6 Brown        E Yellow
  3522.     7 Lt. gray     F White
  3523.  
  3524. For example, to change the yellow on blue (1E) to red
  3525. on blue (14) you would enter
  3526.  
  3527.     E 57A 14
  3528.  
  3529. CHIME TONE
  3530. The value used to calculate the tone of the chime is a
  3531. hexadecimal number that can range from a low of 0025 to
  3532. a high of 1150. The default value is 0416. You'll find
  3533. numbers close to the default more pleasing. To change
  3534. the tone, enter
  3535.  
  3536.     E 584 yy xx
  3537.  
  3538. where xxyy is the new tone divisor. For example, to
  3539. change the tone from the 416 Hz C note to an A (a
  3540. divisor of 370), you would enter
  3541.  
  3542.     E 584 70 03 
  3543.  
  3544. Note that the numbers must be entered exactly as shown
  3545. above. The 70 03 (yy xx) represent 0370 (xxyy).
  3546. @@SEARCH
  3547. SEARCH                               Michael J. Mefford
  3548. Searches for files containing a word or phrase
  3549. -------------------------------------------------------
  3550.  
  3551. Purpose
  3552. -------
  3553. Searches all or specified directories on a disk for
  3554. either designated filenames or the first occurrence of
  3555. character strings within files.
  3556.  
  3557. Format
  3558. ------
  3559.  
  3560.     SEARCH [filespec] [string][/P][/C][/B]
  3561.  
  3562. Remarks
  3563. -------
  3564. SEARCH defaults to a disk-wide search of all
  3565. subdirectories on the current disk. You can specify a
  3566. different drive and/or a pathname as part of the
  3567. optional filespec parameter. Filename searches support
  3568. the DOS * and ? wildcards. Character strings within
  3569. files are identified by putting them in quotation
  3570. marks. (The strings may themselves include a pair of
  3571. quotation marks.) Pressing either Ctrl-Break or Ctrl-C
  3572. terminates SEARCH manually.
  3573.  
  3574. To redirect the output of the SEARCH command to a
  3575. printer, add /P to the command line, as shown in the
  3576. first example below. Adding a similar /C switch will
  3577. make the search for a character string case-sensitive.
  3578.  
  3579. When searching for a character string, SEARCH normally
  3580. ignores .COM and .EXE files. While this saves time,
  3581. there may be occasions when you want to find copyright
  3582. notices, error messages, et al. in an executable file.
  3583. To include binary files in the search, add the /B
  3584. parameter on the command line.
  3585.  
  3586. Example
  3587. -------
  3588. To print out a list all the .COM files in the \PROG
  3589. subdirectory of your current drive, you would enter
  3590.  
  3591.     SEARCH \PROG\*.COM/P
  3592.  
  3593. Example
  3594. --------
  3595. To find which of the file(s) in your \LETTERS
  3596. subdirectory contained the salutation, Dear Miss Jones,
  3597. enter
  3598.  
  3599.     SEARCH \LETTERS "Dear Miss Jones"
  3600.  
  3601. Notes
  3602. -----
  3603. 1. SEARCH returns a line number, based on the number of
  3604.    previous carriage returns in the file, when it finds
  3605.    a string. It reports only the first occurrence of
  3606.    the string in each file.
  3607. @@SLASHBAR
  3608. SLASHBAR                               Robert L. Hummel
  3609. Pop-up Lotus style menus
  3610. -------------------------------------------------------
  3611.  
  3612. Purpose
  3613. -------
  3614. Pops up a Lotus-style menu of the commands needed to
  3615. operate a non-Lotus applications program. You can
  3616. design your own menus using the MAKEBAR utility
  3617. included on this disk.
  3618.  
  3619. Format
  3620. ------
  3621.  
  3622.     SLASHBAR menuname.ext [/n]
  3623.  
  3624. Remarks
  3625. -------
  3626. Menuname.ext is a menu (.BAR) file compiled for the
  3627. application in question with the MAKEBAR program
  3628. contained on this disk. When first loaded, SLASHBAR
  3629. becomes memory-resident and uses the /n parameter to
  3630. reserve sufficient room in memory for the largest .BAR
  3631. file that will be used during the current session. The
  3632. default value of n is 4096 bytes. The maximum value
  3633. of n is approximately 60,000 bytes, which is more than
  3634. the largest .BAR file that can be produced by the
  3635. MAKEBAR compiler. The SLASHBAR command can be run
  3636. many times during a session in order to replace the
  3637. menu in use with that for a different applications
  3638. program, but the /n parameter is used only for the
  3639. first loading.
  3640.  
  3641. The default "hot key" used by SLASHBAR to pop up the
  3642. menu in current use is Alt-/ (Alt plus the slashbar
  3643. key). Instructions for changing this trigger key are
  3644. given in the Notes.
  3645.  
  3646. Example
  3647. -------
  3648.  
  3649. To load the sample DOS.BAR menu supplied on this disk,
  3650. at the DOS prompt enter
  3651.  
  3652.     SLASHBAR DOS.BAR
  3653.  
  3654. (DOS.BAR requires less than 1500 bytes, so no n
  3655. parameter need be given.)  Alt-/ brings up the menu,
  3656. whose commands are activated either by moving the
  3657. highlight bar to the desired command and pressing
  3658. Enter, or simply by typing the first letter of the
  3659. command. The second line of the menu is the
  3660. explanatory help line for the currently-highlighted
  3661. command, as in Lotus 1-2-3.
  3662.  
  3663. Notes
  3664. -----
  3665. 1. If you are familiar with DEBUG, you can change the
  3666.    "hot key" used by SLASHBAR. The possible Shift-Mask
  3667.    values (MM in the DEBUG session below) are listed in
  3668.    a table in the Tech Notes document. The default (the
  3669.    Alt key) is 08 at offset 171.
  3670.  
  3671. 2. Alternate values for the Scan-Code (SS in the DEBUG
  3672.    session below) are similarly listed in Tech Notes.
  3673.    The default (the slash / key) value is 35, and its
  3674.    offset address is 167. After selecting new values for
  3675.    SS and MM, the DEBUG session would be as follows:
  3676.  
  3677.    DEBUG SLASHBAR.COM
  3678.    E 167 SS         ;Scan code here
  3679.    E 171 MM         ;Shift mask here
  3680.    W
  3681.    Q
  3682.  
  3683.    End each line above with a carriage return and do not
  3684.    type in the semicolons or the words to their right.
  3685. @@SPECTRUM
  3686. SPECTRUM                               Robert L. Hummel
  3687. Pop-up color selector
  3688. -------------------------------------------------------
  3689.  
  3690. Purpose
  3691. -------
  3692. Provides existing software with a selectable 16-color
  3693. palette (from among 64 displayable colors) when used
  3694. with an EGA or VGA screen.
  3695.  
  3696. Format
  3697. ------
  3698.  
  3699.     SPECTRUM
  3700.  
  3701. or
  3702.  
  3703.     SPECTRUM xx xx xx xx xx xx xx xx
  3704.              xx xx xx xx xx xx xx xx
  3705.  
  3706. Remarks
  3707. -------
  3708. SPECTRUM is a memory-resident utility that is normally
  3709. loaded as part of your AUTOEXEC.BAT file. Once
  3710. loaded, pressing Ctrl-` (the Ctrl key and the grave
  3711. [reverse] accent key) pops up a display of 16 color
  3712. boxes, each of which may be set, on-screen, to any of
  3713. 64 displayable values. The cursor pad keys are then
  3714. used, as described in the display, to select any of
  3715. the boxes and their 2-digit color codes. Pressing the
  3716. End key saves the current color selections and returns
  3717. you to your application. Home resets the color
  3718. palette to its default values, and Esc aborts any
  3719. changes made, restoring your previous color settings.
  3720.  
  3721. For loading or changing the SPECTRUM palette without
  3722. using the pop-up window (e.g., as part of a batch
  3723. file), the second format above may be used. The values
  3724. for x may range from 0 through 7 and must be entered
  3725. in pairs ON A SINGLE LINE. A single space must separate
  3726. each of the 16 pairs of digits, and a single space must
  3727. also separate the number-pairs from the command name.
  3728. Use the pop-up window to determine the proper number-
  3729. pairs initially.
  3730.  
  3731. Notes
  3732. -----
  3733. 1. Software programs that write directly to the EGA/VGA
  3734.    registers may override the SPECTRUM color selections.
  3735.    The SPECTRUM colors may be restored, if lost, by
  3736.    activating the display window (Ctrl-`) and then
  3737.    pressing the Esc key.
  3738.  
  3739. 2. SPECTRUM provides access to the 64 colors available
  3740.    on an EGA rather than the full set of VGA colors.
  3741. @@SUGGEST
  3742. SUGGEST                              Michael J. Mefford
  3743. Display message at intervals
  3744. -------------------------------------------------------
  3745.  
  3746. Purpose
  3747. -------
  3748. Flashes a message on the screen at selected rates and
  3749. durations ranging from many minutes to a brevity
  3750. approaching the limit of subliminal perception.
  3751.  
  3752. Format
  3753. ------
  3754.  
  3755.     SUGGEST message[/Fn][/Dn]
  3756.  
  3757. Remarks
  3758. -------
  3759. The message may be up to 80 characters in length;
  3760. longer messages are truncated. The optional /F
  3761. (frequency) and /D (duration) switches accept a
  3762. user-entered integer n from 1 through 9. (0 is their
  3763. default value and need not be entered). These
  3764. correspond to the following approximate timings:
  3765.  
  3766.      /F9=0:05            /D9=0.170
  3767.      /F8=3:05            /D8=0.153
  3768.      /F7=6:05            /D7=0.136
  3769.      /F6=9:05            /D6=0.119
  3770.      /F5=12:05           /D5=0.102
  3771.      /F4=15:05           /D4=0.085
  3772.      /F3=18:05           /D3=0.068
  3773.      /F2=21:05           /D2=0.051
  3774.      /F1=24:05           /D1=0.034
  3775.      /F0=27:05 (default) /D0=0.017
  3776.  
  3777. Example
  3778. -------
  3779. You might enter the following:
  3780.  
  3781.     SUGGEST SAVE YOUR WORK/F6/D9
  3782.  
  3783. as a useful reminder.
  3784.  
  3785. Notes
  3786. -----
  3787. 1. SUGGEST is a memory-resident utility. You may load
  3788.    several messages, but you must reboot to clear the
  3789.    program.
  3790.  
  3791. 2. Even at its briefest duration the SUGGEST message is
  3792.    still visible, so the program is not intended for
  3793.    scientific investigation of truly subliminal
  3794.    experimentation.
  3795. @@TIMEKEY
  3796. TIMEKEY                                    Jeff Prosise
  3797. Inserts current time or date with a single keystroke
  3798. -------------------------------------------------------
  3799.  
  3800. Purpose
  3801. -------
  3802. Inserts the date and/or time into documents being
  3803. created by other applications programs.
  3804.  
  3805. Format
  3806. ------
  3807.  
  3808.     TIMEKEY
  3809.  
  3810. Remarks
  3811. -------
  3812. TIMEKEY is a memory-resident utility and must be loaded
  3813. after the system date and time have been initialized.
  3814. Subject to this limitation, it may be loaded either at
  3815. the command line or as part of an AUTOEXEC.BAT file.
  3816.  
  3817. Once loaded, TIMEKEY uses the following keystrokes:
  3818.  
  3819.     Alt-L inserts a long-form date (e.g. June 10, 1987)
  3820.     Alt-S inserts a short-form date (e.g. 6-10-87)
  3821.     Alt-T inserts the time (e.g. 12:21 PM)
  3822.  
  3823. Notes
  3824. -----
  3825. 1. Once loaded, TIMEKEY keeps track of the time
  3826.    automatically, but it does not change the current
  3827.    date at midnight unless the system is manually
  3828.    rebooted.
  3829.  
  3830. 2. TIMEKEY is compatible with BASICA (which also uses
  3831.    the timer tick) and with many memory resident
  3832.    utilities (e.g., SideKick), but compatibility with
  3833.    all TSR programs cannot be assured.
  3834. @@VIDMODE
  3835. VIDMODE                                 Charles Petzold
  3836. Sets/displays the current video mode
  3837. -------------------------------------------------------
  3838.  
  3839. Purpose
  3840. -------
  3841. Reports/changes the current video mode.
  3842.  
  3843. Format
  3844. ------
  3845.  
  3846.     VIDMODE m
  3847.  
  3848. Remarks
  3849. -------
  3850. Entered without the optional m parameter, VIDMODE
  3851. displays the current video mode. In text modes, the
  3852. commands VIDMODE 03 and VIDMODE 07 have the same
  3853. practical effect as the DOS commands MODE CO80 and
  3854. MODE MONO respectively. The table below lists the m
  3855. (mode) parameters to which VIDMODE can be switched.
  3856.  
  3857. Mode  Type   Disp.   Resol.  Chars  Box   Colors  Pgs.
  3858. ----  ----   -----  -------  -----  ---   ------  ---
  3859. 0&1   Text   CGA     200x320  25x40   8x8   16    8
  3860.              EGA     350x320  25x40  14x8   16    8
  3861.              VGA     400x360  25x80  16x9   16    8
  3862. 2&3   Text   CGA     200x640  25x80   8x8   16    8
  3863.              EGA     350x640  25x80  14x8   16    8
  3864.              VGA     400x720  25x80  16x9   16    8
  3865. 4&5   Graph  CGA+    200x320  25x40   8x8    4    1
  3866.  6    Graph  CGA+    200x640  25x80  14x8    2    1
  3867.  7    Text   MDA     350x720  25x80  14x9    4    8
  3868. 8-12  ------------ Reserved/PCjr modes ------------
  3869. 13    Graph  EGA+    200x320  25x40   8x8   16    8
  3870. 14    Graph  EGA+    200x640  25x80   8x8   16    4
  3871. 15    Graph  EGA     350x640  25x80  14x8    4    1
  3872. 16    Graph  EGA+    350x640  25x80  14x8   16    2
  3873. 17    Graph  MCGA+   480x640  25x80  14x8    2    1
  3874. 18    Graph  VGA     480x640  25x80  14x8   16    1
  3875. 19    Graph  MCGA+   200x320  25x40  14x8  256    1
  3876.  
  3877. Notes
  3878. -----
  3879.  
  3880. 1. Users of a Hercules graphics card can
  3881.    activate "page 1" graphics if an EGA/VGA
  3882.    is installed with the command sequence:
  3883.  
  3884.                     MODE CO80
  3885.                     VIDMODE 16
  3886.                     ...
  3887.                     MODE MONO
  3888.  
  3889.    Use VIDMODE 14 if your EGA is connected
  3890.    to a conventional color monitor.
  3891.  
  3892. 2. Should you switch to a mode not supported
  3893.    by your monitor, you can recover by blindly
  3894.    entering VIDMODE 3 (color) or VIDMODE 7
  3895.    (monochrome).
  3896.  
  3897. 3. By adding 128 to the mode number desired you
  3898.    can change modes without clearing the screen
  3899.    (though the cursor is reset to the upper
  3900.    left). These high numbered modes may confuse
  3901.    some applications programs, however.
  3902.  
  3903. 4. VIDMODE will switch to 'super VGA' modes if
  3904.    your display has them provided that you know
  3905.    the correct mode number to use. Your display
  3906.    card manual should list these. WARNING: You
  3907.    should be careful not to select Super VGA modes
  3908.    that your monitor is not designed to handle.
  3909.    Some Super VGA cards do not provide protection
  3910.    against this and it can cause damage to your
  3911.    monitor.
  3912.  
  3913. 5. VIDMODE was formerly called EGAMODE.
  3914. @@VIDPAGE
  3915. VIDPAGE                                 Charles Petzold
  3916. Sets/displays the current video page
  3917. -------------------------------------------------------
  3918.  
  3919. Purpose
  3920. -------
  3921. Reports/changes the current video page.
  3922.  
  3923. Format
  3924. ------
  3925.  
  3926.     VIDPAGE p
  3927.  
  3928. Remarks
  3929. -------
  3930. Entered without the optional p parameter, VIDPAGE
  3931. reports which video page is currently active. The
  3932. chart presented in this manual for VIDMODE shows
  3933. which video pages (p parameters, beginning with 0) can
  3934. be used in each mode.
  3935.  
  3936. VIDPAGE can be useful when you have material on your
  3937. screen to which you want to return later. Entering
  3938. VIDPAGE 1 activates a new screen while retaining the
  3939. contents of the default VIDPAGE 0 in memory. The
  3940. previous display can subsequently be recalled by
  3941. issuing the VIDPAGE 0 command.
  3942.  
  3943. Notes
  3944. -----
  3945.  
  3946. 1. When using an alternate video page do not change
  3947.    video modes (e.g. with MODE CO80) or the previous
  3948.    display contents will be lost.
  3949.  
  3950. 2. ANSI.SYS cannot be used with other than video
  3951.    page 0.
  3952.  
  3953. 3. VIDPAGE was formerly called EGAPAGE
  3954. @@VISITYPE
  3955. VISITYPE                                 Steven Holzner
  3956. Expanded keyboard typeahead buffer
  3957. -------------------------------------------------------
  3958.  
  3959. Purpose
  3960. -------
  3961. Expands the PC's normal 15-character typeahead buffer
  3962. to 80 characters.
  3963.  
  3964. Format
  3965. ------
  3966.  
  3967.     VISITYPE
  3968.  
  3969. Remarks
  3970. -------
  3971. If you enter a series of commands without waiting
  3972. until each has finished executing (as during a long
  3973. directory scroll or disk-searching operation, for
  3974. example), the PC will beep and discard subsequent
  3975. keystrokes when you exceed its built-in 15-character
  3976. keyboard buffer.
  3977.  
  3978. VISITYPE enlarges the keyboard buffer to 80 characters
  3979. and temporarily displays any overflow on the top line
  3980. of the display before they are used. Keystrokes so
  3981. displayed can be edited, if necessary, by using the
  3982. Backspace key and then entering the correct keystroke.
  3983.  
  3984. Notes
  3985. -----
  3986.  
  3987. 1. VISITYPE is a memory-resident utility that is
  3988.    normally loaded through your AUTOEXEC.BAT file.
  3989.    While it will work with most applications programs,
  3990.    it will not work with those that completely take
  3991.    over the keyboard interrupts for their own purposes.
  3992. @@XDIR
  3993. XDIR                                       Jeff Prosise
  3994. Pop-up directory display
  3995. -------------------------------------------------------
  3996.  
  3997. Purpose
  3998. -------
  3999. XDIR is a memory-resident utility that allows you to
  4000. display the filenames in any drive/directory even when
  4001. you are running another applications program.
  4002.  
  4003. Format
  4004. ------
  4005.  
  4006.     XDIR
  4007.  
  4008. Remarks
  4009. -------
  4010. Once loaded (normally as an entry in your AUTOEXEC.BAT
  4011. file), pressing the Alt-. (the Alt and the period key
  4012. combination) causes a blank window to pop up on the
  4013. screen. Pressing Enter then displays the first 40
  4014. filenames of your current directory in the window.
  4015. Pressing Esc once clears the display, and pressing it a
  4016. second time returns you to your previous application.
  4017.  
  4018. To view other directories, simply enter their
  4019. appropriate path designation (including drive, if
  4020. different) before pressing Enter when the window is
  4021. blank.
  4022.  
  4023. The PgUp and PgDn keys are used to display files beyond
  4024. the initial 40 shown in the window. Up to 360 files in
  4025. any one directory may be displayed.
  4026.  
  4027. Notes
  4028. -----
  4029. 1. If you are experienced in using DEBUG, you may wish
  4030.    to change some of the XDIR defaults. Remember
  4031.    always to make changes to a copy of the program,
  4032.    not to your original. After entering DEBUG XDIR.COM,
  4033.    the following addresses and initial values may be of
  4034.    interest:
  4035.  
  4036.     Offset Value  Parameter
  4037.     ------ -----  -----------
  4038.     013C   4F     Border color attribute
  4039.     013D   0F     Text color attribute
  4040.     014D   00     File type (see Note 2)
  4041.     0186   34     Period key scan code
  4042.     018E   08     Alt-key shift code
  4043.  
  4044. 2. By default, XDIR displays only normal filenames (00
  4045.    at :014D). To show hidden files, the value here
  4046.    should be 02. System files are 04, and subdirectories
  4047.    are 10h. These values are additive. To display
  4048.    subdirectories and files marked both hidden and
  4049.    system (e.g. IBMBIO.COM) you would enter the value
  4050.    16h at offset :014D in place of the default 00.
  4051.  
  4052. 3. While no TSR program can be guaranteed compatible
  4053.    with all other memory residents, XDIR should coexist
  4054.    with most other TSRs.
  4055.