Mail Archives: djgpp/2000/01/08/13:25:59
Jeff Williams wrote:
>
> [1] It appears that INFOPATH must be a semicolon-separated directory
> list; a colon-delimited list does not work---even in bash, even with
> PATH_SEPARATOR=:
This is correct. Since DOS/Windows use a colon as part of absolute
file names, it cannot be used for a separator in INFOPATH. You must
use a semi-colon. PATH_SEPARATOR=: only affects the handling of PATH,
and only Bash knows about PATH_SEPARATOR.
> Would/should/could I expect that a colon-delimited INFOPATH is
> somehow/someday possible?
What for? All DJGPP ports (and native DOS/Windows programs) always
use a semi-colon in directory lists modeled after PATH. DOS is not
Unix, no matter how well does DJGPP succeed to conceal that ;-).
> export INFOPATH='.;/gnuplot;/nasm/docs;' does not work
> % info gnuplot
> info: dir: No such file or directory (ENOENT)
That's because DJGPP.ENV appends its own default value to what you put
into INFOPATH, so the doubled semi-colon ends up not being at the end
anymore, and instead passes to Info an invalid value of INFOPATH, one
with two semi-colons in a row.
Since DJGPP.ENV already appends the list of the default directories to
what you set INFOPATH to, I don't see any need to use this feature of
Info. But if you can explain why do you need it, I could try to think
about possible work-arounds.
- Raw text -