Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#388 closed bug (fixed)

Terminal does not quit because pty read blocks

Reported by: mmlr Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When you type exit in the Terminal it should quit after it logged out from the shell. This usually happens because the pty cannot be read anymore (TermParse.cpp:54) and the read call returns -1. Under Haiku this does not happen (the read call just blocks forever) and the Terminal stays open. The same binary quits as expected under R5.

I hope I filed this under the right component.

Change History (4)

comment:1 by axeld, 19 years ago

Fixed in hrev16965. Hopefully correctly :)

comment:2 by axeld, 19 years ago

Resolution: fixed

comment:3 by axeld, 19 years ago

Status: newclosed

comment:4 by korli, 19 years ago

tested ok

Note: See TracTickets for help on using tickets.