Re: Documentation - I see squares
The more(1) pager produces correct results when 8-bit characters are send to the screen. The less(1) pager fails to do so with its default configuration: I used setenv LESSCHARSET latin1 to get around this problem. Ioannis Tambouras [EMAIL PROTECTED], West Palm Beach, Florida Signed pgp-key on key server.
Re: Documentation - I see squares
In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? On the assumption that you ran into some highlighting or underlining markup, then you might try running your documents through a smart pager that's able to do something reasonable with such things. Try this: export MANPAGER=/usr/bin/less (Of course, this only works if you have the 'less' package installed.) If it works for you, then you might want to put this line into your .bashrc or whatever startup script you use. If the problem is that the documents you're looking at are gzip'd then you'll want to read them with zless, by executing, e.g., zless /usr/doc/man/README.gz I don't think that's the problem, less is my PAGER, and I know about zcat. Most of the text is quite readable. The little squares are often where I'd expect an apostrophe to be, and some of the funny codes are B7 for example. It looks like a bit of hex. John F.
Re: Documentation - I see squares
John Foster [EMAIL PROTECTED] writes: In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? On the assumption that you ran into some highlighting or underlining markup, then you might try running your documents through a smart pager that's able to do something reasonable with such things. Try this: export MANPAGER=/usr/bin/less [snip] I don't think that's the problem, less is my PAGER, and I know about zcat. Most of the text is quite readable. The little squares are often where I'd expect an apostrophe to be, and some of the funny codes are B7 for example. It looks like a bit of hex. You're reading an ISO-8859-1 (8-bit) document with `less' in it's 7-bit mode. You can do one of two things -- 1. $ export LC_CTYPE=iso_8859_1 $ less filename 2. $ less -r filename The first is the preferred solution, but requires you to have set up all the locale data correctly. The second just punts the 8-bit char to your display. In either case, your display has to support 8-bit characters, and show them meaningfully. `xterm' can handle it. I haven't checked the console (I'm sitting on a Solaris box right now) - Hari -- Raja R Harinath -- [EMAIL PROTECTED] When all else fails, read the instructions. -- Cahn's Axiom Our policy is, when in doubt, do the right thing. -- Roy L Ash
Re: Documentation - I see squares
It might have to do with striping the 8th bit of a byte before it gets displayed on the terminal. For man, try the -7 option . That might not help you at all, but since the other responses from the list has not fix your problem yet, that is what I would investigate until a better suggestion arrives. Also, you may want to try different fonts, who knows. Or, try different options to /usr/bin/setterm, it might be. And if you find out, please, post the solution. Ioannis Tambouras [EMAIL PROTECTED], West Palm Beach, Florida Signed pgp-key on key server. On Mon, 3 Mar 1997, John Foster wrote: In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? John.
Re: Documentation - I see squares
I don't think that's the problem, less is my PAGER, and I know about zcat. Most of the text is quite readable. The little squares are often where I'd expect an apostrophe to be, and some of the funny codes are B7 for example. It looks like a bit of hex. Try adding export LESSCHARSET='latin1'to your profile. Paul Serice
Re: Documentation - I see squares
On Mon, 3 Mar 1997, John Foster wrote: I don't think that's the problem, less is my PAGER, and I know about zcat. Most of the text is quite readable. The little squares are often where I'd expect an apostrophe to be, and some of the funny codes are B7 for example. It looks like a bit of hex. I think this is related to your font tables. If it's in text mode then you might have changed fonts using one of the font tables in /usr/lib/kbd/consolefonts which lacks a few chars. I saw the same thing on a 486 I setup last week, but neigther my 486 or 6x86 do this. The only thing I can think of is that the 486 had it's font set using setfont while the other two had the font set from the bios with vga=extended in lilo. Jason
Re: Documentation - I see squares
Raja R Harinath [EMAIL PROTECTED] writes: John Foster [EMAIL PROTECTED] writes: [snip] You're reading an ISO-8859-1 (8-bit) document with `less' in it's 7-bit mode. [snip] In either case, your display has to support 8-bit characters, and show them meaningfully. `xterm' can handle it. I haven't checked the console (I'm sitting on a Solaris box right now) In my experience it doesn't always do a wonderful job, since it doesn't have all the characters needed (which might be the original problem, actually). This can be fixed by doing something like: $ setfont -u lat1.uni lat1-16.psf -- Carey Evans * [EMAIL PROTECTED] Linux and Linux-like systems such as UNIX(R) and FreeBSD... - Yggdrasil Computing, [EMAIL PROTECTED]
Fixed == Documentation - I see squares
To refresh, there were strange little squares and odd bits of hex scattered through the manpages. This reply fixed it: I don't think that's the problem, less is my PAGER, and I know about zcat. Most of the text is quite readable. The little squares are often where I'd expect an apostrophe to be, and some of the funny codes are B7 for example. It looks like a bit of hex. Try adding export LESSCHARSET='latin1'to your profile. Paul Serice Thanx to all who replied! John Foster
Re: Documentation - I see squares
| export MANPAGER=/usr/bin/less | | (Of course, this only works if you have the 'less' package installed.) | | If it works for you, then you might want to put this line into your | .bashrc or whatever startup script you use. | | If the problem is that the documents you're looking at are gzip'd then | you'll want to read them with zless, by executing, e.g., | zless /usr/doc/man/README.gz | |I don't think that's the problem, less is my PAGER, and I know about zcat. |Most of the text is quite readable. The little squares are often where I'd |expect an apostrophe to be, and some of the funny codes are B7 for |example. It looks like a bit of hex. You probably have not set your 'LESSCHARSET' environment variable; try either: export LESSCHARSET=latin1 or: setenv LESSCHARSET latin1 -- Ronald van Loon ([EMAIL PROTECTED]) I am waiting as fast as I can! I want patience, and I want it *NOW*! - Bethany J. Parkhurst
Re: Documentation - I see squares
A few manpages are formatted in a style that less doesn't completely clean up. Most seems to handle these a little better. Most detects and unzips gzip'd documents automatically. Bob At 05:50 PM 3/2/97 -0500, Susan G. Kleinmann [EMAIL PROTECTED] wrote: In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? On the assumption that you ran into some highlighting or underlining markup, then you might try running your documents through a smart pager that's able to do something reasonable with such things. Try this: export MANPAGER=/usr/bin/less (Of course, this only works if you have the 'less' package installed.) If it works for you, then you might want to put this line into your .bashrc or whatever startup script you use. If the problem is that the documents you're looking at are gzip'd then you'll want to read them with zless, by executing, e.g., zless /usr/doc/man/README.gz Hope that helps. Susan Kleinmann
Documentation - I see squares
In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? John.
Re: Documentation - I see squares
In a lot of man pages, and some of the documentation in /usr/doc there are there little squares or cryptic $%^ thingees. I guess that there's something I've missed somewhere... What have/haven't I done? On the assumption that you ran into some highlighting or underlining markup, then you might try running your documents through a smart pager that's able to do something reasonable with such things. Try this: export MANPAGER=/usr/bin/less (Of course, this only works if you have the 'less' package installed.) If it works for you, then you might want to put this line into your .bashrc or whatever startup script you use. If the problem is that the documents you're looking at are gzip'd then you'll want to read them with zless, by executing, e.g., zless /usr/doc/man/README.gz Hope that helps. Susan Kleinmann