[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: UnDo2



** Reply to message from Harry Binswanger  on
Mon, 04 Aug 2008 13:07:09 -0400


> JM 2.UnDo.INT

JM 2.UnDo.intQ2 ;*; !!!>Q2 ; End_of_File
> So I tried moving the UnDo stanza to just
> above that, but that didn't solve it.

That "End_of_File" line doesn't affect or mean a thing. Purely
informational. Not the problem.

> 21=$k,xd,rl
> But I do hear that pop (even though nothing happens) when I do undo.

I don't hear any pop sound, ever. What's that all about? Some
XP doodad?

> Could it be that the XD in the first key causes problems?

No. That assignment is fine. (Apropos of nothing, the commas
are unnecessary and consume memory.)

> I found one, possibly
> interfering line in my STARTUP.INT, which cleans up temp files:
> BXes 1Q2  JM 2.wild Q2

It doesn't interfere with anything -- but that's overkill. Why
not just do this?
 BX dos/nv/x/z /c del c:\xy\x739*.savQ2 ;*;
It's considerably simpler.

> Interestingly, UnDo does work for this key,
> but only one level of undo:
> 66=$K,mv

Have you got the correct files? Are the EXEs located in C:\XY ?
  40960 07/30/08 05:36 UnDo.exe
  36864 07/18/08 21:51 KillNB.exe
  20480 07/20/08 07:46 MyPID.exe
  8764 08/02/08 14:37 UnDo.frm
If not, fetch UnDo.ZIP again.

Here's what I want you to do:
Command:
 undo.int
 dir C:\XY\UD
The directory should exist but be empty.
 ne c:\xy\tmp1.tmp
Type in this NEw TMP1.TMP file these five lines:
1
2
3
4
5
So, you've got one number on each line, followed by a carriage
return (cr/lf).
Put your cursor on line 5 and hit key 21 ($K,XD,RL).
Put your cursor on line 4 and hit key 21.
Put your cursor on line 3 and hit key 21.
This should leave you with just lines 1 and 2, right?
 re c:\xy\undoidx
File UNDOIDX should say "1;C:\XY\TMP1.TMP" -- does it??
ABort UNDOIDX.
 dir c:\xy\ud
You should see three files:
 1.001
 1.002
 1.003
Do you see those three files?? ABort the directory display.
 undo
That should restore line 3.
 undo
That should restore line 4.
 undo
That should restore line 5.
 redo
That should delete line 5.
 redo
That should delete line 4.
 redo
That should delete line 3.
Does this happen??

R.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------