From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzaY3-0003wE-Jk for qemu-devel@nongnu.org; Mon, 20 Feb 2012 16:13:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzaY2-0004Xh-9D for qemu-devel@nongnu.org; Mon, 20 Feb 2012 16:13:27 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:42453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzaY2-0004XU-1L for qemu-devel@nongnu.org; Mon, 20 Feb 2012 16:13:26 -0500 Message-ID: <4F42B773.3070006@weilnetz.de> Date: Mon, 20 Feb 2012 22:13:23 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1329695104-15174-1-git-send-email-aliguori@us.ibm.com> <1329695104-15174-4-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1329695104-15174-4-git-send-email-aliguori@us.ibm.com> Content-Type: multipart/alternative; boundary="------------040607090206080001000404" Subject: Re: [Qemu-devel] [PATCH 3/6] gtk: add virtual console support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------040607090206080001000404 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Am 20.02.2012 00:45, schrieb Anthony Liguori: > This enables VteTerminal to be used to render the text consoles.=20 > VteTerminal is > the same widget used by gnome-terminal which means it's VT100=20 > emulation is as > good as they come. > > It's also screen reader accessible, supports copy/paste, proper=20 > scrolling and > most of the other features you would expect from a terminal widget. > > Signed-off-by: Anthony Liguori > --- > ui/gtk.c | 138=20 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 138 insertions(+), 0 deletions(-) > The new code uses VtePty and some functions which were added to VteTerminal in 2010, so this is a rather new interface: commit dd08c50c6a6dd4349d3cbce271ddf4b741db8861 Autor: Christian Persch Do Jan 14 18:08:33 2010 Eintragender: Christian Persch Mi M=E4r 17 18:22:15 = 2010 Add VtePty and adapt the VteTerminal APIs to it Add VtePty as a GObject holding the info about the PTY. Add new API t= o VteTerminal to set a VtePty, and deprecate the old API that takes a F= D to the PTY. Also deprecate the whole of the undocumented _vte_pty_*() APIs. Add vte_terminal_fork_command_full() variant that allow providing a custom child setup function and that returns a GError on failure. =3D> It does not work with Debian stable and other "old" distributions. configure detects GTK+ and VTE, but make fails. Regards, Stefan Weil --------------040607090206080001000404 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Am 20.02.2012 00:45, schrieb Anthony Liguori:
This enables VteTerminal to be used to render the text consoles. VteTerminal is
the same widget used by gnome-terminal which means it's VT100 emulation is as
good as they come.

It's also screen reader accessible, supports copy/paste, proper scrolling and
most of the other features you would expect from a terminal widget.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
ui/gtk.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 138 insertions(+), 0 deletions(-)



The new code uses VtePty and some functions which were added to VteTerminal in 2010, so this is a rather new interface:

commit dd08c50c6a6dd4349d3cbce271ddf4b741db8861
Autor: Christian Persch <chpe@gnome.org> Do Jan 14 18:08:33 2010
Eintragender: Christian Persch <chpe@gnome.org> Mi M=E4r 17 18:22:15 2010

Add VtePty and adapt the VteTerminal APIs to it

Add VtePty as a GObject holding the info about the PTY. Add new API to
VteTerminal to set a VtePty, and deprecate the old API that takes a FD
to the PTY. Also deprecate the whole of the undocumented _vte_pty_*()
APIs.

Add vte_terminal_fork_command_full() variant that allow providing a
custom child setup function and that returns a GError on failure.

=3D> It does not work with Debian stable and other "old" distributions.

configure detects GTK+ and VTE, but make fails.

Regards,

Stefan Weil



--------------040607090206080001000404--