You are not logged in.
I don't know when it started but my man pages are not showing properly
here is the output of
man man
first line: 70^h>?C!YNgKvH|wVh{rD_~1Sa"Ct~C=!nR/JL1g$?lnc`O4jX: ; 3%H<@Xs` $
full:https://pastebin.com/8gamewwb
Im using archlinux 5.5.11 kernel bspwm window manager.
same on st,urxvt,xterm.
Sorry for a little information but don't know what to post more.
I tried reinstalling man-db and man-pages.
It is same on every man page that I opened
Last edited by drakula44 (2020-03-28 16:09:40)
Offline
Do you use ttf-inconsolata font for terminal? -> https://bbs.archlinux.org/viewtopic.php?id=254029
Offline
No, I'm using JoyPixels font and I think my man pages are screwed at least 1 month.
Offline
Please post the output from each of the following:
type man
echo $MANPAGER
file /usr/share/man/man1/man.1.gz
zcat /usr/share/man/man1/man.1.gz | head -20
Last edited by Trilby (2020-03-28 12:43:47)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That output has references to modernizr and youtube and what looks like snippets of javascript.
Please post the output of
$ type -a man tbl troff
$ pacman -Qkk groff man-db
$ env
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
type man :
man is /usr/bin/man
tbl is /usr/bin/tbl
troff is /usr/bin/troff
echo $MANPAGER
is empty
file /usr/share/man/man1/man.1.gz
/usr/share/man/man1/man.1.gz: gzip compressed data, max compression, from Unix, original size modulo 2^32 32380
zcat /usr/share/man/man1/man.1.gz | head -20
pacman -Qkk groff man-db
groff: 629 total files, 0 altered files
man-db: 449 total files, 0 altered files
env
Thanks for reply
Offline
That all looks good. The only thing I'm unsure of is all the LESS_TERMCAP_* settings in the environment. If not set properly, they could mangle the display of man pages. To test that, check the output of the following:
man man | head
If this is readable and looks like the top of a man page, then the problem is with less and likely with all those TERMCAP settings.
(EDIT: although this would not explain where the modernizer and js content came from ... but still lets rule out issues with less.)
Last edited by Trilby (2020-03-28 13:26:46)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It looks same as less output I try not setting LESS_TERMCAP_* in mine .profile but change noting
Offline
Hmm, how about `strace man man` output? (it will be long, post to a file sharing site).
(edit: typo)
Last edited by Trilby (2020-03-28 15:11:53)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
He meant "strace"
Sanity check: do you know what "OMZ" is?
Offline
Thank you for helping I quit love debugging but don't know where to start with these.
Offline
There's a bunch of invalid characters.
Can you
env -i man man
?
Offline
Thank you guys I solved it i just reinstall groff and it did it.
Offline
groff: 629 total files, 0 altered files
Partial updates?
Offline
No i dont thik so i always run pacman -Syu and now i just run pacman -S groff
Offline
Seth, he had the correct version number in the paths in the strace output. I'm a bit baffled though. Groff doesn't have any post install scripts, nor can I find any pacman hooks that would be triggered by the reinstall. So how on earth did pacman -Qk report no altered files, yet a reinstall fixed it. I suspect coincidence ... something else changed.
EDIT: or could a corrupted package be possible? Pacman -Qk checks local files against what's in the locally downloaded package or database, right? If the downloaded package was bad, pacman -Qk would not detect a problem.
Last edited by Trilby (2020-03-28 16:28:39)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I had some corrupted packages before and had to run fsck a few times before probably then my package corupted
Offline