Go to file
liubo0711 6e1edc49c9 SECURITY UPDATE 2024-11-05 01:27:12 +00:00
.gitlab-ci Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
bindings Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
build-aux Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
debian SECURITY UPDATE 2024-11-05 01:27:12 +00:00
doc Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
perf Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
po Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
src Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
.dir-locals.el Import Upstream version 0.60.1 2022-05-14 03:16:03 +08:00
.gitattributes Import Upstream version 0.60.1 2022-05-14 03:16:03 +08:00
.gitlab-ci.yml Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
AUTHORS Import Upstream version 0.60.1 2022-05-14 03:16:03 +08:00
COPYING.CC-BY-4-0 Import Upstream version 0.60.1 2022-05-14 03:16:03 +08:00
COPYING.GPL3 Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
COPYING.LGPL3 Import Upstream version 0.60.1 2022-05-14 03:16:03 +08:00
COPYING.XTERM Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
ChangeLog Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
Makefile.meson Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
README.md Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
meson.build Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
meson_changelog.sh Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
meson_options.txt Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00
vte.doap Import Upstream version 0.76.0 2024-04-24 17:50:07 +08:00

README.md

Virtual TErminal

VTE provides a virtual terminal widget for GTK applications.

Source & Releases

To get the source code, use

$ git clone https://gitlab.gnome.org/GNOME/vte

To get the source for a release version, use the corresponding git tag, or download a tarball at https://gitlab.gnome.org/GNOME/vte/-/archive/TAG/vte-TAG.tar.bz2 replacing TAG with the desired tag's name (e.g. 0.64.0).

Installation

$ git clone https://gitlab.gnome.org/GNOME/vte  # Get the source code of VTE
$ cd vte                                        # Change to the toplevel directory
$ meson _build                                  # Run the configure script
$ ninja -C _build                               # Build VTE
[ Optional ]
$ ninja -C _build install                       # Install VTE to default `/usr/local`
  • By default, VTE will install under /usr/local. You can customize the prefix directory by --prefix option, e.g. If you want to install VTE under ~/foobar, you should run meson _build --prefix=~/foobar. If you already run the configure script before, you should also pass --reconfigure option to it.

  • You may need to execute ninja -C _build install as root (i.e. sudo ninja -C _build install) if installing to system directories.

  • If you wish to test VTE before installing it, you may execute it directly from its build directory. As _build directory, it should be _build/src/app/vte-[version].

  • You can pass -Ddebugg=true option to meson if you wish to enable debug function.

Debugging

After installing VTE with -Ddebugg=true flag, you can use VTE_DEBUG variable to control VTE to print out the debug information

# You should change vte-[2.91] to the version you build
$ VTE_DEBUG=selection ./_build/src/app/vte-2.91

# Or, you can mixup with multiple logging level
$ VTE_DEBUG=selection,draw,cell ./_build/src/app/vte-2.91

$ Or, you can use `all` to print out all logging message
$ VTE_DEBUG=all ./_build/src/app/vte-2.91

For logging level information, please refer to enum VteDebugFlags.

Contributing

Bugs should be filed here: https://gitlab.gnome.org/GNOME/vte/issues/ Please note that this is not a support forum; if you are a end user, always file bugs in your distribution's bug tracker, or use their support forums.

If you want to provide a patch, please attach them to an issue in GNOME GitLab, in the format output by the git format-patch command.