[GHC] #12720: Remoce ghcii.sh
GHC
ghc-devs at haskell.org
Mon Oct 17 00:11:55 UTC 2016
#12720: Remoce ghcii.sh
--------------------------------------+----------------------------
Reporter: Phyx- | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Windows
Architecture: x86_64 (amd64) | Type of failure: Other
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------------+----------------------------
On Windows we have an extra script `ghcii.sh` that is recommended when we
run in a console that does not use `conhost`. e.g mintty from msys2 or the
cygwin shell.
This is because the sigINT signal is being swallowed by these consoles.
I believe we can work around this by listening to Window messages as well.
These consoles do their own drawings, which means they load `gdi32.dll`.
Which means they have a message pump so should be receiving Window events.
See https://msdn.microsoft.com/en-
us/library/windows/desktop/ms686016(v=vs.85).aspx
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12720>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list