qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/6] gtk: add virtual console support


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH 3/6] gtk: add virtual console support
Date: Mon, 20 Feb 2012 22:13:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19

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 <address@hidden>
---
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 <address@hidden> Do Jan 14 18:08:33 2010
Eintragender: Christian Persch <address@hidden> Mi Mär 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.

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

configure detects GTK+ and VTE, but make fails.

Regards,

Stefan Weil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]