Signed-off-by: Jacek Caban jacek@codeweavers.com ---
I considered using ioctl for this instead of server request (in fact, my first implementation used that), but it required rather unpleasant messing with ioctl buffers to pass additional informations for server<->conhost connection.
This will need to be extended for: - blocking read calls I will queue them on server side and pass only one at the time to conhost. - screen buffer calls We may have multiple screen buffers for each console, so we will need to pass screen buffer ids to conhost and add additional calls for tracking them.
server/console.c | 87 +++++++++++++++++++++++++++++++++++++++++++++ server/protocol.def | 13 +++++++ 2 files changed, 100 insertions(+)