Secondary device attributes for vt220

This commit is contained in:
Keith Winstein
2011-02-01 01:50:16 -05:00
parent e6460e2dde
commit f2d4f1d227
+9 -1
View File
@@ -94,11 +94,19 @@ static Function func_CSI_cursormove_f( CSI, "f", CSI_cursormove );
/* device attributes */
void CSI_DA( Framebuffer *fb __attribute((unused)), Dispatcher *dispatch )
{
dispatch->terminal_to_host.append( "\033[?1;0c" );
dispatch->terminal_to_host.append( "\033[?62c" ); /* plain vt220 */
}
static Function func_CSI_DA( CSI, "c", CSI_DA );
/* secondary device attributes */
void CSI_SDA( Framebuffer *fb __attribute((unused)), Dispatcher *dispatch )
{
dispatch->terminal_to_host.append( "\033[>1;10;0c" ); /* plain vt220 */
}
static Function func_CSI_SDA( CSI, ">c", CSI_SDA );
/* screen alignment diagnostic */
void Esc_DECALN( Framebuffer *fb, Dispatcher *dispatch __attribute((unused)) )
{