Package com.sshtools.daemon.terminal
Interface Terminal
-
- All Known Implementing Classes:
ansi,BasicTerminal,vt100,xterm
public interface Terminal- Version:
- $Revision: 1.11 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static byteAstatic byteBstatic byteBSstatic byteCstatic byteCANstatic byteDstatic byteDELstatic byteEstatic byteEOTstatic byteESCstatic bytefstatic byteFFstatic byteHstatic byteHTstatic byteLEstatic byteLSBstatic byterstatic byteSEstatic byteSEMICOLONstatic byteSGR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringformat(java.lang.String str)intgetAtomicSequenceLength()byte[]getCursorMoveSequence(int dir, int times)byte[]getCursorPositioningSequence(int[] pos)byte[]getEraseSequence(int eraseFunc)byte[]getGRSequence(int type, int param)byte[]getInitSequence()java.lang.StringgetName()byte[]getScrollMarginsSequence(int topmargin, int bottommargin)byte[]getSpecialSequence(int sequence)booleansupportsScrolling()booleansupportsSGR()inttranslateControlCharacter(int byteread)inttranslateEscapeSequence(int[] buffer)
-
-
-
Field Detail
-
EOT
static final byte EOT
- See Also:
- Constant Field Values
-
BS
static final byte BS
- See Also:
- Constant Field Values
-
DEL
static final byte DEL
- See Also:
- Constant Field Values
-
HT
static final byte HT
- See Also:
- Constant Field Values
-
FF
static final byte FF
- See Also:
- Constant Field Values
-
SGR
static final byte SGR
- See Also:
- Constant Field Values
-
CAN
static final byte CAN
- See Also:
- Constant Field Values
-
ESC
static final byte ESC
- See Also:
- Constant Field Values
-
LSB
static final byte LSB
- See Also:
- Constant Field Values
-
SEMICOLON
static final byte SEMICOLON
- See Also:
- Constant Field Values
-
A
static final byte A
- See Also:
- Constant Field Values
-
B
static final byte B
- See Also:
- Constant Field Values
-
C
static final byte C
- See Also:
- Constant Field Values
-
D
static final byte D
- See Also:
- Constant Field Values
-
E
static final byte E
- See Also:
- Constant Field Values
-
H
static final byte H
- See Also:
- Constant Field Values
-
f
static final byte f
- See Also:
- Constant Field Values
-
r
static final byte r
- See Also:
- Constant Field Values
-
LE
static final byte LE
- See Also:
- Constant Field Values
-
SE
static final byte SE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
-
translateControlCharacter
int translateControlCharacter(int byteread)
- Parameters:
byteread-- Returns:
-
translateEscapeSequence
int translateEscapeSequence(int[] buffer)
- Parameters:
buffer-- Returns:
-
getEraseSequence
byte[] getEraseSequence(int eraseFunc)
- Parameters:
eraseFunc-- Returns:
-
getCursorMoveSequence
byte[] getCursorMoveSequence(int dir, int times)- Parameters:
dir-times-- Returns:
-
getCursorPositioningSequence
byte[] getCursorPositioningSequence(int[] pos)
- Parameters:
pos-- Returns:
-
getSpecialSequence
byte[] getSpecialSequence(int sequence)
- Parameters:
sequence-- Returns:
-
getScrollMarginsSequence
byte[] getScrollMarginsSequence(int topmargin, int bottommargin)- Parameters:
topmargin-bottommargin-- Returns:
-
getGRSequence
byte[] getGRSequence(int type, int param)- Parameters:
type-param-- Returns:
-
format
java.lang.String format(java.lang.String str)
- Parameters:
str-- Returns:
-
getInitSequence
byte[] getInitSequence()
- Returns:
-
supportsSGR
boolean supportsSGR()
- Returns:
-
supportsScrolling
boolean supportsScrolling()
- Returns:
-
getAtomicSequenceLength
int getAtomicSequenceLength()
- Returns:
-
-