Package jline
Class OSvTerminal
java.lang.Object
jline.TerminalSupport
jline.OSvTerminal
- All Implemented Interfaces:
Terminal
Terminal that is used for OSv. This is seperate to unix terminal
implementation because exec cannot be used as currently used by UnixTerminal.
This implimentation is derrived from the implementation at
https://github.com/cloudius-systems/mgmt/blob/master/crash/src/main/java/com/cloudius/cli/OSvTerminal.java
authored by Or Cohen.
- Since:
- 2.13
- Author:
- <a href-"mailto:orc@fewbytes.com">Or Cohen, Arun Neelicattu
-
Field Summary
FieldsFields inherited from class jline.TerminalSupport
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jline.TerminalSupport
disableInterruptCharacter, enableInterruptCharacter, getHeight, getOutputEncoding, getWidth, hasWeirdWrap, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, setEchoEnabled, wrapInIfNeeded, wrapOutIfNeeded
-
Field Details
-
sttyClass
-
stty
-
-
Constructor Details
-
OSvTerminal
public OSvTerminal()
-
-
Method Details
-
init
- Specified by:
init
in interfaceTerminal
- Overrides:
init
in classTerminalSupport
- Throws:
Exception
-
restore
- Specified by:
restore
in interfaceTerminal
- Overrides:
restore
in classTerminalSupport
- Throws:
Exception
-