JDK-4099017 : java.io: Add isatty() equivalent
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.1.5,1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic,solaris_2.6
  • CPU: generic
  • Submitted: 1997-12-12
  • Updated: 2017-07-20
  • Resolved: 2017-07-20

Name: dgC58589			Date: 12/12/97

It would be handy to be able to test whether
a stream or filedescriptor represented an
"interactive" device.  In Unix, isatty() of
the file descriptor would do.  On Windows,
checking for a console device would work.
(Review ID: 21829)

This issue has been open for 20 years with no activity. Things like this will be easier with Project Panama.