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
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Method Summary
Modifier and TypeMethodDescriptionint
byte[]
getCursorMoveSequence
(int dir, int times) byte[]
getCursorPositioningSequence
(int[] pos) byte[]
getEraseSequence
(int eraseFunc) byte[]
getGRSequence
(int type, int param) byte[]
getName()
byte[]
getScrollMarginsSequence
(int topmargin, int bottommargin) byte[]
getSpecialSequence
(int sequence) boolean
boolean
int
translateControlCharacter
(int byteread) int
translateEscapeSequence
(int[] buffer)
-
Field Details
-
EOT
static final byte EOT- See Also:
-
BS
static final byte BS- See Also:
-
DEL
static final byte DEL- See Also:
-
HT
static final byte HT- See Also:
-
FF
static final byte FF- See Also:
-
SGR
static final byte SGR- See Also:
-
CAN
static final byte CAN- See Also:
-
ESC
static final byte ESC- See Also:
-
LSB
static final byte LSB- See Also:
-
SEMICOLON
static final byte SEMICOLON- See Also:
-
A
static final byte A- See Also:
-
B
static final byte B- See Also:
-
C
static final byte C- See Also:
-
D
static final byte D- See Also:
-
E
static final byte E- See Also:
-
H
static final byte H- See Also:
-
f
static final byte f- See Also:
-
r
static final byte r- See Also:
-
LE
static final byte LE- See Also:
-
SE
static final byte SE- See Also:
-
-
Method Details
-
getName
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
- Parameters:
str
-- Returns:
-
getInitSequence
byte[] getInitSequence()- Returns:
-
supportsSGR
boolean supportsSGR()- Returns:
-
supportsScrolling
boolean supportsScrolling()- Returns:
-
getAtomicSequenceLength
int getAtomicSequenceLength()- Returns:
-