• Editor's.

    From Shawn Highfield@1:229/452 to All on Fri Feb 5 21:06:18 2010
    Hello,

    I've been playing with iceedit and ezy for a couple weeks now and I have the solution. ;)

    The first hicup was I couldn't understand why ezy wasn't putting the msginf /
    msgtmp where they belong in the nodex directory. Once I figured out it instead
    was placing msginf.x files in the \ezy directory a light clicked.

    EZYCFG>Mail>Misc
    Ext editor: *C /C *M IEDIT.BAT *N *D2 *!
    Old style msgtmp yes
    Show full messages no

    the c:\ezy\iedit.bat looks like this:

    C:
    cd\ezy\iedit

    if %1==1 goto node1
    if %1==2 goto node2

    :node1
    copy c:\ezy\msgtmp c:\ezy\iedit\node%1
    copy c:\ezy\msginf c:\ezy\iedit\node%1
    copy c:\ezy\node%1\dorinfo1.def c:\ezy\iedit\node%1
    iceedit.exe /N:%1 /D:c:\ezy\iedit\node%1
    copy c:\ezy\iedit\node%1\msgtmp c:\ezy\msgtmp
    copy c:\ezy\iedit\node%1\msginf c:\ezy\msginf
    del c:\ezy\iedit\node%1\msgtmp
    del c:\ezy\iedit\node%1\msginf
    goto done

    :node2
    copy c:\ezy\msgtmp c:\ezy\iedit\node%1
    copy c:\ezy\msginfo.2 c:\ezy\iedit\node%1\msginf
    copy c:\ezy\node%1\dorinfo1.def c:\ezy\iedit\node%1
    iceedit.exe /N:%1 /D:C:\ezy\iedit\node%1
    copy c:\ezy\iedit\node%1\msgtmp c:\ezy\msgtmp
    copy c:\ezy\ied:\ezy\msginfo.%1
    del c:\ezy\iedit\node%1\msgtmp
    del c:\ezy\iedi
    goto done

    :done
    exit

    IF there are any typo's there I'm sure you can figure it out. The above is tested on a two line Ezycom 2.15g0 with two users online at once and everything
    worked out fine. I do see the chance for error if BOTH nodes saved a message at exactly the same time. Other then that it should be fine. :)

    Hope this helps,

    ---
    Shawn

    ... Kettle, plug, fridge, milk, coffee. Yawn.
    --- Ezycom V2.15g0 01FA027C
    * Origin: Tiny's BBS - http://www.tinysbbs.com (1:229/452)