From 4afe2998f6feb32e8d7c9f6b0aed128eb20c1ba0 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Wed, 31 Dec 2008 17:35:28 +0000 Subject: Disable DEC special characters for now * It appears that DEC special characters were enabled when they shouldn't be * Specification for VT emulation should be reviewed to determine when to enable * Precomposed Unicode characters should work better now --- src/de/mud/terminal/vt320.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/de/mud/terminal') diff --git a/src/de/mud/terminal/vt320.java b/src/de/mud/terminal/vt320.java index 41a6146..83c5b37 100644 --- a/src/de/mud/terminal/vt320.java +++ b/src/de/mud/terminal/vt320.java @@ -1601,10 +1601,12 @@ public abstract class vt320 extends VDUBuffer implements VDUInput { } } } + /* if (c >= '\u005f' && c <= '\u007e') { c = DECSPECIAL[(short) c - 0x5f]; mapped = true; } + */ break; case '<': // 'user preferred' is currently 'ISO Latin-1 suppl c = (char) (((int) c & 0x7f) | 0x80); @@ -1622,10 +1624,12 @@ public abstract class vt320 extends VDUBuffer implements VDUInput { if (!mapped && (c >= '\u0080' && c <= '\u00ff')) { switch (gx[gr]) { case '0': + /* if (c >= '\u00df' && c <= '\u00fe') { c = DECSPECIAL[c - '\u00df']; mapped = true; } + */ break; case '<': case 'A': -- cgit v1.2.3