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 <[email protected]>
---
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 <[email protected]> Do Jan 14 18:08:33 2010
Eintragender: Christian Persch <[email protected]> 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