Menu

#7 SIGINT (Ctrl-C) end program

open
nobody
None
5
2013-02-20
2006-01-20
No

I use HenPlus II 0.9.7 with sun java 1.4.2_06.
When I press Ctrl-C in line (empty as well as not
empty) henplus write the message:
..discard current line; press [RETURN]
after my RETURN henplus ... store settings and finish :(

I think shell-like program should not stop after Ctrl-C
only discard current line...

I comment 432 line as bellow:
432c432
< _terminated = true; // terminate if we press
CTRL on empty line.
---
> //_terminated = true; // terminate if we press
CTRL on empty line.

and (Ctrl-C) works as I expect (after RETURN program
continue work). Perhaps is it good idea to apply
similar above patch to henplus?

Discussion


Log in to post a comment.