Re: [newbie] How to change font setting for man pages

2004-02-12 Thread Wojciech Podgrni
Olivier Esser wrote:

Wojciech Podgrni wrote:

Olivier Esser wrote:

Wojciech Podgrni wrote:

Hi everyone,
I have been searching for the answer of this question for a some 
time and I staill cannot find the answer: how do you change font 
setting for man pages to ISO8859-2 coding?
TIA
Wojciech Podgrni




Where are you reading the man pages. You have to change to encoding 
of the terminal in which you read your man pages. This depend of the 
terminal you are using. You can try to change the encoding globally 
by lauching localedrake

Olivier Esser


I apologise for being imprecise. It looks like my problem is that man 
pager (or the program preprocessing man texts) is wrongly formatting 
Polish man pages and changing native letters to a mess like 9|  
instead of ?, c instead of ?, etc. I was hoping to find such 
settings in man.config to allow me to alter this behavour (because I 
cannot even read fast this thing). No success so far. And this 
behavour appears REGARDLESS of using CLI or terminal (or printed in 
PDF file). Changing the font used in terminal won't help. Even using 
localedrake won't fix it. I guess it must be something with man 
preprocessing settings (but I'm no expert here).
Desperately looking for a help,
Wojciech Podgrni


I am not sure I can help you, but first try to lauch the following 
command

xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-2

I tried. It didn't help.

and try to read a man page; if it display correctly this is a termianl 
problem: you should probably edit ~/.18n and have all locale (or at 
least LC_CTYPE) set to be something like:

LC_CTYPE=fr_FR.ISO-8859-2
I tried that on global settings. Do I have to restart my system to have 
it work? Because a quick try didn't work.



You should replace the fr_FR by the polish code (which I don't know, 
maybe you can change only the LC_CTYPE as mentioned above)

otherwise try to localize the source of the man page: these are in 
/usr/share/man/. and try to see what encoding they have 
(decompress them in order to read them) maybe try to open these in a 
hexadecimal text editor. Are you sure they are written in ISO-8859-2 ?

I have tried that. And the results are weird. I copied Polish version of 
man.1.bz2 to my home folder, upacked it. Opened it with less and 
oowriter and gedit and kwrite. It really IS coded with ISO-8859-2 (or at 
least viewer and all these editors have no problems with Polish letters 
here). I tried to see the content in the compressed file (used 
file-roller and vi) - the same results. When I view compressed man pages 
with mc, I see good Polish letters - and my mc is definitely set to 
ISO-8859-2.
I tried to use man2html and got a page viewable well on lynx but a mess 
on the other, more modern web browsers.
Conclusions:
1. Something must be wrong with my man preformatting settings.
2. man2html on my computer creates lynx (and nothing else)-compatible 
web pages.
3. It looks like if I really want to read Polish man pages, I have to: 
a) change uncompressed man page to html and b) print that page from lynx.

Hoping to having help,

Olivier

Thank you for your help, Olivier. It's the people like you make Linux 
community great.
Wojciech Podgrni


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [newbie] How to change font setting for man pages

2004-02-12 Thread Wojciech Podgrni
Dick Gevers wrote:

On Thu, 12 Feb 2004 13:54:18 +0100, Wojciech Podgrni wrote about Re:
[newbie] How to change font setting for man pages:
I have been searching for the answer of this question for a some
time and I staill cannot find the answer: how do you change font
setting for man pages to ISO8859-2 coding?
Have you tried to open man pages with Konqueror?

Just type man:appname in the location bar and it will show up. After 
that -
if not satisfactory - you could try changing the settings of Konqueror to
those you need.

HTH
Regards,
=Dick Gevers=
Thank you, it works perfectly.
It looks like my problem is solved! :) :)
Wojciech Podgrni


smime.p7s
Description: S/MIME Cryptographic Signature


[newbie] How to change font setting for man pages

2004-02-11 Thread Wojciech Podgrni
Hi everyone,
I have been searching for the answer of this question for a some time 
and I staill cannot find the answer: how do you change font setting for 
man pages to ISO8859-2 coding?
TIA
Wojciech Podgrni


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [newbie] How to change font setting for man pages

2004-02-11 Thread Olivier Esser
Wojciech Podgrni wrote:
Hi everyone,
I have been searching for the answer of this question for a some time 
and I staill cannot find the answer: how do you change font setting for 
man pages to ISO8859-2 coding?
TIA
Wojciech Podgrni
Where are you reading the man pages. You have to change to encoding of 
the terminal in which you read your man pages. This depend of the 
terminal you are using. You can try to change the encoding globally by 
lauching localedrake

Olivier Esser


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to change font setting for man pages

2004-02-11 Thread Wojciech Podgrni
Olivier Esser wrote:

Wojciech Podgrni wrote:

Hi everyone,
I have been searching for the answer of this question for a some time 
and I staill cannot find the answer: how do you change font setting 
for man pages to ISO8859-2 coding?
TIA
Wojciech Podgrni


Where are you reading the man pages. You have to change to encoding of 
the terminal in which you read your man pages. This depend of the 
terminal you are using. You can try to change the encoding globally by 
lauching localedrake

Olivier Esser


I apologise for being imprecise. It looks like my problem is that man 
pager (or the program preprocessing man texts) is wrongly formatting 
Polish man pages and changing native letters to a mess like 9|  
instead of , c instead of , etc. I was hoping to find such 
settings in man.config to allow me to alter this behavour (because I 
cannot even read fast this thing). No success so far. And this behavour 
appears REGARDLESS of using CLI or terminal (or printed in PDF file). 
Changing the font used in terminal won't help. Even using localedrake 
won't fix it. I guess it must be something with man preprocessing 
settings (but I'm no expert here).
Desperately looking for a help,
Wojciech Podgrni


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [newbie] How to change font setting for man pages

2004-02-11 Thread Olivier Esser
Wojciech Podgórni wrote:
Olivier Esser wrote:

Wojciech Podgórni wrote:

Hi everyone,
I have been searching for the answer of this question for a some time 
and I staill cannot find the answer: how do you change font setting 
for man pages to ISO8859-2 coding?
TIA
Wojciech Podgórni


Where are you reading the man pages. You have to change to encoding of 
the terminal in which you read your man pages. This depend of the 
terminal you are using. You can try to change the encoding globally by 
lauching localedrake

Olivier Esser


I apologise for being imprecise. It looks like my problem is that man 
pager (or the program preprocessing man texts) is wrongly formatting 
Polish man pages and changing native letters to a mess like 9|  
instead of ¶, c instead of ¿, etc. I was hoping to find such 
settings in man.config to allow me to alter this behavour (because I 
cannot even read fast this thing). No success so far. And this behavour 
appears REGARDLESS of using CLI or terminal (or printed in PDF file). 
Changing the font used in terminal won't help. Even using localedrake 
won't fix it. I guess it must be something with man preprocessing 
settings (but I'm no expert here).
Desperately looking for a help,
Wojciech Podgórni
I am not sure I can help you, but first try to lauch the following command

xterm -fn -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-2

and try to read a man page; if it display correctly this is a termianl 
problem: you should probably edit ~/.18n and have all locale (or at 
least LC_CTYPE) set to be something like:

LC_CTYPE=fr_FR.ISO-8859-2

You should replace the fr_FR by the polish code (which I don't know, 
maybe you can change only the LC_CTYPE as mentioned above)

otherwise try to localize the source of the man page:  these are in 
/usr/share/man/. and try to see what encoding they have 
(decompress them in order to read them) maybe try to open these in a 
hexadecimal text editor. Are you sure they are written in ISO-8859-2 ?

Hoping to having help,

Olivier


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com