Issue Details (XML | Word | Printable)

Key: JRUBY-2885
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Thomas E Enebo
Reporter: Nicholas Riley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

jna-posix isatty for Windows

Created: 02/Aug/08 02:23 AM   Updated: 12/Jan/09 04:28 PM
Component/s: Core Classes/Modules
Affects Version/s: None
Fix Version/s: JRuby 1.1.5

Time Tracking:
Not Specified

File Attachments: 1. Text File isatty.patch (4 kB)

Environment: Windows XP

Patch Submitted: Yes


 Description  « Hide
Currently the jna-posix implementation of isatty for Windows just returns true for stdin/out/err. Attached is an implementation of isatty for Windows which handles redirection.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter added a comment - 11/Oct/08 01:05 AM
Assign to Mr. JNA-POSIX himself.

Thomas E Enebo added a comment - 25/Oct/08 03:29 PM
I blindly applied this in 7924. Can someone confirm that we can run this on windows? Also, can someone write a simple test we can run to verify this is working? Leaving open for the moment.

Thomas E Enebo added a comment - 02/Nov/08 10:59 AM
jna-posix 0.8 has been released and the fix is in there