comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 54:a7e660661e08 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 14:01:43 -0700
parents e872762ec105
children e0c68988fe2e
comparison
equal deleted inserted replaced
53:e872762ec105 54:a7e660661e08
21 import java.io.InputStream; 21 import java.io.InputStream;
22 import java.io.OutputStream; 22 import java.io.OutputStream;
23 import java.net.Socket; 23 import java.net.Socket;
24 import java.net.SocketException; 24 import java.net.SocketException;
25 import java.net.UnknownHostException; 25 import java.net.UnknownHostException;
26 import java.util.HashMap;
26 import java.util.List; 27 import java.util.List;
27 import java.util.Map; 28 import java.util.Map;
28 import java.util.regex.Matcher; 29 import java.util.regex.Matcher;
29 import java.util.regex.Pattern; 30 import java.util.regex.Pattern;
30 31
68 } 69 }
69 70
70 71
71 class vt320x5250 extends vt320 { 72 class vt320x5250 extends vt320 {
72 private HashMap<Integer, String> mnemonics; 73 private HashMap<Integer, String> mnemonics;
74
75 public vt320x5250() {
76 this(80,24);
77 }
73 78
74 public vt320x5250(int width, int height) { 79 public vt320x5250(int width, int height) {
75 super(width, height); 80 super(width, height);
76 mnemonics = new HashMap<Integer, String>(); 81 mnemonics = new HashMap<Integer, String>();
77 mnemonics.put(KEY_PAUSE , "[attn]"); 82 mnemonics.put(KEY_PAUSE , "[attn]");