home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / util / file / 002 / changes.doc < prev    next >
Encoding:
Text File  |  1990-02-24  |  31.4 KB  |  587 lines

  1. ┌────────────────────────────────────────────────────────────────────────────┐
  2. │                                 CHANGES.DOC                                │
  3. ├────────────────────────────────────────────────────────────────────────────┤
  4. │ This file documents the changes, enhancements, or corrections made to dCOM │
  5. │ since the distribution users manual was published.                         │
  6. └────────────────────────────────────────────────────────────────────────────┘
  7.  
  8.                                  Version 3.42
  9. ------------------------------------------------------------------------------
  10. 1.   Macro lines following a GOSUBMF command are now executed upon return to
  11.      the gosub'd macro file.  Since the state of many of the internal macro
  12.      variables can easily be misconstrued across gosub'd macro files, using
  13.      a GOSUBMF inside a DO block should be avoided.  Use of a GOSUBMF command
  14.      inside any other type of loop or block (such as IF blocks, LOOPs, etc...)
  15.      should also be used with caution and at your own risk.
  16.  
  17.      This now allows a macro to automatically "clean-up" after certain
  18.      conditional actions are performed.  For example, the login macro
  19.      (associated with the activity log) can now be written as follows to
  20.      support automatically logging the user out:
  21.  
  22.         [F1] Log On
  23.         :LOG1
  24.         GET %1 Enter Your Name:
  25.         IF %1<=@ THEN
  26.          BEEP
  27.          GOTO LOG1
  28.         ENDIF
  29.         ECHO %DT %TI         %1 Logged In>>C:\DCOM\DCOM.LOG
  30.         SET DUSER=%1
  31.         GOSUBMF MAIN
  32.         ECHO %DT %TI         %DUSER% Logged Out>>C:\DCOM\DCOM.LOG
  33.         SET DUSER=
  34.  
  35. 2.   Using quotation marks around the second operand in a macro IF comparison
  36.      now allows comparing against text with embedded spaces.  If quotes are
  37.      used to surround the second operand, DO NOT follow suite and enclose the
  38.      first operand with quotes as well.  Use of the quotation marks is optional
  39.      if the second operand does not contain any spaces.  For example:
  40.  
  41.         :LOG1
  42.         GET %1 Enter Your Full Name:
  43.         IF %1="John Doe" GOTO LOG2
  44.         IF %1="Jim Smith" GOTO LOG2
  45.         IF %1=Ronald_McDonald GOTO LOG2
  46.         ECHO You Are Not Authorized Access to This System
  47.         BEEP
  48.         GOTO LOG1
  49.         :LOG2
  50.         ECHO Welcome Aboard
  51.  
  52. 3.   A technical hint.  You can test on the extension of a selected file, or
  53.      tagged file, in a macro key by comparing the appropriate variable that
  54.      produces both the filename and its extension against the variable that
  55.      only produces the filename plus a manually specified extension.  For
  56.      example:
  57.  
  58.         IF %FE<>%FN.ZIP ECHO File is not a .ZIP File.
  59.                     - or -
  60.         IF %FE=%FN.ZIP ECHO File is a .ZIP File.
  61.  
  62. 4.   Any form of copying or moving when the source is the name of a sub-
  63.      directory now also recurses down through all subdirectories in the
  64.      source subdirectory.  You can force dCOM to copy the entire contents of
  65.      a disk by using the visual tree and selecting the root directory as your
  66.      source for a copy (or move) command.  The "feel" for how copying or moving
  67.      subdirectories by name has changed in that its now automatically implied
  68.      that the source directory name will be made in and after the destination
  69.      directory used.
  70.  
  71. 5.   The free disk space is now constantly updated when using the Visual Tree
  72.      to log different drives.
  73.  
  74. 6.   The free disk space on the target drive of a copy action is now shown and
  75.      updated with each file copied.  It will return to reflecting the logged
  76.      drive when the copy action is completed.
  77.  
  78. 7.   Selecting from any of the pop-up menu's (including the filename menu's
  79.      like the macro SELECT command) can now be expedited by pressing the first
  80.      letter of the selection desired.  This will then locate the cursor on the
  81.      next instance of a option starting with that character.  Subsequent key-
  82.      presses of the same character will then advance through any more options
  83.      also starting with that character.  Pressing the Return key would then use
  84.      the option selected.  This could save a lot of time when dealing with a
  85.      large number of selections (usually file select windows) instead of having
  86.      to use the cursor keys to locate and select the filename desired (if you
  87.      don't have a mouse).
  88.  
  89. 8.   Additional error checking has been added to the macro keys to detect
  90.      attempts to change to an invalid drive.  Also, some macro commands which
  91.      used to require a space between the command and its parameters no longer
  92.      do (i.e. "DIR/W" will now work where before it had to be expressed as
  93.      "DIR /W").
  94.  
  95. 9.   A new macro command, GOSUB, has been added which works much in the same
  96.      context as GOTO does to jump to a label within the current macro key,
  97.      except that it saves return information on a gosub stack.  Returning from
  98.      the gosubed procedure is accomplished using the same RETURN command which
  99.      returns from GOSUBMF.  dCOM will automatically differentiate between mixed
  100.      uses of the RETURN command.  Logically the best place to build common
  101.      procedures would be on the end of a macro key, in which case, you must
  102.      ensure that the normal execution of the macro does not fall through and
  103.      begin executing the procedures, by using a EXIT command.
  104.  
  105.      For Example:
  106.  
  107.         [F1] EXAMPLE OF GOSUB
  108.         GOSUB TEST                              ;;GOSUB TEST PROCEDURE
  109.         ECHO Returned From TEST                 ;;ECHO WE'RE BACK
  110.         PAUSE                                   ;;PAUSE
  111.         EXIT                                    ;;FORCE EXIT FROM MACRO
  112.  
  113.         :TEST                                   ;;TEST PROCEDURE
  114.         ECHO In TEST Procedure                  ;;ECHO WE'RE IN TEST
  115.         GOSUB TEST1                             ;;GOSUB TEST1 PROCEDURE
  116.         ECHO Returned From Test1                ;;ECHO WE'RE BACK
  117.         RETURN                                  ;;RETURN TO CALLER
  118.  
  119.         :TEST1                                  ;;TEST1 PROCEDURE
  120.         ECHO In TEST1 Procedure                 ;;ECHO WE'RE IN TEST1
  121.         RETURN                                  ;;RETURN TO CALLER
  122.  
  123. 10.  You can now use tabs to indent macro lines in the same manner that spaces
  124.      are allowed (mainly for increasing readability within a IF, DO, or LOOP
  125.      block).  One possible use of this would be to tab in the start of all
  126.      macro lines except the title line, to help set-off the start of each key.
  127.  
  128. 11.  Macro GOSUB or GOTO commands can now call or jump to labels in other macro
  129.      keys by prefixing the target label's name with the name of the macro key
  130.      that contains the label, separated with a colon.  For instance, using
  131.      "GOTO F1:TEST" would jump to a label called "TEST", defined in the F1 key.
  132.      Previously, the scope of a search for a target label of one of these two
  133.      commands was limited to just the macro key being executed.  Allowing GOTO
  134.      or GOSUB commands to jump or call labels in other macro keys allows macro
  135.      keys to share significant portions of macro code.
  136.  
  137. 12.  ELSE and ELSEIF commands have been added for macro IF blocks.
  138.  
  139.      For example:
  140.  
  141.         [F1] EXAMPLE OF ELSE
  142.         IF 1>3 THEN
  143.          ECHO IF Block is True
  144.         ELSE
  145.          ECHO IF Block is False
  146.         ENDIF
  147.  
  148.             - or -
  149.  
  150.         [F1] EXAMPLE OF ELSEIF
  151.         IF 1>2 THEN
  152.          ECHO 1st IF Block is True
  153.         ELSEIF 2>2 THEN
  154.          ECHO 2nd IF Block is True
  155.         ELSEIF 3>2 THEN
  156.          ECHO 3rd IF Block is True
  157.         ELSE
  158.          ECHO No IF Blocks are True
  159.         ENDIF
  160.  
  161. 13.  The text editor now supports a 43 line mode for EGA monitors (50 for VGA),
  162.      which can be enabled in the text editor's configuration menu.
  163.  
  164. 14.  When subdirectories are deleted by name, it will now EVEN delete files
  165.      with the read-only attribute set.  Additionally, if the system password
  166.      is set (using Alt-A), it will be required before allowing a subdirectory
  167.      and all of its contents to be deleted in this fashion.
  168.  
  169.  
  170.                                  Version 3.43
  171. ------------------------------------------------------------------------------
  172. 15.  The memory scheme has been modified to include another new overlay which
  173.      contains some of the resident portion's code.  Current benefit is a 10k
  174.      reduction in dCOM's core size (now approx. 40k).  Further integration
  175.      may improve this, further enhancements to the low-level handlers will
  176.      detract from it.  The new overlay's memory is deallocated just prior to
  177.      executing another program, and immediately after returning.  The same
  178.      technique is used as with the transient (utility mode) overlay; if
  179.      expanded (EMS) memory is present, the overlay is stored there (occupying
  180.      a 32k block unless it grows), if EMS is not present, the overlay is
  181.      deallocated and placed in high memory and checksumed upon return from an
  182.      EXEC call, if intact is then just shifted down, otherwise its reloaded
  183.      from disk.  With this addition of yet another overlay, now might be a
  184.      good time to mention that using a disk cache such as Microsoft's
  185.      Smartdrive (SMARTDRV.SYS) or Golden Bow's VCACHE, can make a nice
  186.      improvement in the performance of your computer, both with dCOM and with
  187.      other disk-intensive applications.  In the author's opinion, a disk cache
  188.      is about the best thing you can do with that extra 384k of extended memory
  189.      found in a lot of 1 meg 286 machines.
  190.  
  191. 16.  All of dCOM's overlay files are now integrated into one master overlay
  192.      file, DCOM.OVL, and complemented with a new internal overlay manager.
  193.      No special reason for doing this, just thought it would be "neat"...
  194.  
  195. 17.  Using the Tab key to type MS-Dos commands is now processed almost entirely
  196.      by dCOM.  If dCOM can locate the command typed, it will load and run it
  197.      directly (quicker stuff), or if the command matches an internal Dos
  198.      command or batch file, dCOM will automatically used COMMAND.COM to run
  199.      it.  Furthermore, the text entered also has the same variable expansion
  200.      options that are available in the macro keys.  For example, This could
  201.      help save a lot of typing when needing to temporarily modify the path,
  202.      by typing something like: "SET PATH=%PATH%;C:\DOS", which would add C:\DOS
  203.      to the existing path.  The other macro variables are also available (for
  204.      what its worth), and you could type something like PKUNZIP %FE to unzip
  205.      the currently selected file.
  206.  
  207. 18.  dCOM no longer gives up the mouse interrupt (33h) when the screen saver
  208.      is not set to activate outside of dCOM.  This was just causing too many
  209.      intermittent problems with the mouse.  It's mouse handler however, has
  210.      been modified to appear as the Logitech driver - refer to #26 below.
  211.  
  212. 19.  Another new command has been added to the macro keys, EDIT, and guess
  213.      what it does...  Allows access to dCOM's editor from the macro keys.  The
  214.      calling syntax is:  "EDIT [d:][\path\]filename".  If a complete path is
  215.      not provided, the editor will resolve it so that the editor can be exited
  216.      with Alt-Q, directories changed, and a return to the editor with a sub-
  217.      sequent save command won't loose track of where the file was originally
  218.      read from.
  219.  
  220. 20.  And yet another macro command (the capabilities of this new memory scheme
  221.      are working out nicely), SPOOL, allows you to control the size of the
  222.      print spooler before running certain applications.  The calling syntax
  223.      is:  "SPOOL nnnn", where nnnn represents the desired size in thousands.
  224.      Requests to change the spooler's size are ignored however, if its buffer
  225.      contains any data waiting to be spooled to the printer.
  226.  
  227. 21.  dCOM now automatically picks up on when the pipe character ("|") is used
  228.      in a macro command, and uses COMMAND.COM to execute the command.  This
  229.      eliminates the previous requirement of having to use the ">" macro
  230.      operator to start a macro line when using the pipe character.
  231.  
  232. 22.  Shift-F1 through Shift-F4 now provide a quick method for assigning buffers
  233.      to windows in the text editor.  For instance, if you wanted to assign buf-
  234.      fer 4 to window 2, you can now press F2 (to select window 2), and then
  235.      press sF4 (to assign buffer 4 to it).
  236.  
  237. 23.  Shift-F5 now provides a quick method to toggle the current state of the
  238.      43/50 line mode in the text editor.  The initial state upon entering the
  239.      editor is determined by the current setting in the text editor's confi-
  240.      guration menu.
  241.  
  242. 24.  The macro keys no longer abort during their normal execution if the Escape
  243.      key is pressed.  A Ctrl-C however, will.  This was implemented so that the
  244.      %KB variable can be used to test for Escape and provide a better-behaved
  245.      method for exiting a macro.
  246.  
  247.      For Example:
  248.  
  249.         ECHO Press Return To Continue With Backup or Escape To Quit
  250.         :KEYWAIT
  251.         SET %9=%KB
  252.         IF %9=%(27) GOTO EXIT
  253.         IF %9<>%(13) GOTO KEYWAIT
  254.         ECHO Echo Backing up Data Files
  255.         XCOPY C:\DATA\*.* A:
  256.         :EXIT
  257.         CDDO
  258.  
  259. 25.  A new command line switch, /B, has been added which is provided only for
  260.      users encountering problems with their cursor shape (usually because of
  261.      a not so compatible video card).  This switch tells dCOM to use BIOS calls
  262.      to change the cursor shape (from underline to block), instead of directly
  263.      addressing the 6845 CRT controller (more efficient).  Try using it only if
  264.      you are not getting a cursor at all, or if the shape of the cursor is not
  265.      behaving properly.
  266.  
  267. 26.  dCOM's mouse interrupt handler has been modified to fool Logitech's
  268.      LOGIMENU and CLICK programs into thinking it is the actual Logitech mouse
  269.      driver.  This now allows these two programs to work properly even though
  270.      dCOM may be sandwiched between the mouse driver and the menu programs.
  271.      BE SURE HOWEVER, that you initially load LOGIMENU on the same side of
  272.      dCOM that you load the mouse driver - if you load the mouse driver before
  273.      you run dCOM, then you must also initially load LOGIMENU before you run
  274.      dCOM.  More calls to LOGIMENU (from within a batch or macro file) after
  275.      dCOM is loaded, to load a new menu, will work properly and not load
  276.      another copy of LOGIMENU.  If you don't follow this rule, your computer
  277.      will lock-up if you try to remove LOGIMENU as a TSR.  (The two of them
  278.      get into bed somehow...)  This testing was performed using version 4.0
  279.      of both LOGIMENU and CLICK.  Additionally, if both LOGIMENU and CLICK are
  280.      loaded before dCOM, it may be necessary to briefly run LOGIMENU again
  281.      before running a program that you wish to use it with, to re-enable it
  282.      (running it a second time will not reload it as a TSR, it just reacti-
  283.      vates it because dCOM issues a reset to the mouse driver every time it
  284.      returns from running a program).
  285.  
  286. 27.  dCOM no longer automatically creates a null (empty) macro file when first
  287.      run if the default macro file doesn't exist.  It will however, insert the
  288.      name of the current macro file into the list when using Alt-K to edit
  289.      macro files, even if it doesn't exist.  There were just too many incidents
  290.      of people copying the entire dCOM directory to a floppy disk, and then
  291.      copying that disk into their working dCOM directory and covering a valid
  292.      macro file with the empty one.  If this doesn't make sense - don't worry
  293.      about it.
  294.  
  295. 28.  A technical tidbit:  Users who are not running dCOM with expanded memory
  296.      (EMS) using the /EMM switch (which tells dCOM to run the transient portion
  297.      in expanded memory), can gain about 44K more of editing space by invoking
  298.      the editor from a macro key, at the expense of some possible additional
  299.      disk I/O activity after exiting the editor (to reload the transient
  300.      portion).
  301.  
  302.      For example:
  303.  
  304.         [F1] EDIT SELECTED FILE
  305.         EDIT %FE
  306.  
  307. 29.  A new command line switch, /BW, has been added for users with a color
  308.      video card and a monochrome display.  Using this switch limits the use
  309.      of color to black, white, and bright white - regardless of what may be
  310.      in the configuration menu.  This can be useful on laptop computers with
  311.      LCD displays, or any other video setup where you end up with shades of
  312.      green, etc...
  313.  
  314. 30.  The rename command ("R"), no longer attempts to rename and produce an
  315.      error if the filename (or directory name) wasn't changed.
  316.  
  317. 31.  The make directory command (Alt-M), now expands the full command line
  318.      for editing and allows specifing paths outside of the current drive
  319.      and/or directory.  Additionally, it will also create multiple directories
  320.      several layers deep, even if part of the path doesn't already exist
  321.      (unlike its MS-Dos counterpart).  For example: "MD \test\test1" will bomb
  322.      under MS-Dos if "test" doesn't exist in the root directory, where now,
  323.      dCOM will make both "test" and then "test1".  Lastly, the text entered is
  324.      now also saved in the community text buffer for later recall with the up
  325.      and down arrow keys.
  326.  
  327. 32.  A new macro command, MENU, has been added which allows you to write your
  328.      own pop-up, point-n-shoot, mouse-sensitive, menus.  Its syntax is:
  329.  
  330.         MENU [title],selection[,selection][,selection]
  331.  
  332.      To go along with it, two new macro variables have been added which then
  333.      allow you to test on which selection was picked (If the Escape or Ctrl-C
  334.      keys are pressed the macro will be aborted, same as the SELECT command),
  335.      which are:
  336.  
  337.         %MS = Numeric value of line selected (1=1st, 2=2nd...).
  338.         %MT = Text of line selected.
  339.  
  340.      An example of using the MENU command would be:
  341.  
  342.         [F1]  Delete A:
  343.         MENU Are You Sure?,Yes,No
  344.         IF %MS=1 DEL A:*.*
  345.  
  346.                - or -
  347.  
  348.         [F1]  Delete A:
  349.     MENU Are You Sure?,Yes,No
  350.     IF %MT=YES DEL A:*.*
  351.  
  352.      Remember, if a macro command happens to coincide with the name of another
  353.      program you are actually trying to run - then you have to prefix the line
  354.      with a ">" to tell dCOM to use Dos to execute the line.  This is brought
  355.      up again here because MENU also happens to be the name of the older mouse
  356.      utility by Logitech (they have since renamed it LOGIMENU), and, is also
  357.      the name of Novell's network menuing utility.  If you intend to use one
  358.      of these two programs, and not the macro MENU command, then you would use
  359.      ">MENU" instead of "MENU".
  360.  
  361.  
  362.                                  Version 3.44
  363. ------------------------------------------------------------------------------
  364. 33.  Using the Goto Macro File command (activated with the period key) no
  365.      longer automatically displays the menu of macro key titles after selecting
  366.      the new macro file.  In doing this before, it was inconsistent with how
  367.      the macro command equivalent, GOTOMF, worked, and it also seemed to be
  368.      more in the way than not.  (Let me know if this is adversely received.)
  369.  
  370. 34.  Command Line Switches and Macro Switches are now indifferent to whether
  371.      a colon or a equal sign is used (i.e. /E:300, /E300, or /E=300 are all
  372.      acceptable syntaxes for telling dCOM to use a 300 byte environment).
  373.  
  374. 35.  An entirely new login system complete with user rights, and user groups
  375.      has been implemented.  This affects the entire method with which dCOM
  376.      handles password security.  Support will soon be added for remote logins
  377.      over a network via a network's login script.  Refer to the newly enclosed
  378.      doc file, LOGIN.DOC, for more information.  Even if you don't have an
  379.      interest in using the new login system, you should still read the first
  380.      few sections of this file to understand areas of dCOM that are affected
  381.      when the login system isn't active.
  382.  
  383. 36.  When deleting a subdirectory entry (and all directories and files below
  384.      it), the password is no longer prompted for because this capability must
  385.      first be available in the user's rights (under the login system) - but
  386.      now, dCOM will display a warning message if the directory contains files
  387.      with the Read-Only attribute set which, will allow you to abort or
  388.      continue and delete the files.  It should be noted though that this
  389.      message only displays after a wildcard delete has already been attempted
  390.      on the directory.  Don't be deleting with the frame of mind that this
  391.      message will save you before anything is deleted - a lot of files without
  392.      the read-only attribute will probably have already been deleted before
  393.      the new message displays.  The only thing you are assured of is that you
  394.      will always have the option to abort before read-only files are deleted.
  395.  
  396. 37.  For what its worth, dCOM now reacts a little differently when logging on
  397.      to a new drive.  It will first load the directory's contents and then
  398.      display them immediately, then it will call Dos to calculate the amount
  399.      of free disk space on the default drive.  This call to Dos to calculate
  400.      the free disk space sometimes results in a minor pause (just so we know
  401.      who's at fault here...).  Previously you had to wait for both tasks to
  402.      finish before the screen would update and you could continue.  Now, you
  403.      can see the files a little quicker, but the free disk space call must be
  404.      completed before you can continue and use the directory.  Additionally,
  405.      when the macro menu mode is active (/M command line switch), neither of
  406.      these tasks are now performed before the menu is displayed, which will
  407.      get the menu up a little quicker - but, if you escape the menu to drop
  408.      down to the utility mode, these two tasks will now have to be performed.
  409.  
  410. 38.  Change #33 above has been modified somewhat.  When you goto a new macro
  411.      file using the period key, dCOM will now pop-up the macro titles only if
  412.      the new macro file is not the default macro file (like it used to do
  413.      before, all the time).  If you are using the goto macro file command to
  414.      return to the default macro file, the macro titles will not be displayed
  415.      automatically.
  416.  
  417. 39.  The login system has received two changes:  1) If GUEST is not present in
  418.      the Access Control Menu, dCOM will now not automatically use GUEST with
  419.      no rights or groups if a login attempt fails.  2) If a user does not have
  420.      the Modify Files right, they will not be allowed to overwrite files as a
  421.      result of a copy or move (regardless of whether overwrite warnings are
  422.      enabled).
  423.  
  424. 40.  dCOM will now automatically park the heads on any internal hard disks
  425.      when a logout occurs in the login system (automatically or manually).
  426.  
  427. 41.  Even if the login system is not used, Alt-L will now ship the heads on
  428.      all hard disks present.  This means no matter what, immediately after
  429.      pressing Alt-L, the hard disks will be in a shipped state at which you
  430.      can power down the computer.  If the login system is not active, however,
  431.      the heads can become unshipped rather quickly by subsequently asking dCOM
  432.      to do something (which is ok as long as you are aware the heads are now
  433.      no longer shipped).
  434.  
  435. 42.  The new shipping feature is now also available as a macro command, SHIP,
  436.      which will ship all internal hard disks present.  You do however, have to
  437.      provide your own pause message to the user to power down the computer.
  438.      Hint:  You can almost lock up the computer after using the SHIP command
  439.      in a macro, by GOTOing a label immediately before the GOTO.  Only a Ctrl-C
  440.      is capable of breaking this loop.
  441.  
  442.      For Example:
  443.  
  444.         [F1] SHIP HARD DISK
  445.         SHIP                                    ;;SHIP THE HARD DISK(S)
  446.         MENU Hard Disks Shipped,Shut Down,Abort ;;MENU A RESPONSE
  447.         IF %MS=1 THEN                           ;;IF RESPONSE IS SHUTDOWN THEN
  448.          CLS                                    ;; CLEAR THE SCREEN
  449.          ECHO Turn Power Off Now;               ;; TELL USER TO TURN OFF POWER
  450.          :LOCKCITY                              ;; LABEL TO LOCK COMPUTER WITH
  451.          GOTO LOCKCITY                          ;; ENDLESS LOOP
  452.         ENDIF                                   ;;OTHERWISE DROP OUT
  453.  
  454. 43.  The Escape key will now work to also answer the "Press Return to Resume
  455.      dCOM" prompt.
  456.  
  457. 44.  A "Quick Format" feature has been implemented and is now used when you
  458.      select the "Delete and Continue" response from the insufficient disk
  459.      space message (which displays appropriately when copying files).  This
  460.      means that files and directories will be deleted, where before only files
  461.      in the root directory would have been deleted before copying continued.
  462.  
  463.      The same "Quick Format" feature can also be accessed through a new utility
  464.      mode command, Alt-F, which will display a pop-up menu asking which floppy
  465.      drive to format.  As its name implies, "Quick Formatting" doesn't waste
  466.      any time in totally erasing all files and subdirectories from a floppy
  467.      disk - however, the disk must already be capable of use under MS-Dos.
  468.      Quick Formatting will not work to originally format a brand new diskette.
  469.  
  470. 45.  The new quick format feature is also available as a new macro command
  471.      in the following syntax:
  472.  
  473.         QFORMAT [drive]
  474.  
  475.      If the drive isn't specified, Qformat will prompt for it.  Qformat will
  476.      produce a syntax error if a drive other than A: or B: is specified.  The
  477.      status of a Qformat operation can be tested afterwards using the %EL
  478.      (error level) macro variable, which will be 0=successful, 1=error.  Also
  479.      note that unlike the utility mode's counterpart, the macro command WILL
  480.      NOT prompt for confirmation before proceeding.  If you want to verbally
  481.      assualt the user before allowing this command to occur in a macro key,
  482.      you must provide your own message beforehand.
  483.  
  484.      For Example:
  485.  
  486.         [F1] ERASE FLOPPY DRIVE
  487.         MENU Erase Drive,A:,B:                  ;;PROMPT FOR DRIVE
  488.         SET %1=%MT                              ;;%1 = DRIVE TO ERASE
  489.         BEEP                                    ;;BEEP
  490.         MENU This Will Completely Erase Drive %1,Proceed,Abort
  491.         IF %MS=1 THEN                           ;;IF RESPONSE IS PROCEED THEN
  492.          QFORMAT %1                             ;;ERASE THE DRIVE
  493.          IF %EL>0 MENU ,Error Formatting %1     ;;IF ERROR DISPLAY ERROR
  494.         ENDIF                                   ;;END OF IF BLOCK
  495.  
  496. 46.  For what its worth, an ANSI music driver has been added to the macro BEEP
  497.      command, which is accessed by appending the ANSI music text immediately
  498.      after the BEEP command.  If no text follows the BEEP command, the same
  499.      asynchronous system beep is still sounded.  For those not familiar with
  500.      ANSI music notation, the following is a brief description:
  501.  
  502.         A..G   The musical notes A thru G.  A note may be immediately followed
  503.                by a modifier ("#" or "+" for sharp, "-" for flat).  Next, a
  504.                note may be followed by a number denoting the note length (1 for
  505.                a whole note thru 64 for a 64th note).  Lastly, a note may be
  506.                followed by one or more periods ("."), each of which will extend
  507.                the note by one half of its existing value.
  508.  
  509.         Ln     Specifies the default length of notes to follow (n is 1 for a
  510.                whole note thru 64 for a 64th note).  The initial default is 4
  511.                for a quarter note.
  512.  
  513.         On     Specifies the octave for notes to follow (n may be 0 thru 7).
  514.                The initial default octave is 4, the same octave in which middle
  515.                C is found.
  516.  
  517.         P[n]   Specifies a pause (no sound).  The optional n, may be used to
  518.                give a different note length from the current default (1 for a
  519.                whole note thru 64 for a 64th note).  One or more periods (".")
  520.                may follow, each of which will extend the pause by one half of
  521.                its existing value.
  522.  
  523.         Tn     Specifies the tempo in beats per minute (32 thru 255).  The
  524.                initial default is 120.
  525.  
  526.      For Example:
  527.  
  528.         [F1] MUSIC
  529.         BEEP T240L3ABC#D                        ;;PLAY NOTES A, B, C#, AND D
  530.  
  531. 47.  A browse (list) command has been added both to the utility mode and to
  532.      the macro command set.  From the utility mode, pressing "B" will browse
  533.      the selected file.  In a macro file, the new command is: BROWSE filespec.
  534.      The browsing utility is basically a stripped-down version of the text
  535.      editor (which is why it will look suspiciously like it).  It will operate
  536.      using the editor's current configuration (colors, borders, etc...) except
  537.      for Enhanced Video, which is arbitrarily turned off in browse.  The
  538.      commands which were carried over from the editor are still the same
  539.      (Alt-X to exit, Alt-S to search, F7 for help, etc...) except that Escape
  540.      will exit browse, but won't exit the editor.
  541.  
  542. 48.  The Ctrl-Left and Ctrl-Right keys now work in browse to shift the screen
  543.      in the appropriate direction by 8 columns, in order to view text that is
  544.      wider than what shows on the screen.
  545.  
  546. 49.  The Backspace key no longer closes from the right if the insert mode is
  547.      not on.  This change was made to prevent inadvertantly destroying column
  548.      alignment or overtyping valid characters to the right of the cursor when
  549.      in overtype mode, because of an almost instinctive use of the Backspace
  550.      key to correct an accidentally typed character.  This is an experimental
  551.      change so let me know what you think.
  552.  
  553. 50.  Optional pathspecs may now be specified for the macro GOTOMF and GOSUBMF
  554.      commands.  If a pathspec is not privided (just a filename is given), the
  555.      Home Directory is used as it was to load the macro file specified.
  556.      This capability now allows dCOM to menu or use a common macro file, or
  557.      a series of macro files defined on a network drive, even the dCOM is
  558.      initially booted from a local drive.
  559.  
  560. 51.  A DELAY command has been added to the macro keys.  Its syntax is:
  561.  
  562.         DELAY [seconds]
  563.  
  564.      If seconds are not provided, a delay of 1 second will be used.  If the
  565.      number of seconds are provided, a window will pop-up and count down the
  566.      delay period specified.  Pressing the Escape key during the count down
  567.      will abort the delay (not the macro), and execution will continue.
  568.      Pressing Ctrl-C will however, abort the delay and the macro.  Checking
  569.      for either of these keys does not destroy the type-ahead buffer.
  570.  
  571. 52.  Qformat has been corrected to work properly with 8-sectored or single
  572.      sided disks.  It should now work fine with any kind of disk; 1.4's,
  573.      1.2's, 720's, 360's, 320's, 180's, 160's and so on....  Even if they
  574.      were orignally formated in a Z100 computer.
  575.  
  576.  
  577.  
  578.                                                           Dave Frailey
  579.                                                           January 1990
  580.  
  581.                                                           DAC Micro Systems
  582.                                                           40941 176th St E
  583.                                                           Lancaster, CA  93535
  584.  
  585.                                                           Voice: 805/264-1700
  586.                                                           Data:  805/264-1219
  587.