vte: answer with ACK to an ENQ enquiry

Other emulators might ignore this. However, the easiest way to answer to
an enquiry is probably ACK.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-05-28 16:48:08 +02:00
parent 9aa76272e9
commit cd553c54ad

View File

@ -205,7 +205,8 @@ static void do_execute(struct kmscon_vte *vte, uint32_t ctrl)
break;
case 0x05: /* ENQ */
/* Transmit answerback message */
/* TODO */
/* TODO: is there a better answer than ACK? */
vte_write(vte, "\x06", 1);
break;
case 0x07: /* BEL */
/* Sound bell tone */