add possibility to read/write to /dev/tty
Brought to you by:
johanwalles,
kerneldebugger
The standard "expect" is able to work with /dev/tty. Some tools interact with user via this device e.g. to change password.
An example of such tool is "sscs" (Common Array Manager) which manages all administrative operations with a set of disk arrays.
Our Java software automates configuration of disk arrays. We tried to use ExpectJ for changing password but it turned out that ExpectJ cannot work with /dev/tty.
So we had to return to "expect" usage.
It would also be nice if this feature worked natively on Windows as well. I've heard of a serial API for Java that's supposed to support Linux, Windows, and MacOS X called RxTx that could be useful.
spryspectre, it's unfortunately not possible for me to develop Windows specific features. Patches are welcome though.