#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)
Change History (4)
Changed 16 years ago by
| Attachment: | 0001-posixwin-implement-terminal-port.patch added |
|---|
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Patch is applied, see commit bf8216a1acf666d54ff1c6755bcd307706df8721 (and the one before that). Note that terminal-size will still return 0 0on Windows.
Note: See
TracTickets for help on using
tickets.

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.