Mercurial > 510Connectbot
changeset 257:8a6c7c7ffe0d
support 132 column mode
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 14:25:03 -0700 |
parents | 29a431920007 |
children | 89bad826152b |
files | src/com/five_ten_sg/connectbot/transport/TN5250.java src/org/tn5250j/framework/tn5250/tnvt.java |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java Mon Jul 14 14:11:09 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java Mon Jul 14 14:25:03 2014 -0700 @@ -276,7 +276,7 @@ @Override public void connect() { screen52 = new Screen5250(); - handler = new tnvt(screen52, true, false, bridge, manager); + handler = new tnvt(screen52, true, true, bridge, manager); screen52.setVT(handler); screen52.setBuffer(buffer); bridge.addFontSizeChangedListener(screen52);
--- 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"); }