Homepage · Linux

gnome-terminal/libzvt

July 2001

gnome-terminal is the terminal emulator of the gnome project. It is based on libzvt, a library that contains the terminal-emulation. I have two patches:
  1. a patch against libzvt
    This patch is against libzvt from gnome-libs-1.2.13 and contains:

    • fix for a problem with word-select.
      selecting wordwise (with double-click) and moving the cursor backwards does not work the way it should: The initial word gets lost.

    • fix for update-problem
      sometimes the terminal-emulations display is incorrect and does not match the internal buffer.

      disable background-image or transparency and start make menuconfig. Then select a long helptext and scroll down: parts of the display do not get updated properly.

    • add xterm's CutToBeginningOfLine-feature (see xterm manpage)

  2. a patch against gnome-core
    (gnome-terminal is part of gnome-core)
    This patch make the CutToBeginningOfLine-feature available to gnome-terminal, by adding a new config-options.
Download:
withdrawn
- please use the October 2002 patches below.

October 2002

Gnome 2 is out and the bugs are still there :(

I made new patches against libzvt-2.0.1 and filed new bugreports:

#94896 bugreport about the update-problem including patch
#94897 bugreport about select-anomaly including patch

Download: update-patch, select-anomaly-patch

Another bug that made it from gnome 1.x to gnome 2.0

There is another problem in libzvt leading to wrong content caused by a different interpretation of the "Delete (many) Character(s)" sequence ('CSI PS P') I learned of a bugreport against libzvt from gnome 1.x.

libzvt copies the last character on the line to the freed places, other terminals seem to fill the freed characters with the actual attributes.

I made a patch changing this behavior.

#56912 bugreport about "iptraf makes zvt misdraw (gnome-libs 1.x)"
#96954 bugreport to libzvt - 2.0.x

Download: delete-bug-patch

Localisation-Problem

If the locale uses a charset other than iso-8859-1 libzvt does only display characters that are in iso-8859-1 and does omit all other characters. P.e. if LANG=de_DE@euro the charset is iso-8859-15 and libzvt (gnome-terminal) does not display the Euro-sign.

This is because libzvt (under some circumstances) transforms chars to wide-chars bevor displaying. The simple assignment used in libzvt does only work for iso-8859-1, using btowc does the trick.

This is a hack for 8-bit charsets, all others have to wait for i18n-libzvt.

#94895 bugreport about problems with iso-8859-15

Download: localisation-patch

M G Berberich · berberic@fmi.uni-passau.de · 2001-07-28 \ 2001-10-27