msgcat --color=test no longer works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gettext (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
`msgcat --color=test` no longer prints anything. I rely on that package to determine what colors a terminal supports, as does anyone using https:/
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
$ lsb_release -rd
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
$ apt-cache policy gettext
gettext:
Installed: 0.21-3ubuntu2
Candidate: 0.21-3ubuntu2
Version table:
*** 0.21-3ubuntu2 500
500 http://
100 /var/lib/
3) What you expected to happen
It should work and the output should be the same as in 20.10:
$ msgcat --color=test
Colors (foreground/
|black |blue |green |cyan |red |magenta|yellow |white |default
black | Words | Words | Words | Words | Words | Words | Words | Words | Words
blue | Words | Words | Words | Words | Words | Words | Words | Words | Words
green | Words | Words | Words | Words | Words | Words | Words | Words | Words
cyan | Words | Words | Words | Words | Words | Words | Words | Words | Words
red | Words | Words | Words | Words | Words | Words | Words | Words | Words
magenta| Words | Words | Words | Words | Words | Words | Words | Words | Words
yellow | Words | Words | Words | Words | Words | Words | Words | Words | Words
white | Words | Words | Words | Words | Words | Words | Words | Words | Words
default| Words | Words | Words | Words | Words | Words | Words | Words | Words
Colors (hue/saturation):
red:
yellow:
green:
cyan:
blue:
magenta:
red:
Weights:
normal, bold, default
Postures:
normal, italic, default
Text decorations:
normal, underlined, default
Colors (foreground) mixed with attributes:
black |normal|
blue |normal|
green |normal|
cyan |normal|
red |normal|
magenta|
yellow |normal|
white |normal|
default|
Colors (background) mixed with attributes:
black |normal|
blue |normal|
green |normal|
cyan |normal|
red |normal|
magenta|
yellow |normal|
white |normal|
default|
$
(The color was present before copying and pasting here)
4) What happened instead
There is no output:
$ msgcat --color=test
$