com.maverick.sshd.shell.terminal
Class BasicTerminal
java.lang.Object
com.maverick.sshd.shell.terminal.BasicTerminal
- All Implemented Interfaces:
- Terminal
- Direct Known Subclasses:
- ansi, vt100
public abstract class BasicTerminal
- extends Object
- implements Terminal
| Fields inherited from interface com.maverick.sshd.shell.terminal.Terminal |
A, B, BS, C, CAN, D, DEL, E, EOT, ESC, f, FF, H, HT, LE, LSB, r, SE, SEMICOLON, SGR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myColorizer
protected Colorizer myColorizer
BasicTerminal
public BasicTerminal()
getCursorMoveSequence
public byte[] getCursorMoveSequence(int direction,
int times)
- Specified by:
getCursorMoveSequence in interface Terminal
getCursorPositioningSequence
public byte[] getCursorPositioningSequence(int[] pos)
- Specified by:
getCursorPositioningSequence in interface Terminal
getEraseSequence
public byte[] getEraseSequence(int eraseFunc)
- Specified by:
getEraseSequence in interface Terminal
getSpecialSequence
public byte[] getSpecialSequence(int function)
- Specified by:
getSpecialSequence in interface Terminal
getGRSequence
public byte[] getGRSequence(int type,
int param)
- Specified by:
getGRSequence in interface Terminal
getScrollMarginsSequence
public byte[] getScrollMarginsSequence(int topmargin,
int bottommargin)
- Specified by:
getScrollMarginsSequence in interface Terminal
format
public String format(String str)
- Specified by:
format in interface Terminal
getInitSequence
public byte[] getInitSequence()
- Specified by:
getInitSequence in interface Terminal
getAtomicSequenceLength
public int getAtomicSequenceLength()
- Specified by:
getAtomicSequenceLength in interface Terminal
translateIntToDigitCodes
public byte[] translateIntToDigitCodes(int in)
supportsSGR
public abstract boolean supportsSGR()
- Specified by:
supportsSGR in interface Terminal
supportsScrolling
public abstract boolean supportsScrolling()
- Specified by:
supportsScrolling in interface Terminal
Copyright © 2012. All Rights Reserved.