[Bug 1191] New: [PATCH] openmoko-terminal2: Tab or window is not closed when hitting EOF or exit

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Sun Jan 20 15:56:53 CET 2008


           Summary: [PATCH] openmoko-terminal2: Tab or window is not closed
                    when hitting EOF or exit
           Product: OpenMoko
           Version: 2007.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: openmoko-terminal
        AssignedTo: buglog at lists.openmoko.org
        ReportedBy: haakeyar-mailinglists at bluezone.no
                CC: buglog at lists.openmoko.org

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.

Actual results:
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.

Expected results:
If there are several tabs, the current tab should be closed. If there is only
one tab, openmoko-terminal2 should be exited.

The patch:
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.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list