Package jline

Class UnixTerminal

All Implemented Interfaces:
Terminal, Terminal2
Direct Known Subclasses:
NoInterruptUnixTerminal

public class UnixTerminal extends TerminalSupport implements Terminal2
Terminal that is used for unix platforms. Terminal initialization is handled by issuing the stty command against the /dev/tty file to disable character echoing and enable character input. All known unix systems (including Linux and Macintosh OS X) support the stty), so this implementation should work for an reasonable POSIX system.
Since:
2.0