User forums > Using Code::Blocks

Man page viewer issue

(1/3) > >>

libfab:
For some reason, Man page viewer  does not work on my Ubuntu 8.04 platform (full upgrade to-date), svr rev 5095 compiled by gcc 4.3.1.

For those who experience the same issue, there's an easy turnaround however:

1) Add a man entry in Environment settings>Help file>Add
reply no to the window dialog (no browsing of help files)

2) fill-in the ... edit windows just below with:
(under gnome)
/usr/bin/gnome-terminal -x /usr/lib/man-db/man  $(keyword)
(under kde)
/usr/bin/konsole -e  /usr/lib/man-db/man  $(keyword)

Another option is to install a man pages directory /dir  containing each entry as a file in .chm or html format:

- for html I use:
/usr/bin/firefox  /dir/$(keyword).html
- for chm I use:
/usr/bin/gnochm  /dir/$(keyword).html

or alternatively:

/usr/bin/kchmviewer /dir/$(keyword).chm

3) Check box "This line ... executed"

Hope this helps, but it would be even sweeter to have it fixed in hard code!
Fab

Ceniza:
OK, so it just doesn't work. Any more information about it? It's a bit too much for me to install Ubuntu 8.04 only to see what's going on :P

libfab:
Here's a screenshot. What kind of info would you like? my man pages are in the usual location (/usr/share/man/man3/ for fopen) and  I also have an .html copy in the same location (made with man2html).

[attachment deleted by admin]

Ceniza:
Could you check in /usr/share/man/man3/ for any files that start by fopen? In my Linux I have one called fopen.3.bz2

Actually, I have /usr/share/man as the path for my man files. Searching fopen returned two matches: fopen.3 and fopen.3p. Just clicked fopen.3 and it works.

What's a bit strange is that your dockable says Man/Html pages viewer, mine only says Man pages viewer. SVN 5081 here.

Maybe someone broke something in revisions 5082 to 5095? I don't see any changes made in that plugin in any of those revisions. Pretty weird stuff indeed.

libfab:
Yes Ceniza, you're right, I have a fopen.3 man file under /usr/share/man/man3
Perhaps it's the recursive algorithm that needs a bit of tweaking?
(Same issue with the fopen.3.html converted page)
Fab

Navigation

[0] Message Index

[#] Next page

Go to full version