id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2975	GHCi's :edit command calls the editor with stdin in nonblocking mode	kaol		"When using editline support, GHCi sets stdin to nonblocking mode.

{{{
withReadline = bracket_ stopTimer (do startTimer; setNonBlockingFD 0
     -- Two problems are being worked around here:
     -- 1. readline sometimes puts stdin into blocking mode,
     --    so we need to put it back for the IO library
}}}

Most editors expect that stdin is in blocking mode and nothing in the code sets the mode that way and the editor inherits the mode via {{{system}}} call in {{{editFile}}}, when using {{{:edit}}}."	bug	closed	normal	6.10.2	GHCi	6.10.1	fixed			Unknown/Multiple	Unknown/Multiple		Unknown				
