Bug#910078: the bold capability does not work after sgr0

Marco d'Itri md at linux.it
Tue Oct 2 13:23:19 BST 2018


Package: libvte-2.91-0
Version: 0.54.0-1
Severity: normal

Test case:

echo "A$(tput bold)B$(tput sgr0)C$(tput bold)D$(tput sgr0)E"

Expected results (verified with xterm and others): B and D are printed 
in bold (i.e. white, not grey).
Actual results: only B is printed in bold.

Something in my prompt fixes whatever is broken and makes bold work 
again:

PS1="\\[\\033]0;\\h: \\w\\007\\]\\[\\e[0;32m\\]\\u@\\[\\e[36m\\]\\h\\[\\e[32m\\]:\\[\\e[31m\\]\\w\\\$\\[\\e[37m\\]"

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-terminal depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.12.10-1
ii  dbus-x11 [dbus-session-bus]                   1.12.10-1
ii  dconf-gsettings-backend [gsettings-backend]   0.30.0-1
ii  gnome-terminal-data                           3.30.0-1
ii  gsettings-desktop-schemas                     3.28.1-1
ii  libatk1.0-0                                   2.30.0-1
ii  libc6                                         2.27-6
ii  libdconf1                                     0.30.0-1
ii  libglib2.0-0                                  2.58.1-2
ii  libgtk-3-0                                    3.24.1-2
ii  libpango-1.0-0                                1.42.4-3
ii  libuuid1                                      2.32.1-0.1
ii  libvte-2.91-0                                 0.54.0-1
ii  libx11-6                                      2:1.6.6-1

Versions of packages gnome-terminal recommends:
ii  gvfs                               1.38.0-2
pn  nautilus-extension-gnome-terminal  <none>
ii  yelp                               3.30.0-1

gnome-terminal suggests no packages.

-- no debconf information

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20181002/4f21721d/attachment.sig>


More information about the pkg-gnome-maintainers mailing list