Summary

enable terminal-port? on windows

Metadata

Attachments

Description

chicken-doc requires terminal-port? to work on Windows. Attached patch against master enables it. This is tested on plain MinGW (no MSYS) on Windows XP. I noticed that official examples use _isatty and _fileno instead of isatty and fileno as in the patch, but it still works fine. I can't test it on other Windows versions though.

Changes and comments

[2010-03-05 04:21:48 UTC] zbigniew attached 0001-posixwin-implement-terminal-port.patch (description=#f)

[2010-03-05 04:23:29 UTC] zbigniew wrote:

Um, I meant that chicken-doc requires terminal-port? on Windows for the *pager* to work properly. Otherwise it does not treat stdout as a tty.

[2010-03-05 12:26:32 UTC] felix changed status from new to closed

[2010-03-05 12:26:32 UTC] felix set resolution to fixed

[2010-03-05 12:26:32 UTC] felix wrote:

Patch is applied, see commit bf8216a1acf666d54ff1c6755bcd307706df8721 (and the one before that). Note that `terminal-size` will still return `0 0`on Windows.

[2010-03-11 10:33:12 UTC] Milestone 4.4.0 deleted