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
static byte A
           
static byte B
           
static byte BS
           
static byte C
           
static byte CAN
           
static byte D
           
static byte DEL
           
static byte E
           
static byte EOT
           
static byte ESC
           
static byte f
           
static byte FF
           
static byte H
           
static byte HT
           
static byte LE
           
static byte LSB
           
static byte r
           
static byte SE
           
static byte SEMICOLON
           
static byte SGR
           
 
Method Summary
 java.lang.String format(java.lang.String str)
           
 int getAtomicSequenceLength()
           
 byte[] getCursorMoveSequence(int dir, int times)
           
 byte[] getCursorPositioningSequence(int[] pos)
           
 byte[] getEraseSequence(int eraseFunc)
           
 byte[] getGRSequence(int type, int param)
           
 byte[] getInitSequence()
           
 java.lang.String getName()
           
 byte[] getScrollMarginsSequence(int topmargin, int bottommargin)
           
 byte[] getSpecialSequence(int sequence)
           
 boolean supportsScrolling()
           
 boolean supportsSGR()
           
 int translateControlCharacter(int byteread)
           
 int translateEscapeSequence(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:


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.