console: add question-mark escape operator
authorAlexander Graf <agraf@suse.de>
Mon, 6 Jun 2011 04:53:52 +0000 (06:53 +0200)
committerJunfeng Dong <junfeng.dong@intel.com>
Tue, 19 Nov 2013 10:57:38 +0000 (18:57 +0800)
commitde5bebb7702c3ba855962407256fac19446a71bc
tree35ff727f55d7eb1fa22f99726fb5254c12cfa8ad
parent1b4109e22c41c1e29c59c21dd326e54a36b47e0f
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