From 5dc6132d3a8e6e4048698bf1914b486f9cf41e2c Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 31 Dec 2002 11:03:23 +0000 Subject: [PATCH] SCO ACS part 2 (ESC[12m) apparently puts the top half of CP437 into _both_ halves of the character set, rather than flipping the two halves. My source for this is linux/drivers/char/console.c. git-svn-id: svn://svn.tartarus.org/sgt/putty@2394 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminal.c b/terminal.c index 3fcff47f..749b1203 100644 --- a/terminal.c +++ b/terminal.c @@ -1274,7 +1274,7 @@ void term_out(Terminal *term) else if(term->sco_acs && (c!='\033' && c!='\012' && c!='\015' && c!='\b')) { - if (term->sco_acs == 2) c ^= 0x80; + if (term->sco_acs == 2) c |= 0x80; c |= ATTR_SCOACS; } else { switch (term->cset_attr[term->cset]) { @@ -2103,7 +2103,7 @@ void term_out(Terminal *term) compatibility(SCOANSI); if (term->cfg->no_remote_charset) break; term->sco_acs = 1; break; - case 12: /* SCO acs on flipped */ + case 12: /* SCO acs on, |0x80 */ compatibility(SCOANSI); if (term->cfg->no_remote_charset) break; term->sco_acs = 2; break; -- 2.11.0