VTE PTY patch

Introduction

This patch is obsolete. Equivalent functionality is available in VTE release 0.12.1 and later. The function name is vte_terminal_set_pty().

VTE is a GTK+ terminal widget written by Nalin Dahyabhai. It provides vte_terminal_fork_command(), which forks a child process to run specified command, with standard I/O connected to the terminal widget via a PTY.

For use as part of a command-line debugger interface for CASMSIM, I want to use VTE talking to a thread in the same process, so this was not suitable. I've added a new function vte_terminal_add_pty() which attaches an existing PTY master file descriptor to the terminal widget.

More details of how I use this may be found in my Advogato diary entry.

I've submitted a feature request to GNOME Bugzilla.


Download

VTE is licensed under the Free Software Foundation's General Public License, Version 2.


Last updated June 17, 2006

Copyright 2004, 2006 Eric Smith

eric@brouhaha.com

Best Viewed With Any Browser Valid HTML 4.01! Valid CSS!

check now

check now