Terminal control is one of those areas where java works very differently to the standard *nix way of thinking, because it must be multi-platform.
Our console situation is already complex and hard to maintain: Jeff has just put in a lot of work to get the jline support working cross platform, especially windows.
Cpython pty module is not designed to be portable. As the documentation states: "Because pseudo-terminal handling is highly platform dependent, there is code to
do it only for Linux. (The Linux code is supposed to work on other platforms,
but hasn’t been tested yet.)". So it is highly unlikely that the code will work out of the box on jython/java.http://docs.python.org/2/library/pty.html
Likewise, the cpython termios module is marked as "Unix only". Although you may be running jython on unix, it is still running on a JVM, and thus it's IO is limited to java capabilities.http://docs.python.org/2/library/termios.html
That said, we do have a lot of posix support, by virtue of the JNR posix library.