> On 08 Jun 2015, at 18:21, Peter Maydell <peter.mayd...@linaro.org> wrote: > > ... 'readline' mode and 'control' mode. > The latter won't have the cursor-editing, but it's the QMP > protocol monitor (intended for controlling QEMU from other programs, > different syntax to the human monitor protocol).
> -chardev stdio,id=monchr -mon chardev=monchr,mode=control this great syntax is accepted, but, unless I'm expected to enter json formatted strings, the behaviour is definitely not for humans: info mtree {"error": {"class": "GenericError", "desc": "Invalid JSON syntax"}} {"error": {"class": "GenericError", "desc": "Invalid JSON syntax"}} the reason I commented out terminal control in readline_update() was that I could not find a way to disable it from the command line. regards, Liviu