Mercurial > 510Connectbot
comparison src/de/mud/terminal/vt320.java @ 69:294435151b0c tn5250
use 5250 encryption config entry
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 13 Jun 2014 19:06:01 -0700 |
parents | 556c387889b9 |
children | 7ae9b0c382ec |
comparison
equal
deleted
inserted
replaced
68:cc7e3588a0f3 | 69:294435151b0c |
---|---|
61 /** | 61 /** |
62 * No more bytes to read from the transport, hook here to test screen changes | 62 * No more bytes to read from the transport, hook here to test screen changes |
63 */ | 63 */ |
64 public void testChanged() { | 64 public void testChanged() { |
65 /* do nothing by default */ | 65 /* do nothing by default */ |
66 } | |
67 | |
68 /** | |
69 * inject field contents as if typed | |
70 */ | |
71 public void setField(int l, int c, char [] d) { | |
72 // ignore line and column, just send the bytes to the host. | |
73 int n = d.length; | |
74 byte [] b = new byte [n]; | |
75 for (int i=0; i<n; i++) b[i] = c[i] & 0x00ff; | |
76 write(b); | |
66 } | 77 } |
67 | 78 |
68 /** | 79 /** |
69 * Play the beep sound ... | 80 * Play the beep sound ... |
70 */ | 81 */ |