Χάρης Καραχριστιανίδης wrote in <20230218164345.ake5b%haris...@otenet.gr>: |Steffen Nurpmeso <stef...@sdaoden.eu> wrote: .... |>|I have no srt set. With crt=20 no colour at all. It seems that when \ |>|less opens there is no colour and when it doesn't open there is colour? |> |> You seem to have the $LESS environment variable set. |> There is a note on that for $PAGER: ... |> You surely need -R (there was a security advisory regarding that, |> less should be >= 608) in $LESS for colours, if you set it |> yourself. I have |> |> #?0|kent:tmp$ echo $LESS |> -IFe |> #?0|kent:tmp$ alias v |> alias v='LESS= less -RIFe' ... |Is seems I already have -R? | |$ echo $LESS |-R -M --shift 5
Ah! Sorry Hariskar, you need "set colour-pager"! This is long obsolete here, in v14.10 the variable does nothing: you have to "set colour-disable" or not use colours at all. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)