|
|
@ -2319,11 +2319,12 @@ tdeftran(char ascii) {
|
|
|
|
static int vcs[] = {CS_GRAPHIC0, CS_USA};
|
|
|
|
static int vcs[] = {CS_GRAPHIC0, CS_USA};
|
|
|
|
char *p;
|
|
|
|
char *p;
|
|
|
|
|
|
|
|
|
|
|
|
if((p = strchr(cs, ascii)) == NULL)
|
|
|
|
if((p = strchr(cs, ascii)) == NULL) {
|
|
|
|
fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
|
|
|
|
fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
|
|
|
|
else
|
|
|
|
} else {
|
|
|
|
term.trantbl[term.icharset] = vcs[p - cs];
|
|
|
|
term.trantbl[term.icharset] = vcs[p - cs];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
tcontrolcode(uchar ascii) {
|
|
|
|
tcontrolcode(uchar ascii) {
|
|
|
|