Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
when I type 'man any_topic> I get misaligned pages, plus some escape chars, such as 7m<80><99>word<7m<80><90>, are not interpreted by the terminal. I run RedHat(enterprise edition 4) with KDE's Konsole. The /etc/man.config file looks good to me (but what do I know?!), and I tried different setting for KDE Konsole to no avail. Plus every line in man displayed with a number, which is not normal plain 'man'. I guess there is some setting somewhere which twists the output. I'd be very thankful to anybody who has ideas.
This is the kind of output you would get if you used man with the -t option (or if a setting somewhere in the MAN environment variables is to use that option).
I figured out my problem. The pager used for 'man' is 'less'. I looked at my environment variables and discovered that I have settings for LESSCHARSET='latin1', LESS='-i -N -w -z-4 -g -e -M -X -F -R' coming from my .bashrc file, which I acquired from the WEB while ago without really looking, tweaking and understanding portions which I don't use.
I commented out LESSCHARSET, and LESS and it solved the problem. Little things create huge problems!
(some say if Napoleon didn't have a cold he might have won Waterloo)
Thanks for the tips. Looking at the output of 'man -d some_command' gave me the idea.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.