• Re: how to get rid of escape sequences

    From Klaus Singvogel@3:633/10 to All on Thursday, September 24, 2026 08:30:01
    fxkl47BF@protonmail.com wrote:
    [...]
    now i see escape sequences is some applications

    $ apt show coreutils
    ESC[1mPackage: ESC[0mESC[32mcoreutilsESC[0m
    [...]
    i get this when i ssh to the machine or use the local tty
    any ideas what i missed

    now i see escape sequences is some applications

    $ apt show coreutils
    ESC[1mPackage: ESC[0mESC[32mcoreutilsESC[0m
    [...]
    i get this when i ssh to the machine or use the local tty
    any ideas what i missed

    Could you try the following and check whether it helps?
    apt -o APT::Color=0 show coreutils

    If this fixes the output, you can disable APT colors system-wide by creating a file such as /etc/apt/apt.conf.d/99no-color with the following content:
    APT::Color "0";

    Thanks.

    Best regards,
    Klaus.
    --
    Klaus Singvogel
    GnuPG-Key-ID: 1024R/5068792D 1994-06-27

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Charles Curley@3:633/10 to All on Thursday, September 24, 2026 22:20:02
    On Thu, 24 Sep 2026 11:56:36 -0400
    Greg Wooledge <greg@wooledge.org> wrote:

    Oh, that's nice. And it's in the man page, right?

    hobbit:~$ man apt | grep PAGER
    hobbit:~$

    Oh, of course. Silly me. Why would that be documented....

    Hmmm. I wonder what else isn't documented. Like history-list and history-rollback ID (on version 3.1.7 or later). (Thank you, Darac
    Marjal <mailinglist@darac.org.uk>!)

    Memo to developers: The job ain't over until the paperwork is done.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)