#1110252 rocminfo: control characters in non-interactive output

Package:
rocminfo
Source:
rocminfo
Description:
ROCm Application for Reporting System Info
Submitter:
Cordell Bloor
Date:
2025-08-02 02:27:02 UTC
Severity:
normal
#1110252#5
Date:
2025-08-02 02:24:47 UTC
From:
To:
Dear Maintainer,

The rocminfo tool emits terminal control characters even when the output
has been redirected to file. This results in output that looks like:

ESC[37mROCk module is loadedESC[0m

It would be nice if rocminfo could avoid the use of these control
characters by default when output is piped to an interface that does not
support them (and/or support an environment variable to control whether
terminal control characters are enabled).

Sincerely,
Cory Bloor