Post by Stefan on Jan 4, 2024 8:29:56 GMT -5
George,
Version is beta v24002
I'm believe that (PA2) used to recover text lost by pressing (EraseEOL).
This is no longer the case
Does (EraseEOL) now generate an ATTN event? I can't see why it should.
The documentation refers to a 'internal RESET command', might that be the cause?
...<snip>...
If you press the PA2 key BEFORE pressing any other Attention key (Like Enter, PFn, PgUp, PgDn etc) then PA2 will 'throw away' all your keyboard activity since the screen was last displayed.
Note: PA2 will internally do a RESET COMMAND function to clear any outstanding line commands.
As long as you press no other keys, you can repeatedly toggle PA2 to go back and forth between the original and the modified version of the screen.
If you do this Back-and-forth toggle, the reset line commands will not be restored.
So, "...then PA2 will 'throw away' all your keyboard activity since the screen was last displayed." All sounds pretty straight forward.
In the example below I am only using 'normal data entry' keys, no ATTN keys of any kind, nor any KEYMAPped keys, etc
1) Load any file
2) Type bad1 anywhere - press (PA2)
Result: All OK, bad1 vanishes, original text reappears.
Repeated (PA2) toggles between original 'view' and bad1 'view'.
3) Press (PA2) so that screen shows the original 'view'
4) Move the cursor to another line using the cursor up/down arrow key(s).
5) Type bad2 on that line - Press (PA2)
Instead of the previously restored original 'view' you get bad1 'view'. Repeated (PA2) toggles between bad1 'view' and bad2 'view'.
At this point, the, already rejected, bad1 view has become the new baseline. The original view from the last ATTN is no longer available.
Effectively you can use (PA2) only once after an ATTN event without corrupting your file with some 'bad' data you didn't mean to type.
Shouldn't (PA2) always keep the same baseline - the original screen as displayed after the last ATTN event - rather than the screen BEFORE the last (PA2) occurence?