kbox4 / source

The builds scripts and packages that build everything in the KBOX distribution
29 stars 10 forks source link

man pages are not formatted properly #3

Open kevinboone opened 7 years ago

kevinboone commented 7 years ago

man pages are not formatted properly by groff -- there are a bunch of terminal codes in the page. I don't think the problem is with groff itself, because I tested that it can format man page text correctly on the command line. Rather, I think the problem is in the way that busybox man.c formats man pages

giuliolunati commented 7 years ago

Noticed similar problem with git log. Maybe a terminal config issue...

2017-05-20 9:38 GMT+02:00 Kevin Boone notifications@github.com:

man pages are not formatted properly by groff -- there are a bunch of terminal codes in the page. I don't think the problem is with groff itself, because I tested that it can format man page text correctly on the command line. Rather, I think the problem is in the way that busybox man.c formats man pages

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kbox4/source/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYuM0chQpHMs72WqbXo4h_e2sGaLg8sks5r7phmgaJpZM4NhOMt .

preserved commented 5 years ago

I found that exporting GROFF_NO_SGR=1 by listing in /etc/profile takes care of this problem. I'm running kbox4 on a Samsung SM-G550T with Android 6.0.1.