The time now is Sat 25 May 2013, 15:55
All times are UTC - 4 |
| Author |
Message |
L18L
Joined: 19 Jun 2010 Posts: 1726 Location: Burghaslach, Germany
|
Posted: Fri 04 Feb 2011, 17:55 Post subject:
Manpages for commands which are in Puppy |
|
usage
e.g. to get the manpage for ls in your default browser type in console:
For commands which are not implemented in puppy
or there is no translation available
you will get the english manpage from the web
just commands which are in puppy
After installation of puppy-manpages_NLS
in /usr/share/man there will be
13 languages: cs de es fr hu it ja ko pl pt ru tr zh_TW
delete which you do not need.
For multilingual puppians:
japanese manpage for ls
turkish manpages for ls
Have fun
edit
cannot upload puppy-manpages_NLS.pet now here, size is 8.7M
edited 2011-02-06
thanks to shinobar puppy-manpages_NLS now is available as pet and as sfs
Last edited by L18L on Sun 06 Feb 2011, 07:39; edited 1 time in total
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2257 Location: Japan
|
Posted: Sun 06 Feb 2011, 07:17 Post subject:
puppy-manpages_NLS |
|
Download:
puppy-manpages_NLS.pet from Large packages
puppy-manpages_NLS.sfs from optional SFS
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1726 Location: Burghaslach, Germany
|
Posted: Mon 07 Feb 2011, 09:37 Post subject:
puppy-manpages_NLS Subject description: installation and browser |
|
Two notes about manpages
1. Installing the .pet directly from browser or by klicking the downloaded .pet this will install manpages in all 13 languages. You can delete the ones you do not need in /usr/share/man or after having downloaded the .pet you can install it by PuppyPackageManager and that will (hopefully) enable you to unfatten.
2. As all manpages have been recoded to UTF-8 make sure your browser has set default encoding to UTF-8. With seamonkey it is: View > Character Encoding > Auto-Detect > Universal.
Last edited by L18L on Sat 12 Feb 2011, 19:11; edited 1 time in total
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1726 Location: Burghaslach, Germany
|
Posted: Sat 12 Feb 2011, 19:11 Post subject:
puppy-manpages NLS Subject description: force browser UTF-8 |
|
Executing in console:
| Code: | cd /root/.mozilla/seamonkey/*.default
echo 'user_pref("intl.charset.default", "UTF-8");' >> user.js
cd - |
After restart of browser UTF-8 will be default and the manpages are displayed correctly.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1726 Location: Burghaslach, Germany
|
Posted: Mon 14 Feb 2011, 16:27 Post subject:
Manpages for commands which are in Puppy Subject description: problem with charset solved |
|
The manpages are formatted for browser by man2html (binary) without any setting of charset now I have made a small fix in the script /usr/bin/pman near line 233
| Code: | #14feb11
sed 's/<\/HEAD><BODY>/<meta http-equiv="Content-Type" content="text\/html; charset=UTF-8" \/><\/HEAD><BODY>/' $TMPFILE > ${TMPFILE}1
mv ${TMPFILE}1 $TMPFILE #14feb11
$HTMLVIEWER $TMPFILE &
#rm -f $TMPFILE
|
Now the manpages should be displayed correctly in every browser
Note: This fix is not yet included in pet and sfs
| Description |
unzip and copy or move to /usr/bin don'#t forget to make it executable
|

Download |
| Filename |
pman.gz |
| Filesize |
4.77 KB |
| Downloaded |
431 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0483s ][ Queries: 13 (0.0073s) ][ GZIP on ] |