Ticket #1191 (closed defect: fixed)
[PATCH] openmoko-terminal2: Tab or window is not closed when hitting EOF or exit
|Reported by:||haakeyar-mailinglists@…||Owned by:||buglog@…|
|Blocking:||Estimated Completion (week):|
When you enter exit or eof (hit D), the terminal is not exited, but this
message is printed to stdout: "unhandled eof".
Steps to reproduce:
1) Run openmoko-terminal2 from the command line.
2) Hit D or write "exit" and press enter.
The terminal prints a newline and you are unable to type anything more in the
terminal in this tab. "unhandled eof" is written to stdout.
If there are several tabs, the current tab should be closed. If there is only
one tab, openmoko-terminal2 should be exited.
It is created from revision 3886. This is a suggested solution, but I do not
have previous experience with Vala (or C), so there could be better solutions. I
have only compiled and tested it on a pc, I have not tried to cross-compile and
run it on the neo, but unless there are some strange closs-platform bugs, I
assume it should work.