Skip to content

Commit

Permalink
Currently Linux always replies "I am a VT102" to CSI_c.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Stabellini committed Aug 20, 2008
1 parent 9e987c6 commit abf16fe
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions console.c
Expand Up @@ -1952,14 +1952,9 @@ static void console_putchar(TextConsole *s, int ch)
break;
}
case 'c': /* device attributes */
if (s->nb_esc_params == 0 ) {
if (s->t_attrib.utf)
va_write(s, "\033[?62;1;2c"); // I'm a VT220
else
va_write(s, "\033[?6c"); // I'm a VT102
}
/* if there are any params, just return,
XXX if anyone has idea, spec on how it exactly should behave, file a ticket */
if (s->nb_esc_params == 0 )
va_write(s, "\033[?6c"); // I'm a VT102
/* if there are any params, just return */
break;
case 'd':
if (s->nb_esc_params == 1) {
Expand Down

0 comments on commit abf16fe

Please sign in to comment.