Mail Archives: djgpp/1997/09/03/08:36:02
On Fri, 29 Aug 1997, Mike Darrett wrote:
> Sometimes when I press <Ctrl-C> in Rhide, either the editor
> crashes or it says something like "Do you really want to interrupt
> Rhide?". Is this normal? I'm used to pressing like Ctrl-KB, Ctrl-KK,
> Ctrl-KC, and this happened to me several times while I was working on my
> project.
Yes, this is normal. If you think a little bit I hope you
agree with me. Ctrl-C is as far as I remember in any commonly
used OS the interrupt key and so RHIDE handles now also Ctrl-C.
In my opinion the correct usage of the Ctrl-K-.. and Ctrl-Q-..
combinations is to press Ctrl-K (or Q) the releasing the Ctrl key
and then pressing the second character.
I will probably not change this behaviour in the future, but
maybe SET will do it in the editor by recognising the first
Ctrl-K (or Q) key, and then temporary disabling SIGINT for the
next key.
> p.s. How did such a bug as the 25 floating point divisions EXIST? (It
> was fun tho =)
Until you don't know about the RHIDE internals (especially how
it communicates with the builtin GDB) and my tricks to reduce
the executable size the description would not fit in this group.
Theoretical this the same thing, like a common bug in mostly
any application to dereference a NULL pointer but here with
an other result.
And BTW: The zero-dividing error is only produced by RHIDE
itself to force a crash and so a traceback when something
where wrong internally in RHIDE. That means the original
bug has nothing to do with "Division by Zero". If you would
have redirected stderr to file when running RHIDE to produce
the crash and then looking in that file, you would have seen,
that there is printed something like
"RHIDE internal error" together with the wish to send me the
produced error file.
Robert
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -