Re: [Qemu-devel] [PATCH 3/5] osdep: add qemu_set_tty_echo()

2013-12-02 Thread Stefan Hajnoczi
On Fri, Nov 29, 2013 at 11:13:41AM +0100, Kevin Wolf wrote: > Am 29.11.2013 um 11:04 hat Kevin Wolf geschrieben: > > Am 14.11.2013 um 11:54 hat Stefan Hajnoczi geschrieben: > > > Using stdin with readline.c requires disabling echo and line buffering. > > > Add a portable wrapper to set the terminal

Re: [Qemu-devel] [PATCH 3/5] osdep: add qemu_set_tty_echo()

2013-11-29 Thread Kevin Wolf
Am 29.11.2013 um 11:04 hat Kevin Wolf geschrieben: > Am 14.11.2013 um 11:54 hat Stefan Hajnoczi geschrieben: > > Using stdin with readline.c requires disabling echo and line buffering. > > Add a portable wrapper to set the terminal attributes under Linux and > > Windows. > > > > Signed-off-by: Ste

Re: [Qemu-devel] [PATCH 3/5] osdep: add qemu_set_tty_echo()

2013-11-29 Thread Kevin Wolf
Am 14.11.2013 um 11:54 hat Stefan Hajnoczi geschrieben: > Using stdin with readline.c requires disabling echo and line buffering. > Add a portable wrapper to set the terminal attributes under Linux and > Windows. > > Signed-off-by: Stefan Hajnoczi There's already qemu_chr_fe_set_echo(). Can't we

[Qemu-devel] [PATCH 3/5] osdep: add qemu_set_tty_echo()

2013-11-14 Thread Stefan Hajnoczi
Using stdin with readline.c requires disabling echo and line buffering. Add a portable wrapper to set the terminal attributes under Linux and Windows. Signed-off-by: Stefan Hajnoczi --- include/qemu/osdep.h | 2 ++ util/oslib-posix.c | 18 ++ util/oslib-win32.c | 19