Linux help/documentation easy to use library

Tag: linux , chm , winhelp Author: abcguo Date: 2013-09-22

The question is pretty hard to search in search engines. All the time I try, only links to some Linux libraries documentation are found.

I am actually looking for something else - some library in Linux that to provide help files browsing API, like in WinHelp or MS HTML help . The idea is to have the help in some common format - html or something (and why not .chm), and to be able to call this library in order to display some topic of the help file.

The API must provide search in the help files by keywords or topic names. It will be a great if the Windows help files (.hlp or .chm) can be converted to this system formats.

I know there are man pages in Linux. But they are not suitable for my needs. Only GUI based systems please.

Best Answer

Lazarus (Lazarus.freepascal.org) has an own CHM viewer for *nix that is instrumented over a IPC class. (the IPC is abstracted, and exact IPC means used might vary with OS)

I assume it wouldn't be too hard to instrument this. The html widget in the viewer is quite basic though.

An CHM compiler is also included (chmcmd) in the Lazarus/Free Pascal distribution.