console: add question-mark escape operator
authorAlexander Graf <agraf@suse.de>
Mon, 6 Jun 2011 04:53:52 +0000 (06:53 +0200)
committerhyokeun <hyokeun.jeon@samsung.com>
Tue, 6 Sep 2016 06:55:34 +0000 (15:55 +0900)
commit769de9d98c2c51215477bdcbdd66a8b114e7e6a0
tree701db01fef98ea04d1ce78f416288f888802b008
parentb1260507fe2503176154d433909f35578f0d1626
console: add question-mark escape operator

Some termcaps (found using SLES11SP1) use [? sequences. According to man
console_codes (http://linux.die.net/man/4/console_codes) the question mark
is a nop and should simply be ignored.

This patch does exactly that, rendering screen output readable when
outputting guest serial consoles to the graphical console emulator.

Signed-off-by: Alexander Graf <agraf@suse.de>
ui/console.c