>"Neal A. Crocker" wrote:
>>
>>  I took siag-3.5.1-1 out for a very brief spin and it seems to work
>>  well except for one thing.  When I tried to get help from within
>  > siag, I got empty Pathetic Writer windows.


>Yes, there is something I need to do about this, but I don't yet quite
>know what. Maybe discussing this with you might help.
>
>Here is how Siag's help works: The help files are in html format, and it
>depends for its display on a web browser. By default it looks for
>netscape (which doesn't exist as far as the command line is concerned)
>and lynx.

How, exactly, does siag's help try to invoke lynx or dillo (i.e. 
what's the form of the command and what info is passed)?  It's 
possible that a one-liner shell script could be used as a 
command-line proxy for a Macintosh browser such as IE or Netscape, 
since such browsers can be instructed at the command line to open 
html documents with comands of the form "open -a some_brower.app 
some_html_doc.html".  Also, if the "open" command is used without the 
"-a some_browser.app" option, then "some_html_doc.html" will be 
opened by whatever handles .html files by default, which is likely 
the person's favorite browser, so maybe the "open" command could be 
used in place of the "lynx" command, assuming that siag doesn't need 
a terminal based browser.

>Since I have lynx installed, it uses lynx on my system. You
>can set the environment variable SIAGHELP to point to another web
>browser. I just tried dillo ("setenv SIAGHELP dillo"), and it works very well.

It's tempting to try "setenv SIAGHELP open".   In fact, when I get a 
moment, I will.

>If it doesn't find netscape or lynx nor anything usable in SIAGHELP, it
>falls back on pw. Pw is not really a web browser (doesn't follow links),
>but at least it should display basic html files correctly. Why it
>doesn't show anything for the help files, I don't know. Some bug
>somewhere. Try  pw /sw/share/doc/siag/common/siaghelp.html

my theory was that pw was instructed to open documents it couldn't 
find, and was therefore opening new documents with the same names as 
help documents.  Before opening each "help" window, it would ask me 
what format to use (.pw, .txt, .html, etc).  However, the file you 
mentioned, /sw/share/doc/siag/common/siaghelp.html, appears to exist 
on my system, so now I'm baffled.

>
>It will show the help-on-help file (very ugly, but readable).
>
>So what you can do right now is:
>- either install lynx. Then siag will use it automatically.
>- or install dillo and "setenv SIAGHELP dillo".
>
>What I can do is
>
>1. either make siag depend on lynx
>2. or make it depend on 'lynx | dillo' and patch the /sw/bin/siaghelp
>script so that it detects dillo when it is installed.
>3. or make siaghelp detect dillo when it is installed and write
>something about needing either lynx or dillo in the DescUsage section of
>the info file
>4. or just write something about the SIAGHELP variable in the DescUsage
>section of the info file. There are probably other usable browsers out
>there besides lynx and dillo. Mozilla doesn't seem to work, though.
>
>Any thought about what to choose?

options 1 and 2 seems the most reliable.


Thanks,
Neal.

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to