comparison src/de/mud/terminal/vt320.java @ 72:8181cb01c64d tn5250

use 5250 encryption config entry
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 19:15:26 -0700
parents 7ae9b0c382ec
children 171e0a977544
comparison
equal deleted inserted replaced
71:7ae9b0c382ec 72:8181cb01c64d
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] = d[i] & 0x00ff; 75 for (int i=0; i<n; i++) b[i] = (byte)(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 ...