Mercurial > 510Connectbot
comparison src/de/mud/terminal/vt320.java @ 71:7ae9b0c382ec tn5250
use 5250 encryption config entry
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 13 Jun 2014 19:13:05 -0700 |
parents | 294435151b0c |
children | 8181cb01c64d |
comparison
equal
deleted
inserted
replaced
70:c56032728742 | 71:7ae9b0c382ec |
---|---|
70 */ | 70 */ |
71 public void setField(int l, int c, char [] d) { | 71 public void setField(int l, int c, char [] d) { |
72 // ignore line and column, just send the bytes to the host. | 72 // ignore line and column, just send the bytes to the host. |
73 int n = d.length; | 73 int n = d.length; |
74 byte [] b = new byte [n]; | 74 byte [] b = new byte [n]; |
75 for (int i=0; i<n; i++) b[i] = c[i] & 0x00ff; | 75 for (int i=0; i<n; i++) b[i] = d[i] & 0x00ff; |
76 write(b); | 76 write(b); |
77 } | 77 } |
78 | 78 |
79 /** | 79 /** |
80 * Play the beep sound ... | 80 * Play the beep sound ... |