Subj : GoldEd+ v1.1.5 - not working on Mac
To   : Kai Richter
From : Fermin Sanchez
Date : Tue May 11 2021 07:38 pm


  Hello Kai!

10 May 21 09:00, you wrote to me:


FS>> The problem is that my Fido system runs on a Windows server
FS>> (virtual machine in my basement).
KR> Virtual? That's easy then, setup a virtual *nix machine, move fidonet
KR> from windows to that and you have identical path names on your fido
KR> system and your mac. ;-)

Yes, that would indeed be a possible solution. Part of the problem, however, is this:
<My scripting skills on Windows>
@echo off
for %%I in ("%~dp0\..") do set "base=%%~fI"

TITLE "BinkD"
%base%\binkd\binkd.exe -C %base%\config\binkd.cfg

REM Don't get me started on PowerShell, got about 4th Dan black belt ;-)
</My scripting skills on Windows>

<My scripting skills on *nix>
</My scripting skills on *nix>

FS>> I could probably try to do an automatic conversion, using a
FS>> script, to change the path strings in areas.bbs and areas.gld.
KR> The mappath keyword is designed to do that.

That's what I tried, didn't work. Probably layer 8 problem, then. I'll try to get some verbose logs...

KR> For the remaining configuration it would be possible to split the
KR> config into different segments. Each segment is a small config file.
KR> The small segments are loaded with the include keyword. You could have
KR> each owns "master" config on the machines e.g.

KR> # golded.cfg on the mac machine
KR> include ~/path.mac
KR> include ~/gedcol.cfg
KR> include ~/origins.txt
KR> include ~/makros.cfg
KR> include ~/xlat.cfg
KR> include ~/goldhelp.cfg
KR> include ~/goldkeys.cfg
KR> include ~/goldrand.cfg

KR> # golded.cfg on windows
KR> include c:\path.windows
KR> incluee c:\all.those.others

KR> Or if you prefer the all in one config style then you could use the IF
KR> keyword to select for the operation system.

KR>  IF <dos/os2/386>
KR>         ELIF <dos/os2/386>
KR>         ELSEIF <dos/os2/386>    (same as ELIF)
KR>         ELSE
KR>         ENDIF

Thanks, I'll give this a try!!

Regards
Fermin


... ..............All's fair in love and Tagline assimilation...............
--- GoldED+/W64-MSVC 1.1.5-b20180707
* Origin: 2:301/123  (2:301/123)