Steffen Nurpmeso <[email protected]> wrote:

> Χάρης Καραχριστιανίδης wrote in
>  <20230218103017.wj41n%[email protected]>:
>  |Steffen Nurpmeso <[email protected]> wrote:
>  |> Χάρης Καραχριστιανίδης wrote in
>  |>  <20230217201526.h5ogc%[email protected]>:
>  |>|Steffen Nurpmeso <[email protected]> wrote:
>  |>|> Χάρης Καραχριστιανίδης wrote in
>  |>|>  <20230217191546.bzynv%[email protected]>:
>  |>|>|Only headers that begin after previous mail or header summary are \
>  |>|>|colour\
>  |>|>|ed. Headers that are on the top of the page or in the middle of an \
>  |>|>|empty page are not coloured. Shouldn'e the behaviour be the same for \
>  |>|>|all headers?
>  |>  ...
>  |>|> No, content cannot be coloured yet.  And this will require v15
>  |>  ...
>  |>|Sorry page is the wrong word, screen is the dorrect work in my previous \
>  |>|email.
>  |>|I am not talking about the body of emails but about each email header. \
>  |>|The header of most of my emails is not coloured depending on conditions \
>  |>|I described. I can send you photos.
>  |> 
>  |> You actually have found a _horrifying_bug_!
>  ...
>  |> Please ensure that only non-empty "preconditions" are used (ie
>  |> dot, and the header names in your config), please simply leave off
>  |> empty ones.  Like so
>  ...
>  |>   colour 256 sum-thread    fg=172
>  ...
>  |> (instead of eg "colour 256 view-header   fg=219 ''").
>   ...
> 
>  |It is just s very small bug in a great program!
> 
> If it were like that.  I am on v14.10 for three years, so many
> things were fixed; i hope that can be released before summer.
> 
>  |I ensure that I don't use colour like "colour 256 view-header   fg=219 \
>  |''" but I use "colour 256 view-header   fg=219"
> 
> Hm.
> 
>  |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:
> 
>   The content of this variable is inspected: if it contains
> ^ $PAGER
>   "less" then a non-existing environment variable LESS is tem-
>   porarily set to the portable 'RIFE' (the latter two exces-
>   sively), whereas for "lv" LV will temporarily be set to '-c'.
> 
> 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'
> 
> but my $MAILRC unsets it.  (Actually it now does
> 
>         \vput ! i </dev/null less --version >/dev/null 2>&1
>         \if $? -eq 0
>                 \env set LESS=RIFe
>         \el
>                 \env unset LESS # builtin!
>         \end
> 
> even though expensive because i like -e better than -E, and
> busybox less has no -E.  (One of the things i would like to do.))
> 
> 
>  |I am happy I helped you with that. Thank you for all detailed kind \
>  |help you offer me!!
> 
> Yes, thank you, what a bug.
> And thanks for using this little thing.
> 
>  |Haris
>  --End of <20230218103017.wj41n%[email protected]>
> 
> Ciao!
> 
> --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)

Is seems I already have -R?

$ echo $LESS
-R -M --shift 5

Reply via email to