Menu

#3 add possibility to read/write to /dev/tty

open
nobody
None
5
2009-11-19
2009-11-19
Dmitry
No

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.

Discussion

  • Nickolas Moser

    Nickolas Moser - 2010-10-20

    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.

     
  • Johan Walles

    Johan Walles - 2010-10-23

    spryspectre, it's unfortunately not possible for me to develop Windows specific features. Patches are welcome though.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.