TelnetD at SF

net.wimpi.telnetd.io.terminal
Class xterm

java.lang.Object
  extended bynet.wimpi.telnetd.io.terminal.BasicTerminal
      extended bynet.wimpi.telnetd.io.terminal.xterm
All Implemented Interfaces:
Terminal

public class xterm
extends BasicTerminal

This class implements the xterm terminal emulation.

Version:
2.0 (13/03/2005)
Author:
Dieter Wimberger

Field Summary
 
Fields inherited from class net.wimpi.telnetd.io.terminal.BasicTerminal
m_Colorizer
 
Fields inherited from interface net.wimpi.telnetd.io.terminal.Terminal
A, B, BS, C, CAN, D, DEL, E, EOT, ESC, f, FF, H, HT, LE, LSB, r, SE, SEMICOLON, SGR
 
Constructor Summary
xterm()
           
 
Method Summary
 boolean supportsScrolling()
          Returns if the terminal implementation supports scrolling (i.e. setting scroll margins).
 boolean supportsSGR()
          Returns if the terminal implementation supports graphics rendition (i.e. colors and styles).
 
Methods inherited from class net.wimpi.telnetd.io.terminal.BasicTerminal
format, formatBold, getAtomicSequenceLength, getCursorMoveSequence, getCursorPositioningSequence, getEraseSequence, getGRSequence, getInitSequence, getScrollMarginsSequence, getSpecialSequence, translateControlCharacter, translateEscapeSequence, translateIntToDigitCodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xterm

public xterm()
Method Detail

supportsSGR

public boolean supportsSGR()
Description copied from interface: Terminal
Returns if the terminal implementation supports graphics rendition (i.e. colors and styles).

Specified by:
supportsSGR in interface Terminal
Specified by:
supportsSGR in class BasicTerminal

supportsScrolling

public boolean supportsScrolling()
Description copied from interface: Terminal
Returns if the terminal implementation supports scrolling (i.e. setting scroll margins).
Note that this method is addenum to the experimental and not available getScrollMarginsSequence(int,int).

Specified by:
supportsScrolling in interface Terminal
Specified by:
supportsScrolling in class BasicTerminal

TelnetD at SF

Copyright © 2000-2005 Dieter Wimberger.