CONTENT="Modular DocBook HTML Stylesheet Version 1.52">|
Another way to use the terminal emulator is as an output device with full color and xterm emulation support. This will let your application gain the benefits of an automatic scroll-back capability and a cursor-addressable display, if required. Text may also be selected from any part of the display into the clipboard.
The gnome-enabled version of the xchat irc client is an example of this type of application.
This is even easier than using a child process to generate output. You do not need to call zvt_term_forkpty(), and you do not need to setup any special environment. Simply call once the terminal has been created, and it will write directly to the display.
All of the usual color and style-setting attributes can be encoded as simple strings fed into the terminal display engine.