Bug 2278984 - msgcat --color=test outputs nothing at all
Summary: msgcat --color=test outputs nothing at all
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: 40
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Manish Tiwari
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-03 20:20 UTC by Robin
Modified: 2024-08-09 02:53 UTC (History)
5 users (show)

Fixed In Version: gettext-0.22.5-4.fc40
Clone Of:
Environment:
Last Closed: 2024-08-09 02:53:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
msgcat-expected-output (167.92 KB, image/png)
2024-05-03 20:23 UTC, Robin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1228 0 None None None 2024-06-25 06:10:01 UTC

Description Robin 2024-05-03 20:20:55 UTC
/usr/bin/msgcat is provided by gettext. Under other Linux distributions and using Brew for MacOS executing "msgcat --color=test" prints test output displaying background and foreground colors in the terminal.

This feature is described in section 9.11.2 of "info msgcat"

Reproducible: Always

Steps to Reproduce:
1. msgcat --color=test
Actual Results:  
No output produced

Expected Results:  
Test output as hard-coded into the program.

Comment 1 Robin 2024-05-03 20:23:53 UTC
Created attachment 2031163 [details]
msgcat-expected-output

Comment 2 Jens Petersen 2024-06-25 06:08:43 UTC
We enabled this recently in Fedora 41 Rawhide..

Just curious what do you use this for?
I suppose we could turn on libtextstyle for F40 too.

Comment 3 Fedora Update System 2024-07-24 16:28:16 UTC
FEDORA-2024-8df905381e (low) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8df905381e

Comment 4 Fedora Update System 2024-07-25 01:53:08 UTC
FEDORA-2024-8df905381e has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8df905381e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8df905381e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-08-09 02:53:34 UTC
FEDORA-2024-8df905381e (gettext-0.22.5-4.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.