You are not logged in.

#1 2023-07-18 15:04:16

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

[SOLVED] missing coloring in man pages

With the Jul 18 update, the zsh function I used to color man pages no longer has any effect:

function man {
    LESS_TERMCAP_md=$'\e[01;31m' \
    LESS_TERMCAP_me=$'\e[0m' \
    LESS_TERMCAP_se=$'\e[0m' \
    LESS_TERMCAP_so=$'\e[01;44;33m' \
    LESS_TERMCAP_ue=$'\e[0m' \
    LESS_TERMCAP_us=$'\e[01;32m' \
    command man "$@"
}

I checked if man-db and less had any recent upgrades, but the build dates are 09 Jan and 04 May, respectively, and my last update was after that.

A downgrade to ncurses 6.4-1 also did not make a difference (neither man and less are setuid programs). I noticed the same effect with mcview, oddly enough. I tried with MATE Terminal and xterm. less -R itself still displays colored escape sequences, e.g. from grep --color=always input.

Not sure what other moving parts are involved here. Pointers?

Full list of upgraded packages: https://paste.xinu.at/NZo

Last edited by Alad (2023-07-18 16:49:47)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#2 2023-07-18 15:44:07

seth
Member
Registered: 2012-09-03
Posts: 62,251

Offline

#3 2023-07-18 16:47:50

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: [SOLVED] missing coloring in man pages

Ah, I missed groff when searching. Thanks for the pointer.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB