Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/tnvt.java @ 257:8a6c7c7ffe0d
support 132 column mode
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 14:25:03 -0700 |
parents | c438c2ff0052 |
children | 071eccdff8ea |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java Mon Jul 14 14:11:09 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/tnvt.java Mon Jul 14 14:25:03 2014 -0700 @@ -2268,7 +2268,7 @@ abyte0[1] = 0; // "" abyte0[2] = -120; // X'88' inbound write structure Field aid - if (enhanced == true) { + if (enhanced) { abyte0[3] = 0; // 0x003D (61) length of query response abyte0[4] = 64; // "" see note below ????????? } @@ -2336,9 +2336,9 @@ // B'001' - 5292-2 style graphics // Bit 3-7: B '00000' = reserved (it seems for Client access) - if (enhanced == true) { - // abyte0[53] = 0x5E; // 0x5E turns on ehnhanced mode - // abyte0[53] = 0x27; // 0x5E turns on ehnhanced mode + if (enhanced) { + // abyte0[53] = 0x5E; // 0x5E turns on enhanced mode + // abyte0[53] = 0x27; // 0x5E turns on enhanced mode abyte0[53] = 0x7; // 0x5E turns on ehnhanced mode Log.i(TAG, "enhanced options"); }