Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/tn5250/tnvt.java @ 96:5e52fa030308 stable-1.8.0
remove obsolete files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 17:50:04 -0700 |
parents | 33eb63352be5 |
children | 1a34365fab9b |
comparison
equal
deleted
inserted
replaced
95:e1c43d50f9d8 | 96:5e52fa030308 |
---|---|
1761 int j = (bk.getNextByte() & 0xff) << 8 | bk.getNextByte() | 1761 int j = (bk.getNextByte() & 0xff) << 8 | bk.getNextByte() |
1762 & 0xff; // length | 1762 & 0xff; // length |
1763 break; | 1763 break; |
1764 | 1764 |
1765 case 17: // SBA - set buffer address order (row column) | 1765 case 17: // SBA - set buffer address order (row column) |
1766 Log.d(TAG,"SBA - set buffer address order (row column)"); | 1766 //Log.d(TAG,"SBA - set buffer address order (row column)"); |
1767 int saRow = bk.getNextByte(); | 1767 int saRow = bk.getNextByte(); |
1768 int saCol = bk.getNextByte() & 0xff; | 1768 int saCol = bk.getNextByte() & 0xff; |
1769 // make sure it is in bounds | 1769 // make sure it is in bounds |
1770 if (saRow >= 0 && saRow <= screen52.getRows() && saCol >= 0 | 1770 if (saRow >= 0 && saRow <= screen52.getRows() && saCol >= 0 |
1771 && saCol <= screen52.getColumns()) { | 1771 && saCol <= screen52.getColumns()) { |
1908 // no break: so every chars arrives | 1908 // no break: so every chars arrives |
1909 // on the screen for later parsing | 1909 // on the screen for later parsing |
1910 //break; | 1910 //break; |
1911 | 1911 |
1912 default: // all others must be output to screen | 1912 default: // all others must be output to screen |
1913 Log.d(TAG,"all others must be output to screen"); | 1913 //Log.d(TAG,"all others must be output to screen"); |
1914 byte byte0 = bk.getByteOffset(-1); | 1914 byte byte0 = bk.getByteOffset(-1); |
1915 if (isAttribute(byte0)) { | 1915 if (isAttribute(byte0)) { |
1916 screen52.setAttr(byte0); | 1916 screen52.setAttr(byte0); |
1917 } else { | 1917 } else { |
1918 if (!screen52.isStatusErrorCode()) { | 1918 if (!screen52.isStatusErrorCode()) { |