Package jline
Class OSvTerminal
- java.lang.Object
-
- jline.TerminalSupport
-
- jline.OSvTerminal
-
- All Implemented Interfaces:
Terminal
public class OSvTerminal extends TerminalSupport
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:
- Or Cohen, Arun Neelicattu
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectsttyjava.lang.Class<?>sttyClass-
Fields inherited from class jline.TerminalSupport
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
-
Constructor Summary
Constructors Constructor Description OSvTerminal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidrestore()-
Methods inherited from class jline.TerminalSupport
disableInterruptCharacter, enableInterruptCharacter, getHeight, getOutputEncoding, getWidth, hasWeirdWrap, isAnsiSupported, isEchoEnabled, isSupported, reset, setAnsiSupported, setEchoEnabled, wrapInIfNeeded, wrapOutIfNeeded
-
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception- Specified by:
initin interfaceTerminal- Overrides:
initin classTerminalSupport- Throws:
java.lang.Exception
-
restore
public void restore() throws java.lang.Exception- Specified by:
restorein interfaceTerminal- Overrides:
restorein classTerminalSupport- Throws:
java.lang.Exception
-
-