Hi, I have finished some bigger rework on the EDIT keyboard handling:
EDIT 0.6c now only uses the BIOS to read keys, no longer reading the
hardware directly. The timer tick count is still read from BIOS data,
with improved "midnight handling", so EDIT 0.6c is now, FINALLY, free
from those stupid IRQ handlers.
I had to re-assign keys to achieve this: UNDO is now Ctrl-U (was Alt-
BackSpace) and COPY is now Ctrl-K (was Ctrl-C, which would only work
if DOS CON is explicitly set to raw mode now). There are other smaller
changes in key assignments, too. Ctrl-Rightarrow ("CTRL_FWD") is no
longer available, for example.
The new version fixes a bug which I introduced in 0.6b: A forgotten
"return FALSE" after a bunch of switch-cases in message.c made all F-keys
handled the wrong way (i.e. F1/F3 failed and even zapped the current
selection when pressed).
I think EDIT 0.6c now works pretty okay (was much work to kick d-flat
away from those keyboard irq habits) *BUT* one big problem is left:
The critical error handler still acts as "ignore all errors". Maybe
you can figure out what to do about that. Removing it completely would
now be relatively safe, as a forced exit from EDIT will not leave irq
handlers dangling anymore. However, all changes in the edited files would
obviously get lost, so we REALLY should get that crit. error handling fixed!
I have updated the edit.txt (source of edit.hlp) to tell about the new
key assignements (still wrote about shift/ctrl/alt ins/del/backspace for
clipboard actions and undo, while those are now, as said, ^X ^V ^K ^U).
You may notice that some hotkeys are now gone (mainly ctrl-cursor: shift-
cursor still works fine).
Hope you enjoy this update...
http://www.coli.uni-sb.de/~eric/stuff/soft/by-others/ edit06c.zip
Eric.