projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa7627
)
vte: answer with ACK to an ENQ enquiry
author
David Herrmann
<dh.herrmann@googlemail.com>
Mon, 28 May 2012 14:48:08 +0000
(16:48 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Mon, 28 May 2012 14:48:08 +0000
(16:48 +0200)
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>
src/vte.c
patch
|
blob
|
history
diff --git
a/src/vte.c
b/src/vte.c
index
dd357dd
..
1bddc39
100644
(file)
--- a/
src/vte.c
+++ b/
src/vte.c
@@
-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 */