Eric Pouech eric.pouech@orange.fr writes:
The following series implements a new scheme for managing 'bare' consoles. We now force every program started without a wine parent to be run under wineconsole (transparently for the user). This is done using a new backend in wineconsole called 'line'. This backend only takes care of input; output is kept as a client side operation. All terminal related code is moved from dlls/kernel32 to programs/wineconsole.
This basically ensures that:
- Only wineconsole reads from standard input (and writes into input queue). This fixes bug reported by Jason when $CONIN is opened with read access only.
- It also enforces that wineconsole always has control of the unix terminal, hence ensuring that we properly reset the terminal settings upon exit.
Running make test with this series hangs in the hlink.c test, there seems to be a wineconsole process that never terminates.