package key.terminals;
import java.util.Enumeration;
import java.util.StringTokenizer;
import key.*;
/**
* This class defines the basic abstract implementation of
* a terminal type. It's specific to a TelnetConnection,
* since the other (custom) terminals will need changes at
* a much higher level.
*/
public class Dumb extends Terminal
{
String ourNames[] = { "none", "dumb" };
public Dumb()
{
super();
names = ourNames;
}
public String codeLookup( char code )
{
switch( code )
{
case 'n':
case 'N':
normal = true;
}
return( "" );
}
public String beep()
{
return( new Character( (char) 7 ).toString() );
}
}