Ref: 10860035
Title: Patch for 3+Menus, Needed to Pass Long Parameters
date: 7/18/89

Copyright 3Com Corporation, 1991.  All rights reserved.

A bug in 3+Menus (versions 1.2 and 1.3) truncates characters from
very long passed parameter lines.  Below is a simple patch using
DEBUG to correct this.

When creating a Task Item in Menus, you are presented with fields
to fill in for parameters which will be passed to your command.
There are five lines of parameters available.  Each field has
room for 46 characters, maximum.  When invoking your Task Item,
if you enter very long parameters in more than one field (the
precise length depends on variables in your configuration), some
of the characters will be lost when the command runs.

DOS has a command-line length limit of 127 characters total, so
you will not be able to fill all five parameter fields with 46
characters each.  However, you can use DEBUG as shown below to
modify the EM.EXE file to allow the maximum number of permissible
parameters within the 127-character limit.

    Warning:  DEBUG can be VERY dangerous when modifying files.
    Test this procedure first on a diskette copy of 3+Menus.


Procedure:

    ren em.exe em.bak <enter>
    copy em.bak em.dat <enter>
    debug em.dat <enter>
    rds <enter>
          (enter exactly 1000 more than the number listed
             [e.g. 24B0->34B0]) <enter>
          (use only one of the following two lines)
    e5b53       (type this if using Menus 1.2)
    e5ca9       (type this if using Menus 1.3)
    50<space>90<space>90<enter>   (To replace FF 76 1A)
    w <enter>
    q <enter>
    ren em.dat em.exe <enter>
