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

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


Attachments

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.

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