[PATCH 0/2] Console woes

Eric Pouech eric.pouech at gmail.com
Thu Dec 9 05:15:59 CST 2021


This (small) serie:
- removes the creation of an extraneous console in the debugger
- however, it exhibits an issue in console handling where console
  is disconnected too late in server, leaving unwanted termios
  (eg no echo). It modifies the server to disconnect the console
  when the (unix) process group leader terminates

use case:
- apply second patch only
- run from shell
      ./wine winedbg notepad
- enter 'quit' in winedbg prompt
- back to shell prompt, without echo

A+

---

Eric Pouech (2):
      server/console: when a Unix process group leader terminates, disconnect the console
      programs/winedbg: don't allocate a new console for debuggee (that's no longer needed)


 programs/winedbg/tgt_active.c |  5 +----
 server/console.c              | 13 +++++++++++++
 server/process.c              |  1 +
 server/process.h              |  1 +
 4 files changed, 16 insertions(+), 4 deletions(-)




More information about the wine-devel mailing list