Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,350
    • Issues 5,350
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 574
    • Merge requests 574
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #11394
Closed
Open
Issue created Jan 09, 2016 by Ben Gamari@bgamari🐢Maintainer

Base should use native Win32 IO on Windows

There are a variety of issues caused by the impedance mismatch between GHC's use of Posix I/O interfaces on Windows (particularly with respect to console I/O),

  • #10542 (closed): Incorrect Unicode input on Windows Console
  • #7593 (closed): Unable to print exceptions of unicode identifiers
  • #4471 (closed): Incorrect Unicode output on Windows Console
  • #2189 (closed): hSetBuffering stdin NoBuffering doesn't work on Windows

As pointed on in ticket:2189#comment:30058 the ultimate solution to this would be to move all of GHC's IO to use the respective Win32 interfaces.

Also relevant

  • #7353 (closed): Windows lacks support in the I/O manager
  • #806 (closed): hGetBufNonBlocking doesn't work on Windows
  • #3081 (closed): Double output after Ctrl+C on Windows
  • #13440 (closed): putStr has different behaviour on Windows
  • #4942: GHC.ConsoleHandler does not call back application when Close button is pressed.
Edited Mar 10, 2019 by Tamar Christina
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking