![]() |
Missing manpage colors w/ most v5.2.0
2 Attachment(s)
On slackware64 -current when using most v5.2.0 as manpager, manpages show only B/W and bold, no colors. If I install most v5.1.0, colors are present. Using MacOS terminal app to connect to Slackware server.
tia for any ideas/suggestions! Code:
# export|grep PAGER From the most changelog: Changes since 5.1.0 1. src/most.c: Ignore empty filenames on the command line 2. src/cmd.c: Changed /* drop */ to /* fall through */ to avoid a gcc-8 warning in a switch statement 3. src/keyparse.c,line.c: Add support for the embedded default forground/background escape sequences (e.g., \e[39;49m) 4. src/buffer.h,...: Changed various integer sizes to better support files larger than 4 GB. 5. Additional changes involving int -> MOST_INT were required. 6. src/Makefile.in: Avoid a race condition when performing a parallel build (Sergei Trofimovich) 7. src/color.c: Added support for true-color terminals. If you have a terminal that supports true-color, and you are on a 64 bit system with a recent version of the slang library, then set the environment variable COLORTERM to "truecolor", i.e., export COLORTERM=truecolor 8. Added pseudo-truecolor support for terminals that provide only the basic 16 colors by mapping the desired truecolor to the nearest 16 color version. 9. src/line.c: Fixed a bug that caused a character following a 0-width character not be be displayed (reported by MalteHei) 10. color.c: Support color escape sequences that use the colon character as a delimiter 11. src/color.c: An unspecifed FG or BG color was not getting properly mapped to the default color 12. Updated copyright years 13. Better support for 256 color terminals; added additional test file |
MAC:
Code:
export COLORTERM="truecolor" Code:
ldd $(which most) Check these ^^ if are ok and if work. if not: Code:
man -P "most -C" ls If not working again... even with the -C flag, probably the problem might be deeper, possibly related to terminal configuration, environment variables, or even a specific issue with most. In such cases idk... |
2 Attachment(s)
@rizitis thanks for the ideas! Didn't help so far unfortunately. I tried both from MacOS terminal and also directly on terminal console on the Linux machine (using ipmi), same results. I assume other -current users will be able to reproduce and maybe one of them will eventually report a solution when -current ships.
Code:
$ export|grep -i color |
Works fine on Slackware64-15.0
I built and installed most v5.2.0 on Slackware64-15.0.
Colors work fine in that case, strange. |
Same issue here. Man pages used to display in color with MOST. I just built most-5.1.0 and most-5.2.0 locally from upstream, and 5.1.0 works while 5.2.0 does not. There's an issue filed on it here https://github.com/jedsoft/most/issues/9 yet none of the fixes work.
|
Somehow related to truecolor support in Slackware
2 Attachment(s)
@jayjwa interesting, it's something about truecolor for sure. Running the command from that GitHub issue (`./x86_64objs/most ../testfiles/truecolor.txt`) in the `most` source gives good color results on Slackware 15.0 (where most 5.2.0 works fine with color), and missing color results on Slackware -current (where most 5.2.0 has no color).
|
All times are GMT -5. The time now is 08:08 PM. |