• Bug#1110252: rocminfo: control characters in non-interactive output

    From Cordell Bloor@21:1/5 to All on Sat Aug 2 04:30:01 2025
    Package: rocminfo
    Version: 6.1.2-2
    Severity: wishlist

    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

    -- System Information:
    Debian Release: 13.0
    APT prefers testing-security
    APT policy: (500, 'testing-security'), (500, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.38+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
    Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages rocminfo depends on:
    ii kmod 34.2-2
    ii libc6 2.41-11
    ii libgcc-s1 14.2.0-19
    ii libhsa-runtime64-1 6.1.2-3
    ii libstdc++6 14.2.0-19
    ii pciutils 1:3.13.0-2
    ii python3 3.13.5-1

    rocminfo recommends no packages.

    rocminfo suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)