mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-20 12:38:06 -05:00
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. [originally from svn r2394]
This commit is contained in:
parent
860164958a
commit
241570c04f
@ -1274,7 +1274,7 @@ void term_out(Terminal *term)
|
|||||||
else if(term->sco_acs &&
|
else if(term->sco_acs &&
|
||||||
(c!='\033' && c!='\012' && c!='\015' && c!='\b'))
|
(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;
|
c |= ATTR_SCOACS;
|
||||||
} else {
|
} else {
|
||||||
switch (term->cset_attr[term->cset]) {
|
switch (term->cset_attr[term->cset]) {
|
||||||
@ -2103,7 +2103,7 @@ void term_out(Terminal *term)
|
|||||||
compatibility(SCOANSI);
|
compatibility(SCOANSI);
|
||||||
if (term->cfg->no_remote_charset) break;
|
if (term->cfg->no_remote_charset) break;
|
||||||
term->sco_acs = 1; break;
|
term->sco_acs = 1; break;
|
||||||
case 12: /* SCO acs on flipped */
|
case 12: /* SCO acs on, |0x80 */
|
||||||
compatibility(SCOANSI);
|
compatibility(SCOANSI);
|
||||||
if (term->cfg->no_remote_charset) break;
|
if (term->cfg->no_remote_charset) break;
|
||||||
term->sco_acs = 2; break;
|
term->sco_acs = 2; break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user