Bug 27726 - UNIX Console semantics not available on Win32 in Cygwin
Summary: UNIX Console semantics not available on Win32 in Cygwin
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Blocks: 27597
  Show dependency tree
Reported: 2015-03-06 06:06 UTC by Jo Shields
Modified: 2018-02-28 23:55 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Jo Shields 2015-03-06 06:06:58 UTC
Mono has a UNIX console driver, and a Win32 console driver. It's selected at compile time, so on a Windows build, only the Win32 console driver is available.

Several methods in System.Console return bad values if executing in Cygwin (which has a "real" UNIX console, with a tty and everything, not a Win32 console). For example, Console.WindowWidth returns 0, which prevents csharp REPL from running in Mono in Cygwin.
Comment 1 Ludovic Henry 2018-02-28 23:55:12 UTC
Jo, is that still the case today? If so, could you please come up with a test case, and an expected vs observed behavior. Thank you.

Note You need to log in before you can comment on or make changes to this bug.