[Lazarus] Building help files: the nitty-gritty

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue Jul 17 12:06:45 CEST 2012

Reinier Olislagers wrote:

> Ok, this would mean the xdg-open tools don't allow context-sensitive
> help... and end of discussion on that front as far as LCL application
> help is concerned, I suppose.
> Unless
> a. I'm misinterpreting things
> b. there are other APIs/standards that address this
>>> Finally, quite probably not *all* desktops support this (saw your
>>> "current" up there)... so a fallback mechanism would be needed if others
>>> are supported, too.
>> I agree about the fallback, but the xdg stuff has been in most if not
>> all Linux distreaux for around five years (doesn't appear to be in
>> Solaris 10 which is 5+ years old now, don't have a newer version to
>> check). The important point is that the xdg command lines are
>> standardised, the implementations are platform-specific.
> Given the above this wouldn't really matter anymore, would it?

The only relevance is that this- in my opinion at least- should be the 
primary way that a program tries to locate subsidiary file viewers etc. 
It's the unix answer to ShellOpenEx() (or whataver the Windows API's 
function is).

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list