Using the color 30 or 37 (black or white foreground) without setting the
background, or similarly, 40 or 47 (black or white background) without
setting the foreground is a pretty bad idea, since, without knowing the
terminal's color scheme (which is often white on black, or black on
white), it might easily result in unreadable text.

I don't see why links would be underlined, so I assume that 4 is also a
bug.

One possible explanation would be that it wanted to be 40 instead (white
text on black background), it's at least readable, although potentially
ugly, still doesn't explain that 5, and also the order of the three
numbers is really weird then.

My best guess is that that 4 is meant to be 48 (or even better, 38), to
use extended colors. In that case 5 is an additional parameter to that
(that is, no blinking), and 37 is yet another additional parameter (the
color index from the 256-color palette), resulting in a cyan-ish color.

This guess is also supported by the presence of "DIR 38;5;5" and "EXEC
38;5;202" in the file, which mean to use color index 5 (magenta) or 202
(bright red) for the foreground.

Note, however, that the use of such extended colors is also buggy, since
they are under TERM declarations that don't claim to support 256 colors.
"38;5;xx" and "48;5;xx" should only be allowed under sections of "TERM
whatever-256color".

"DIR 38;5;5" could simply be replaced by "DIR 35", it's the same color,
but terminals that don't support 256 colors cannot be expected to
understand the long format. For "EXEC 38;5;202" the best (simplest) is
probably to find a color from the legacy 8-color palette. Or reorganize
the entire file so that terminals with 256-color support have different
values.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1752352

Title:
  symbolic links are blinking with byobu

Status in byobu:
  New
Status in byobu package in Ubuntu:
  Confirmed
Status in gnome-terminal package in Ubuntu:
  Confirmed

Bug description:
  Test Case
  1. Run byobu
  2. ln -s . test_symlink
  3. ls -d test_symlink

  Actual result
  test_symlink is blinking.

  Expected result
  test_symlink  is not blinking with the default settings applied.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-terminal 3.27.90-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Feb 28 16:02:01 2018
  InstallationDate: Installed on 2013-09-03 (1638 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-terminal
  UpgradeStatus: Upgraded to bionic on 2018-01-26 (33 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/byobu/+bug/1752352/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to