org.maverickdbms.basic.term
Class PseudoTerminal

java.lang.Object
  extended byorg.maverickdbms.basic.term.PseudoTerminal
All Implemented Interfaces:
Termios

public class PseudoTerminal
extends java.lang.Object
implements Termios


Field Summary
 
Fields inherited from interface org.maverickdbms.basic.term.Termios
BELL, CR, CS7, CS8, ECHO, ECHOCTL, ECHOE, ECHOK, ECHOKE, ECHONL, ICANON, ICRNL, IEXTEN, IGNCR, IGNPAR, IMAXBEL, INLCR, INPCK, ISIG, ISTRIP, IUCLC, IXANY, IXOFF, IXON, LF, NO_OF_MODES, NOFLSH, OCRNL, OLCUC, ONLCR, ONLRET, ONOCR, OPOST, PARENB, PARMRK, PARODD, PENDIN, TOSTOP, TTY_OP_END, TTY_OP_ISPEED, TTY_OP_OSPEED, VDISCARD, VDSUSP, VEOF, VEOL, VEOL2, VERASE, VFLUSH, VINTR, VKILL, VLNEXT, VQUIT, VREPRINT, VSTART, VSTATUS, VSTOP, VSUSP, VSWTCH, VWERASE, XCASE
 
Constructor Summary
PseudoTerminal(java.io.InputStream in, java.io.OutputStream out)
           
PseudoTerminal(java.io.Reader reader, java.io.Writer writer)
           
 
Method Summary
 int getAttribute(int no)
           
 Terminal getEmulation()
           
 int getHeight()
           
 java.io.Reader getReader()
           
 java.lang.String getTerm()
           
 int getWidth()
           
 java.io.Writer getWriter()
           
 void setAttribute(int no, int value)
           
 void setHeight(int height)
           
 void setTerm(java.lang.String term)
           
 void setTerminals(Terminals terminals)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoTerminal

public PseudoTerminal(java.io.InputStream in,
                      java.io.OutputStream out)

PseudoTerminal

public PseudoTerminal(java.io.Reader reader,
                      java.io.Writer writer)
Method Detail

getAttribute

public int getAttribute(int no)
                 throws java.io.IOException
Specified by:
getAttribute in interface Termios
Throws:
java.io.IOException

getEmulation

public Terminal getEmulation()
                      throws java.io.IOException
Throws:
java.io.IOException

getHeight

public int getHeight()
              throws java.io.IOException
Throws:
java.io.IOException

getReader

public java.io.Reader getReader()

getTerm

public java.lang.String getTerm()

getWidth

public int getWidth()
             throws java.io.IOException
Throws:
java.io.IOException

getWriter

public java.io.Writer getWriter()

setAttribute

public void setAttribute(int no,
                         int value)
Specified by:
setAttribute in interface Termios

setHeight

public void setHeight(int height)

setTerm

public void setTerm(java.lang.String term)

setTerminals

public void setTerminals(Terminals terminals)

setWidth

public void setWidth(int width)