|>|2)
 |>|I'd like to see colorful messages.
 |>
 |> Only headers yet, sorry.
 |>
 |>|set PAGER=less
 |>|set colour-pager
 |>|
 |>|Works only in v14.8.16 both with "less" and "more".
 ..
 |>|In v14.9.3 less disappears right at the end of the plain text part and
 |>|the message list screen comes back - had to record it with a screen
 |>|capture software, it is displayed only for a few frames.
 |>|Setting PAGER to more works but with no colors.
 |>|TERM is xterm-color and the "?" prompt is red.
 |>
 |> You should set the LESS environment variable like
 |>
 |>   $ export LESS=RXi; mail
 |> or
 |>   $ mail
 |>   ? environ set LESS=RXi
 |>
 |> It is because of termcap support, oh i am really lucky that we do
 ...
 |> *termcap-ca-mode* to be set!  That would have been a disaster.  We
 ...
 |Still no colored headers in v14.9.3
 |
 |environ set LESS=RXi
 |set PAGER=less
 |set colour-pager
 |
 |v14.8.16 *has* colors.
 |
 |Please advise.

What does

  ? colour *

say?  What terminal do you have, what does

  $ infocmp | grep colors#

say just in case you have infocmp(1)?  If not, does

  $ s-nail -S termcap=Co#256

give you something, just in case you actually have installed
`colour' settings for this mode?  Can it be that your terminal
proposes "millions of colours"?  Then we either need to add a slot
for "millions of colours" or reuse the slot for 256 for that.
Could this be the problem?  I am talking blind, have to go out,
will come back this evening.  ("Millions of colours", really?
Wow.  Yes, could be i did not thought about adding a fallback for
those cases.  Will look.  Thank you!)

Hallo Stefan!

Thank you for your support.

? colour *
colour 256 mle-position  fg=202 ''
colour 256 mle-prompt    fg=red ''
colour iso mle-position  ft=reverse ''
colour iso mle-prompt    fg=red ''
colour mono mle-position  ft=reverse ''
colour mono mle-prompt    ft=bold ''

$ infocmp | grep colors#
        colors#256, it#8, ncv#22, pairs#32767,

$ echo $TERM
putty-256color

So only 256 colors.

termcap was already "Co#256"

No colors, even with TERM=xterm-color s-nail

But v14.8.16 works OK.


SZÉPE Viktor, üzemeltetés
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  [email protected]  skype: szepe.viktor
Budapest, III. kerület




Reply via email to