Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#182 closed enhancement (fixed)

enable terminal-port? on windows

Reported by: Jim Ursetto Owned by:
Priority: minor Milestone:
Component: core libraries Version: 4.3.x
Keywords: Cc: felix winkelmann
Estimated difficulty:

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.

Attachments (1)

0001-posixwin-implement-terminal-port.patch (724 bytes) - added by Jim Ursetto 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Jim Ursetto

comment:1 Changed 12 years ago by Jim Ursetto

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.

comment:2 Changed 12 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

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

comment:3 Changed 12 years ago by (none)

Milestone 4.4.0 deleted

Note: See TracTickets for help on using tickets.